summaryrefslogtreecommitdiff
path: root/docs/howto
AgeCommit message (Collapse)Author
2011-03-24Fixed #15681 -- Fixed a documentation error regarding the default value of ↵Jannis Leidel
the STATIC_URL setting. Thanks, Chris Drackett. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15913 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
2010-10-24Fixed #14551 -- corrected a type in the remote user auth documentation. ↵Alex Gaynor
Thanks to mag for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14528 and #14538 -- Refined staticfiles documentation. Thanks, ↵Jannis Leidel
gremmie and romaniuk. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20Removes a mistaken note about the static media development helper.Jacob Kaplan-Moss
Turns out that when you write documentation without actually consulting the code you get things wrong. Who knew? Thanks to Waldemar Kornewald for catching my mistake. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20Fixed #14514 -- fixed a typo in the static files docs, thanks to Andy McKay ↵Alex Gaynor
for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20Fixed #12323 and #11582 -- Extended the ability to handle static files. ↵Jannis Leidel
Thanks to all for helping with the original app, the patch, documentation and general support. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19Fixed #7616 -- Added advice on unix socket permissions and umasks to fastcgi ↵Gabriel Hurley
deployment documentation. Thanks to Malcolm Tredinnick for the report and advice, and PaulM and cramm for reviewing the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #12369 -- Improved example to account for environments where cStringIO ↵Gabriel Hurley
is not available. Thanks to rubic for the report and niall for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #11509 -- Modified usage of "Web" to match our style guide in various ↵Russell Keith-Magee
documentation, comments and code. Thanks to timo and Simon Meers for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #5677 -- update modpython stdout documentation. Thanks to Manfred ↵Simon Meers
Wassmann for the report, nickefford for the initial patch and Graham Dumpleton for the expert advice. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08Fixed #14384 -- Updated mod_wsgi docs to match documented best practice. ↵Russell Keith-Magee
Thanks to monokrome for the report and wogan for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01Fixed #14281 -- A few documentation fixes. Thanks, Ramiro and Timo.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12Documented how to manually piece together URLs with get_script_name().Malcolm Tredinnick
Thanks to timo and leovitch for the patch. Fixed #10328. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13772 bcc190cf-cafb-0310-a4f2-bffc1f526a37