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.

 

message profile
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. 

Add Message

Click on the button below to add a new message to this thread

Tags

#python #django

Thread detail

Satus: Open
Messages: 1Started: 2023-01-24
loading..

DEVMAESTERS

Newsletter

Services

Frontend Development |Backend Development |Full Website Development |Bootstrap Website upgrades | Website Debbugging | Website Hosting & deployment

Contact

Interested in hiring me or collaborating with me on a project, click on any of the links below to get my social media handle

Or contact me via Tel: (+234)-806-225-7480 | Email: abubakarzakari1703@gmail.com

Copywright@devmaesters.com
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.