[Django] #35113: Adding urls.py file while creating new app using startapp command

11 views
Skip to first unread message

Django

unread,
Jan 15, 2024, 1:47:59 AM1/15/24
to django-...@googlegroups.com
#35113: Adding urls.py file while creating new app using startapp command
-----------------------------------------+-----------------------------
Reporter: UttamVelani | Owner: UttamVelani
Type: New feature | Status: assigned
Component: Uncategorized | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+-----------------------------
I have been using Django since 6 years and one thing which has always
bothered me is just after creating new app I have to create new urls.py
file and write imports for it.

So, I am suggesting that urls.py should be autogenerated along with other
files. This will reduce the small effort of creating new urls.py file and
adding imports.

--
Ticket URL: <https://code.djangoproject.com/ticket/35113>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jan 15, 2024, 2:32:55 AM1/15/24
to django-...@googlegroups.com
#35113: Adding urls.py file while creating new app using startapp command
-------------------------------------+-------------------------------------
Reporter: UttamVelani | Owner:
| UttamVelani
Type: New feature | Status: closed
Component: Core (Management | Version: dev
commands) |
Severity: Normal | Resolution: duplicate

Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* status: assigned => closed
* resolution: => duplicate
* component: Uncategorized => Core (Management commands)


Comment:

Duplicate of #25943.

--
Ticket URL: <https://code.djangoproject.com/ticket/35113#comment:1>

Reply all
Reply to author
Forward
0 new messages