what is the cwd?
On Thu, Jul 6, 2017 at 6:55 PM, Bernard Oosthuizen <bernardoosthuiz@gmail.com> wrote:
Here is my tree view. I think I might as well just work on linux because I am struggling a lot with packages on Windows.├───apps│ ├───checkout│ │ └───__pycache__│ ├───order│ │ ├───migrations│ │ │ └───__pycache__│ │ └───__pycache__│ └───__pycache__├───frobshop│ ├───settings│ │ └───__pycache__│ ├───static│ ├───templates│ │ ├───checkout│ │ └───frobshop│ └───__pycache__└───requirements
On Thursday, July 6, 2017 at 10:03:04 AM UTC+2, Avraham Serour wrote:--The double backslash is probably because you are on WindowsCan you post your directory structure?You may try printing the cwd on settings.py to see what the relative path should beOn Jul 5, 2017 9:10 PM, "Bernard Oosthuizen" <bernard...@gmail.com> wrote:--I am trying to fork one of the apps of django-oscar so that I can customize it. I followed all the instructions on django-oscar docsAll the files are created when I runpython manage.py oscar_fork_app checkout apps/Then I add this to my settings.INSTALLED_APPS = INSTALLED_APPS + get_core_apps(['apps.checkout']) But then I get the following error:ModuleNotFoundError: No module named 'apps\\checkout'I don't know why it adds the double backslash in there. I have tried setting it like this as well:INSTALLED_APPS = INSTALLED_APPS + get_core_apps(['apps\checkout']) Same error.I have also forked the app in different directories but still the same error.Any suggestions?Django version 1.10.7
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b23071c8-fe55 .-41d6-928a-979617c4990b%40goog legroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5dc8143a- .c5eb-4bab-b77e-8d7989d2bf16% 40googlegroups.com
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFWa6t%2Bc-hCNJ%3DJtZP46uLhhmWP8KLCG5AMRws9PqTnVkgWtMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment