#33650: Update startproject template with config directory and custom user model
-------------------------------------+-------------------------------------
               Reporter:  Timothy    |          Owner:  nobody
  Allen                              |
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:  Core       |        Version:  dev
  (Management commands)              |       Keywords:  startproject,
               Severity:  Normal     |  template
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 I propose that we make 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`, use `my_project/config`
 * start the project with a custom User model app, `users`

 Over the years, I've taught or tutored over 100 Djangonauts starting their
 first project. These two pain points came up the most frequently. Having
 to explain and distinguish between two directories with the same name is a
 constant pain point in the teaching process - "cd into my_project ... no,
 the other one!"

 It is sometimes better to show rather than tell, so following our own
 documentation and including a custom User model with the initial project
 template reinforces the best practice that we explicitly point out in the
 documentation.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33650>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070180396fe65d-c03f77c1-dce7-4a9d-82de-46b9a0b47700-000000%40eu-central-1.amazonses.com.

Reply via email to