Hi Rohit,
The problem is that you have `urlpatterns = ` (an assignment without value) which is invalid Python code. Either you need to finish the line (add the value that should be assigned to urlpatterns) or add a "\" to mark that the line continues in the line below. (As a last resort, you can remove the file _if you're not using it_, so Django won't try to import it and generate the error).
On Wed, Jul 25, 2018 at 9:10 AM, Rohit Sharma <rohitjupiter@gmail.com> wrote:
I am very new to Django. I have started a project and created my first app but whenever i start editing the app i always get this error. i have attached the screenshot of the error.--please help me out in a simple way.
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/9004ed7c- .6b33-4b06-8a2a-d733e3b14e0f% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
--
Julio Biason, Sofware Engineer
AZION | Deliver. Accelerate. Protect.
Office: +55 51 3083 8101 | Mobile: +55 51 99907 0554
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/CAEM7gE3a2PiU59ARKBtSgOE54jhXAv9bNMuOP6mq8JNi%2BF%3DmhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment