The included URLconf '<module 'students.urls' from 'C:\\Users\\MUKESH M\\Desktop\\Stock_Prediction_using_ML_Project\\students\\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.
Getting this error on web application end points in vedio no 6.
Hi M Mugash ,
The issue you are facing can happen for several reasons, such as:
- Incorrect
urlpatterns
definition instudents/urls.py
- Circular imports – For example, if
students/views.py
imports something that indirectly importsstudents/urls.py
, it can cause this error. - Missing app registration in
INSTALLED_APPS
– Ensure that the app is added toINSTALLED_APPS
insettings.py
.
Based on the error message, it is likely a circular import issue. Please review the points mentioned above and check if any of these apply to your case.
If you are unable to find or fix the issue, let us know. Also, share a screenshot of the error and provide the updated GitHub repository link so we can assist you further.