#34348: Add medium path to the settings.py file from the time the project is
created
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  estuardodev
  estuardodev                        |
                   Type:  New        |         Status:  assigned
  feature                            |
              Component:  File       |        Version:  dev
  uploads/storage                    |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 Currently when creating a new project in the file **settings.py** comes by
 default the **static** path but does not come the average and I feel that
 this is a great disadvantage for those who are starting with the framework
 since the comment that static has indicates which files it can contain:

 {{{
 # Static files (CSS, JavaScript, Images)
 # https://docs.djangoproject.com/en/dev/howto/static-files/

 STATIC_URL = 'static/'
 }}}

 And for the same reason it can generate confusion in new users to save
 .mp4, .mp3, etc.

 What I suggest is that now also when creating the project it appears like
 this:

 {{{
 # Static files (CSS, JavaScript, Images)
 # https://docs.djangoproject.com/en/dev/howto/static-files/

 STATIC_URL = 'static/'

 # Media files (MP4, MP3, GIF)
 # https://docs.djangoproject.com/en/dev/topics/files/

 MEDIA_URL = 'media/'
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34348>
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/01070186608bd678-f5654611-802e-4598-b95d-b7d585139dc0-000000%40eu-central-1.amazonses.com.

Reply via email to