Re: Improvements to the startproject template

2022-07-28 Thread Michael
; I have been working for many companies that use Django and I have seen >>>> that each ot them has their own structure of project. >>>> >>>> And usually project is created once per couple of months, so I don't >>>> see advantages of changing project st

Re: Improvements to the startproject template

2022-04-22 Thread Tim Allen
companies that use Django and I have seen >>> that each ot them has their own structure of project. >>> >>> And usually project is created once per couple of months, so I don't see >>> advantages of changing project structure. >>> >>> Regar

Re: Improvements to the startproject template

2022-04-21 Thread Ian Foote
e Django and I have seen >> that each ot them has their own structure of project. >> >> And usually project is created once per couple of months, so I don't see >> advantages of changing project structure. >> >> Regards, >> >> Albert >> >> Te

Re: Improvements to the startproject template

2022-04-21 Thread ome chukwuemeka
use Django and I have seen > that each ot them has their own structure of project. > > And usually project is created once per couple of months, so I don't see > advantages of changing project structure. > > Regards, > > Albert > > Temat: Re: Improvements to the star

Re: Improvements to the startproject template

2022-04-21 Thread 'Tobias McNulty' via Django developers (Contributions to Django itself)
Tim, Thanks for taking this on! Needless to say, I'm all in favor of including a default 'users' app. Adding one (as has long been recommended by the docs) is a task best automated. I've definitely had the "no the other folder" conversation more than enough times myself. Personally I think I pre

Re: Improvements to the startproject template

2022-04-21 Thread Hazho Human
Great one, my all support for this On Tuesday, 19 April 2022 at 04:02:02 UTC+8 pyt...@ian.feete.org wrote: > Hi Tim, > > This feels like a good idea to me. > > Regards, > Ian > > On Mon, 18 Apr 2022 at 18:17, Tim Allen wrote: > >> Greetings, friends! >> >> I've issued a PR that makes two changes

Re: Improvements to the startproject template

2022-04-21 Thread Albert
per couple of months, so I don't see advantages of changing project structure.Regards,AlbertTemat: Re: Improvements to the startproject template As there are different preferences and some see the change as worse than the default and there is already a way to change the templat

Re: Improvements to the startproject template

2022-04-21 Thread Sandro Covo
As there are different preferences and some see the change as worse than the default and there is already a way to change the template for startproject, wouldn't it be easier to provide different templates and list them in the documentation, so that they can be used with the --template argume

Re: Improvements to the startproject template

2022-04-21 Thread Adrian Torres Justo
I personally dislike Adam's suggestion and feel like it makes it worse than the current default, but to each their own. I do prefer the proposed solution of the config directory, I am working on two django projects in parallel and one follows the proposed config scheme and the other doesn't (us

Re: Improvements to the startproject template

2022-04-20 Thread Arthur Pemberton
For what it's worth, this is the (general) layout I've used for the past 8+ years of my professional Django development. Arthur On Wed, 20 Apr 2022 at 15:22, Olivier Dalang wrote: > +1 for Adam's suggestion, I use it as well and like it very much. > > > root folder > - manage.py > - ...

Re: Improvements to the startproject template

2022-04-20 Thread Hrushikesh Vaidya
+1 for the config option with a custom users app On Thursday, 21 April 2022 at 00:52:53 UTC+5:30 olivier...@gmail.com wrote: > +1 for Adam's suggestion, I use it as well and like it very much. > > > root folder > - manage.py > - ... > > myproject > - __init__.py > - se

Re: Improvements to the startproject template

2022-04-20 Thread Olivier Dalang
+1 for Adam's suggestion, I use it as well and like it very much. > root folder - manage.py - ... > myproject - __init__.py - settings.py - urls.py - ... > myapp - __init__.py - models.py - ... Pros: - everyth

Re: Improvements to the startproject template

2022-04-20 Thread Tom Carrick
I prefer Adam's suggestion in the forum post as it lets you namespace everything under your project name nicely and avoids package name collisions, although it doesn't solve the problem of having two directories with the same name by default. That said, either would be an improvement on what we ha

Re: Improvements to the startproject template

2022-04-20 Thread John M
I do exactly this for every new Django project, so it's +1 from me as well. John On 20/04/2022 12:01, da...@springbourne-tech.com wrote: +1 for me - this would be really useful. On Monday, April 18, 2022 at 9:02:02 PM UTC+1 pyt...@ian.feete.org wrote: Hi Tim, This feels like a good i

Re: Improvements to the startproject template

2022-04-20 Thread da...@springbourne-tech.com
+1 for me - this would be really useful. On Monday, April 18, 2022 at 9:02:02 PM UTC+1 pyt...@ian.feete.org wrote: > Hi Tim, > > This feels like a good idea to me. > > Regards, > Ian > > On Mon, 18 Apr 2022 at 18:17, Tim Allen wrote: > >> Greetings, friends! >> >> I've issued a PR that makes two

Re: Improvements to the startproject template

2022-04-18 Thread Ian Foote
Hi Tim, This feels like a good idea to me. Regards, Ian On Mon, 18 Apr 2022 at 18:17, Tim Allen wrote: > Greetings, friends! > > I've issued a PR that makes two changes to the `startproject` template: > >- instead of putting configuration files such >as `settings.py`, `wsgi.py`, and th

Improvements to the startproject template

2022-04-18 Thread Tim Allen
Greetings, friends! I've issued a PR that makes two changes to the `startproject` template: - instead of putting configuration files such as `settings.py`, `wsgi.py`, and the root `urls.py` in `my_project/my_project`, they are created in `my_project/config` - start the project w