{{{
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.
* owner: nobody => Faishal Manzar
* status: new => assigned
Old 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.
New description:
Hi!sing `
When ustartapp` command, Django does not create `urls.py` and I found
myself creating this file all the time.
I w''anted to suggest to add this file in `startapp` process, with proper
template like this:
''https://code.djangoproject.com/ticket/34815#{{{
from django.urls import path
urlpatterns = [
]
}}}
Which can be helpful for following practices.
--
Comment:
well i thinks thats a good suggestion, and also i am completely in favor
of it, before start working on this issue i think we should dicuss it in
community forum,
I feel the same issue i think 99% of time when you create a app you create
this file unless the app is very small
So i am assigning it to myself, but will start working after community
discussion
--
Ticket URL: <https://code.djangoproject.com/ticket/34815#comment:1>
Old description:
> Hi!sing `
> When ustartapp` command, Django does not create `urls.py` and I found
> myself creating this file all the time.
> I w''anted to suggest to add this file in `startapp` process, with proper
> template like this:
>
> ''https://code.djangoproject.com/ticket/34815#{{{
> from django.urls import path
>
> urlpatterns = [
>
> ]
> }}}
>
> Which can be helpful for following practices.
New description:
Hi!
When using `startapp` command, Django does not create `urls.py` and I
found myself creating this file all the time.
I w'anted 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#comment:2>
Comment (by Amin Aminian):
Replying to [comment:1 Faishal Manzar]:
> well i thinks thats a good suggestion, and also i am completely in
favor of it, before start working on this issue i think we should dicuss
it in community forum,
> I feel the same issue i think 99% of time when you create a app you
create this file unless the app is very small
>
> So i am assigning it to myself, but will start working after community
discussion
Thanks for your comment Faishal.
But I am totally willing to do this issue by myself (after community
discussion) and have a contribution, it would be my honor.
Is it possible ?
--
Ticket URL: <https://code.djangoproject.com/ticket/34815#comment:3>
* status: assigned => closed
* resolution: => duplicate
Comment:
This was discussed and rejected multiple times. Duplicate of #25943.
--
Ticket URL: <https://code.djangoproject.com/ticket/34815#comment:4>
Comment (by Faishal Manzar):
yes of course
--
Ticket URL: <https://code.djangoproject.com/ticket/34815#comment:5>