Skip to content
Advertisement

does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import

I got

does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import error .

I wrote in urls.py of child app

JavaScript

in urls.py of parent app,

JavaScript

I am thinking urls.py of child or parent app,but I do not know how to fix it. What should I do?

Advertisement

Answer

Your import is incorrect. The views.py containing login and logout is in the django.contrib.auth app:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement