1
0
mirror of https://github.com/django/django.git synced 2025-01-11 19:06:26 +00:00
django/docs/topics
Jannis Leidel 33d8fcde8a 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
2010-11-17 15:36:26 +00:00
..
db Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control cascade behavior. Also refactored deletion for efficiency and code clarity. Many thanks to Johannes Dollinger and Michael Glassford for extensive work on the patch, and to Alex Gaynor, Russell Keith-Magee, and Jacob Kaplan-Moss for review. 2010-11-09 16:46:42 +00:00
forms Fixed #14693, #14709 -- Backwards incompatible change to rectify the confusion around the STATICFILES_URL and STATICFILES_ROOT settings. 2010-11-17 15:36:26 +00:00
http Fixed #14426 -- Removed "mysite" import statements from examples that might teach people "bad habits" in regards to creating reusable apps. 2010-10-19 00:10:22 +00:00
i18n Fixed #14669 -- corrected an ungrammatical sentence in the internationalization docs. Thanks to steveire for the report. 2010-11-12 02:48:26 +00:00
auth.txt Fixed #8325 -- Reorganization and expansion of the login_required decorator docs to make it clearer how the redirect_field_name parameter works and improve the overall flow of the text. Thanks to Robert Reeves for the report. 2010-11-07 00:56:59 +00:00
cache.txt Fixed #14560 -- Enable HEAD requests to be cached properly. Thanks, codemonkey! 2010-10-29 01:31:15 +00:00
class-based-views.txt Fixed a typo in the class based views docs, thanks to lasko for the report. 2010-10-31 23:32:38 +00:00
conditional-view-processing.txt Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. 2010-10-09 08:12:50 +00:00
email.txt Fixed #14619 -- corrected a typo in the email docs. 2010-11-04 21:09:51 +00:00
files.txt Fixed #14141: docs now use the :doc: construct for links between documents. 2010-08-19 19:27:44 +00:00
generic-views-migration.txt Fixed #6735 -- Added class-based views. 2010-10-18 13:34:47 +00:00
generic-views.txt Fixed #14426 -- Removed "mysite" import statements from examples that might teach people "bad habits" in regards to creating reusable apps. 2010-10-19 00:10:22 +00:00
index.txt Fixed #6735 -- Added class-based views. 2010-10-18 13:34:47 +00:00
install.txt Completed and enhanced links to database-specific notes from the install docs. 2010-11-07 21:42:11 +00:00
logging.txt Fixed #11509 -- Modified usage of "Web" to match our style guide in various documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. 2010-10-09 08:12:50 +00:00
pagination.txt Fixed #14141: docs now use the :doc: construct for links between documents. 2010-08-19 19:27:44 +00:00
serialization.txt Fixed #14141: docs now use the :doc: construct for links between documents. 2010-08-19 19:27:44 +00:00
settings.txt Fixed #13820 -- Started the deprecation process for mod_python. Thanks to Robert Coup for the patch. 2010-08-28 02:40:57 +00:00
signals.txt Fixed #11441 -- Improved signal topic guide, particularly regarding the weak and dispatch_uid parameters to the Signal.connect method. Thanks to Mike_A and sayane for the report, and gremmie for the draft patch. 2010-10-24 08:52:00 +00:00
templates.txt Fixed #12975 -- Moved the docs for contrib.admindocs out of the template docs and into their own reference section, and significantly improved the documentation of what admindocs can do. Thanks to jabapyth for the report, and whiteinge for the patch. 2010-11-07 09:21:55 +00:00
testing.txt Edited docs/topics/testing.txt change from [14058] 2010-10-27 21:50:58 +00:00