#13151: If ADMIN_MEDIA_PREFIX is not assigned, things don't work...documentation
should be updated
-----------------------------------------------------+----------------------
Reporter: [email protected] | Owner: nobody
Status: closed | Milestone:
Component: Documentation | Version: 1.1
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-----------------------------------------------------+----------------------
Changes (by kmtracey):
* status: reopened => closed
* resolution: => wontfix
Comment:
That's what a default is: the value that is assigned to a variable if you
don't set the variable to something else. Adding "if it is not set" in the
doc cited above is redundant and odd-sounding (to me).
Personally I think it is unfortunate that the default value for
ADMIN_MEDIA_PREFIX was chosen to be a value that has such high likelihood
of matching what many would most naturally choose for other site media. I
think it is that choice that is responsible for many having been bit by
this. The doc does attempt to warn (and it does a better job than it used
to, if you read a bit in those Google results you point to you will see
that), but given the unfortunate choice of admin default here I don't
think any amount of doc will entirely cure the problem. (And changing the
default is a battle already waged and lost in another ticket -- if it
didn't manage to get done before 1.0, due to concerns about the change
breaking already-running sites, I don't see it happening now.)
--
Ticket URL: <http://code.djangoproject.com/ticket/13151#comment:5>
Django <http://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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.