#34976: startproject and startapp should provide feedback
-------------------------------------+-------------------------------------
     Reporter:  Thibaud Colas        |                    Owner:  Salvo
         Type:                       |  Polizzi
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Management     |                  Version:  dev
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:  tutorial, command,   |             Triage Stage:  Accepted
  startproject, startapp             |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce):

 Suggestion from #36113, which I like in the `startapp` case:

 > - Provide a log message or output suggesting the exact string to add to
 INSTALLED_APPS, e.g.,:
 > {{{
 > $ user@host: proj % django-admin startapp user apps/dashboard/user
 > App added to following directory : `apps.dashboard.user`
 > To integrate this app with your project, please add the following line
 in your `settings.INSTALLED_APPS`.
 > """
 > INSTALLED_APPS = [
 >     ...,
 >     'apps.dashboard.user.apps.AppsDashboardUserConfig',
 >     ...,
 > ]
 > """
 >
 > $ user@host: proj %
 > }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/34976#comment:18>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070194835e0f96-7c8e1765-fbaf-4b9b-a704-9b1910c63658-000000%40eu-central-1.amazonses.com.

Reply via email to