Django urls.py error on migration
I get the following error whenever I try to run makemigrations in my Django project
raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
django.core.exceptions.ImproperlyConfigured: The included URLconf '<module 'dashboard.urls' from 'C:\\Users\\EliteBook 840-G1\\Desktop\\ALL FOLDERS\\new things\\Programming projects\\zee-ecommerce\\backend\\dashboard\\urls.py'>' does not appear to have any patterns in it. If you see the 'urlpatterns' variable with valid patterns in the file then the issue is probably caused by a circular import.
Admin
2023-01-24
This error is due to absence of urls.py file in your app. Create one and add a urlpattern to it.
Similar Content
Privacy Policy
By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.