• Jannis Leidel's avatar
    Fixed #14693, #14709 -- Backwards incompatible change to rectify the confusion… · 33d8fcde
    Jannis Leidel yazdı
    Fixed #14693, #14709 -- Backwards incompatible change to rectify the confusion around the STATICFILES_URL and STATICFILES_ROOT settings.
    
      * Two new global settings that will be used by -- **but are not limited to** -- the staticfiles app: STATIC_ROOT and STATIC_URL.
    
      * Moving the 'django.contrib.staticfiles.templatetags.staticfiles' template tag to the core ('django.templatetags.static') and renaming it to 'get_static_prefix'.
    
      * Moving the context processor 'django.contrib.staticfiles.context_processors.staticfiles' to the core ('django.core.context_processors.static') and renaming it to 'static'.
    
      * Paths in media definitions will use STATIC_URL as the prefix if the value is not None, and falls back to the previously used MEDIA_URL.
    
    Thanks again to the community for constructive criticism and Carl and Russ for sanity-inducing discussions on IRC.
    
    git-svn-id: http://code.djangoproject.com/svn/django/trunk@14592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
    33d8fcde
Adı
Son kayıt (commit)
Son güncelleme
..
contrib Loading commit data...
files Loading commit data...
forms Loading commit data...
models Loading commit data...
templates Loading commit data...
authbackends.txt Loading commit data...
class-based-views.txt Loading commit data...
databases.txt Loading commit data...
django-admin.txt Loading commit data...
exceptions.txt Loading commit data...
generic-views.txt Loading commit data...
index.txt Loading commit data...
middleware.txt Loading commit data...
request-response.txt Loading commit data...
settings.txt Loading commit data...
signals.txt Loading commit data...
unicode.txt Loading commit data...
utils.txt Loading commit data...
validators.txt Loading commit data...