Opened 6 months ago
Closed 6 months ago
#35512 closed Bug (invalid)
problem while creating a new application
Reported by: | Kapil Gund | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 5.0 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I installed Django. I created a project using the command
django-admin startproject my-app
In the my-app directory I used
python manage.py startapp this-app
In the this-app directory, I created urls.py. In this urls.py, I am getting the error - Import "django.urls" could not be resolved from so.
What is the error here?
Change History (1)
comment:1 by , 6 months ago
Component: | Uncategorized → Core (Other) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
Hello,
This report seems better suited to be a support request. The best place to get answers to your issue is using any of the user support channels from this link.
Since the goal of this issue tracker is to track issues about Django itself, and your issue seems, at first, to be located in your custom code, I'll be closing this ticket as invalid following the ticket triaging process. If, after debugging, you find out that this is indeed a bug in Django, please re-open with the specific details and please be sure to include a small Django project to reproduce or a failing test case.
Thank you!