Skip to content
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

include app name #5

Open
tomahawk-pilot opened this issue May 14, 2018 · 3 comments
Open

include app name #5

tomahawk-pilot opened this issue May 14, 2018 · 3 comments

Comments

@tomahawk-pilot
Copy link

https://github.com/codingforentrepreneurs/eCommerce/blob/fc97ee8fd094a47aeb47ad7b25cf2d5a04c78fe8/src/ecommerce/urls.py
url(r'^products/',include(('products.urls', 'products'), namespace='products')),
showing error on django 2.0+ without the above change

@RommelTJ
Copy link

As Justin explains in his videos, the course was specifically written for the LTS version of Django (1.11). You can read here for more information and discussion.

@vishalkallem
Copy link

Remove the namespace parameter from the url and try to add

app_name = 'products'

in products->urls.py file.

@shubham1811
Copy link

simply add the
app_name = 'products'
in the url.py of the product before the urlpatterns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants