Opened 13 months ago

Last modified 13 months ago

#34815 closed Cleanup/optimization

urls file in startapp command — at Initial Version

Reported by: Amin Aminian Owned by: nobody
Component: Core (Management commands) Version: 4.2
Severity: Normal Keywords: startapp
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hi!
When using startapp command, Django does not create urls.py and I found myself creating this file all the time.
I wanted to suggest to add this file in startapp process, with proper template like this:

from django.urls import path


urlpatterns = [

]

Which can be helpful for following practices.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top