#34815: urls file in startapp command
-------------------------------------+-------------------------------------
               Reporter:  Amin       |          Owner:  nobody
  Aminian                            |
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:  Core       |        Version:  4.2
  (Management commands)              |
               Severity:  Normal     |       Keywords:  startapp
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 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.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018a6b596647-e8c75a8e-b54a-4a21-abca-3e669122bb9b-000000%40eu-central-1.amazonses.com.

Reply via email to