summaryrefslogtreecommitdiff
path: root/docs/howto
AgeCommit message (Collapse)Author
2012-03-14[1.3.X] Updated some outdated external URLs in docs.Claude Paroz
Backport of r17710 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-19[1.3.X] Fixed #17166 -- Documented how FIXTURE_DIRS works in the inital data ↵Aymeric Augustin
how-to, and edited related bits in the settings reference. Backport of r17558 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-04[1.3.X] Clarified deployment docs to avoid giving users the impression that ↵Carl Meyer
staticfiles should be used to actually serve files in production. Backport of r17338 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-27[1.3.X] Fixed #17123 -- corrected the path to admin static assets in 1.3 ↵Carl Meyer
docs. Thanks glarrain for the report. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@17044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-07-01[1.3.X] Fixed #15974 -- Correctly link to static files handling in ↵Jannis Leidel
deployment docs. Thanks, RogueBean. Backport from trunk (r16491). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16492 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-16[1.3.X] Fixed #16273 -- Fixed typo in staticfiles docs. Thanks, BernhardEssl.Jannis Leidel
Backport from trunk (r16407). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-29[1.3.X] Fixed #15992 -- Added more references to settings. Thanks, aaugustin.Jannis Leidel
Backport from trunk (r16290). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-19[1.3.X] Fixed small typos in staticfiles howto document.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-18[1.3.X] Fixed #15983 and #16032 -- Another pass over the staticfiles docs. ↵Jannis Leidel
Many thanks to Frank Wiles and EvilDMP. Backport form trunk (r16235). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13[1.3.X] Fixed #16014 -- numerous documentation typos -- thanks psmith.Simon Meers
Backport of r16220 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-09[1.3.X] Fixed #15989 -- typo in static-files howto. Thanks luizvital.Simon Meers
Backport of r16195 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-30[1.3.X] Fixed small typos in custom template tags docs.Ramiro Morales
Backport of [16126] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-31[1.3.X] Fixed #15681 -- Fixed a documentation error regarding the default ↵Jannis Leidel
value of the STATIC_URL setting. Thanks, Chris Drackett. Backport from trunk (r15913 and r15914). git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@15966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-21Tweaked title level in custom file storage systems documentation.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-17Changed 'raise' statements to new style syntax in documentation. Thanks ↵Ramiro Morales
DaNmarner. Refs #15635. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-15Fixed #15598 -- Updated static URL helper to be no-op on non-local prefixes. ↵Jannis Leidel
Thanks, traff. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27Converted the new contributions docs to unix line endings.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27Fixed #14702 -- Added a "needsinfo" resolution to Trac, and added supporting ↵Gabriel Hurley
documentation on the new resolution and closing tickets in general. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-27Fix typo in staticfiles docs (not ticketed).Simon Meers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-25Fixed #14401 -- Added a contributing howto guide for new users. Thank you to ↵Gabriel Hurley
everyone who added their advice, feedback, and wisdom to the wiki article while constructing this new guide. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-17Fixed #15310 -- Corrected a view path in the static files how to docs. ↵Gabriel Hurley
Thanks to Bradley Ayers for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-16Fixed #15308 -- Sphinx/reST fixes for the Custom Model Fields docs.Gabriel Hurley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14Fixed a couple of documentation typos.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-14Fixes #15270 -- Moved back the serve view to django.views.static due to ↵Jannis Leidel
dependency conflicts with the contrib app staticfiles (reverts parts of r14293). Added a helper function that generates URL patterns for serving static and media files during development. Thanks to Carl for reviewing the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07Fixed #15138 -- Clarified a slightly ambiguous example in the custom ↵Gabriel Hurley
template tag docs. Thanks to elbarto for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-07Fixed #5494, #10765, #14924 -- Modified the order in which translations are ↵Ramiro Morales
read when composing the final translation to offer at runtime. This is slightly backward-incompatible (could result in changed final translations for literals appearing multiple times in different .po files but with different translations). Translations are now read in the following order (from lower to higher priority): For the 'django' gettext domain: * Django translations * INSTALLED_APPS apps translations (with the ones listed first having higher priority) * settings/project path translations (deprecated, see below) * LOCALE_PATHS translations (with the ones listed first having higher priority) For the 'djangojs' gettext domain: * Python modules whose names are passed to the javascript_catalog view * LOCALE_PATHS translations (with the ones listed first having higher priority, previously they weren't included) Also, automatic loading of translations from the 'locale' subdir of the settings/project path is now deprecated. Thanks to vanschelven, vbmendes and an anonymous user for reporting issues, to vanschelven, Claude Paroz and an anonymous contributor for their initial work on fixes and to Jannis Leidel and Claude for review and discussion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-31Some tweaks to the staticfiles docs to clarify things for new users. Thanks ↵Carl Meyer
Jannis and brutasse for review and discussion. * Rearranged 'in a nutshell' usage docs to clarify app-dirs vs STATICFILES_DIRS, initially focus on the simplest path to working local dev, and remove the need for repetitive 'you don't need this in local dev' notes. * Added docs on using staticfiles serve view for non-staticfiles (e.g. user-uploaded files). git-svn-id: http://code.djangoproject.com/svn/django/trunk@15380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30Fixed typo in staticfiles documentation introduced in [15369]. Thanks, harijay.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-30Reworded parts of the staticfiles documentation after receiving various user ↵Jannis Leidel
feedback. Thanks, all! git-svn-id: http://code.djangoproject.com/svn/django/trunk@15369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-18Refs #14661 -- Clarified the handling of initial data injected via custom SQL.Russell Keith-Magee
This is BACKWARDS INCOMPATIBLE CHANGE for anyone relying on SQL-injected initial data in a test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-16Fixed #15080 - Add -v0 to collectstatic fabric example. Thanks hvdklauw.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03Fixed #10078 - Document use of locales in management commands. Thanks ↵Timo Graham
gregoire for the suggestion and ramiro for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-03Fixed #15002 - Fix title casing to conform to style guidelines. thanks adamv.Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-30Fixed #13912 - Fixed AliasMatch regex in modwsgi docs. Thanks SmileyChris ↵Timo Graham
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-29Fixed #14277 - Clarify path names in modwsgi docs; thanks neitpiet for the ↵Timo Graham
report, elbarto for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-26Fixed #14000 - remove versionadded/changed tags for Django 1.0 and 1.1Timo Graham
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21Fixed #14910 -- Clarified the order of precedence of loading translation ↵Jannis Leidel
catalogues. Thanks, vanschelven. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19Fixed #14908 -- Added a 'takes_context' argument to simple_tag. Thanks to ↵Russell Keith-Magee
Julien Phalip for driving the issue and providing the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-29Fixed #14777 -- Added docs on working around the Python CSV module's lack of ↵Gabriel Hurley
Unicode support. Thanks to adamv for the report and draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-22Clarified a comment in the mod_python docs on the status of the handler. ↵Russell Keith-Magee
Thanks to mattmcc for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17Fixed #14693, #14709 -- Backwards incompatible change to rectify the ↵Jannis Leidel
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-16Added info about using logging to the 'Error reporting' howto.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-16Corrected 'email' to 'e-mail' in error reporting docs.Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11Reverted deprecation of media context processor (from r14293) to separate ↵Jannis Leidel
static files and media files a bit more. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-11Fixed #14524, #14582, #14617, #14665 and #14667 -- Tweaked staticfiles app.Jannis Leidel
* Updated StaticFilesHandler and AdminMediaHandler to make use of the 404 handler if needed. * Updated runserver management command to serve static files only in DEBUG mode (or if specified the --insecure option) and if the staticfiles app is in INSTALLED_APPS. Also added an option to disable serving completely (--nostatic). * Added check in debug mode if STATICFILES_* settings are different to MEDIA_* settings. * Removed a faulty PendingDeprecationWarning in AdminMediaHandler that is triggered every time runserver is used. * Fixed an issue with the modification time checks when running collectstatic. * Extended and refined documentation. Thanks to everyone for input, especially to Carl Meyer, Ted Kaemming and Adam Vandenberg for patches. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07Fixed #12975 -- Moved the docs for contrib.admindocs out of the template ↵Gabriel Hurley
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27Documented options accepted by the runfcgi management command.Ramiro Morales
Also, modified our custom management command option docs xref parser to also process those without a ``--`` prefix. -- Refs #14398. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-26Fixed #14562 -- corrected a typo in the static-files howto. Thanks to ↵Gabriel Hurley
stephaner for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-26Replace an incorrect reference to collectmedia in the docs (the command is ↵Chris Beaven
collectstatic) git-svn-id: http://code.djangoproject.com/svn/django/trunk@14354 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25Fixed #10545 -- Mentioned that template context variables are scoped to the ↵Gabriel Hurley
block in which they're assigned. Thanks to yaniv.haber for the report and timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14350 bcc190cf-cafb-0310-a4f2-bffc1f526a37