3
The application on Django was working normally until I went to put Django-comments, first I installed it with the setup.py that came along, I believe that is what is causing the problem, then I put together the project folder and referenced in Settings.py
So when running the application it is returning:
In line 1: "from Django.conf.urls import Patterns, include, url"
Error: Import: cannot import name Patterns
Django v1.10
Python v2.7.9
How are the Iimports doing?
– Miguel
Refer to this? : from Django.conf.urls import Patterns, include, url
– user3434888
And if you try:
from django.conf.urls import *
– Miguel
urlpatterns = Patterns(', Nameerror: name 'Patterns' is not defined
– user3434888
In this case the same error occurred as the first time
– user3434888
I see documentation and everything looks fine: https://docs.djangoproject.com/es/1.9/ref/urls/
– Miguel