-
Notifications
You must be signed in to change notification settings - Fork 184
"urls doesn't look like a module path" for settings.ROOT_URLCONF #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
the path to your urlconf should be relative to the manage.py file (e.g. the src/
manage.py
src/
settings.py
wsgi.py
urls.py then your this is a standard Django setting and is the default path generated by the I hope this answers your question. |
I have to note that it's not a "standard", but a "default", as there's an option to provide a template for
So, I'm researching this at the moment, as I've got urls in the same place as manage.py file :) |
looks like this works (in api_docs.py):
|
pullrequest #73 |
@andrewyoung1991 Does #73 solve the problem for you too? |
works for me. |
Great! Let's merge it in! |
Thanks for all the work on this boys 👯 |
@ckcollab @ambivalentno Version 0.0.9 is now on PyPI 👏 |
Heyoo, thanks so much for releasing this!
I seem to be having a problem based on this setting:
ROOT_URLCONF = 'urls'
Changing to this works:
ROOT_URLCONF = 'src.urls'
The text was updated successfully, but these errors were encountered: