summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2010-11-13Refactored runserver command and moved code related to staticfiles to a ↵Jannis Leidel
subclass that is enabled if staticfiles app is installed. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13Fixed a few typos introduced in r14533.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-13Corrected default value for ADMIN_MEDIA_PREFIX in docs, and added info about ↵Luke Plant
how it integrates with staticfiles. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14551 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-09Fixed #7539, #13067 -- Added on_delete argument to ForeignKey to control ↵Carl Meyer
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09Fixed #14599 -- Added documentation for QuerySet.delete() in the QuerySet ↵Carl Meyer
API reference. Thanks to abeld for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09Fixed #14650 -- noted that underscores are also valid in slug fields. ↵Alex Gaynor
Thanks to stringify for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-08Fixed #14641 - a handful of grammer/typo fixes.Jacob Kaplan-Moss
Thanks, programmerq. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07Fixed #11877 -- Documented that HttpRequest.get_host() fails behind multiple ↵Gabriel Hurley
reverse proxies, and added an example middleware solution. Thanks to Tom Evans for the report, and arnav for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14493 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-11-07Fixed #10904 -- Corrected inappropriate usage of the term "absolute URL" ↵Gabriel Hurley
throughout the docs. Replaced with the (RFC 2396-compliant) terms "absolute path reference" or "absolute path" as appropriate for the context. Thanks to sharan666 for the report, and Malcolm, Chris, and dwillis for their work in supplying a solution and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06Fixed #14600 -- Added a versionchanged directive to the ↵Gabriel Hurley
TEMPLATE_CONTEXT_PROCESSORS setting reference, and added a currentmodule directive to the staticfiles docs so that the crossref targets would point to the right place even with full paths in the staticfiles docs. Thanks to mathijs for the report and suggested text. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04Fixed #6476 -- Added option to makemessages management command to disable ↵Jannis Leidel
wrapping of long lines. Thanks to pytechd for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04Fixed #14318 -- Added `GEOSGeometry.valid_reason` property. Thanks, Rob Coup.Justin Bronn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02Fixed #13567 -- Added a 'silent' argument to the cycle tag, so that you can ↵Russell Keith-Magee
declare a cycle without producing a value in the template. Thanks to anentropic for the suggestion and initial patch, and Łukasz Rekucki for the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-02Fixed #14584 -- Documented settings.PASSWORD_RESET_TIMEOUT_DAYS. Also fixed ↵Gabriel Hurley
some cross-refs in the neighborhood. Thanks to hop for the report and Adam Mckerlie for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-01Fixed #14455 -- Documented the backwards compatibility policy for local ↵Russell Keith-Magee
flavors. Implemented the policy for the changes in the Indonesian local flavor (from r14195) that stimulated the development of this policy. Thanks to Karen, Alex, Ramiro and Chris for their help developing the policy. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-29Fixed #14181 -- Added a template tag and filters to allow localization to be ↵Russell Keith-Magee
disabled in a template. Thanks to Benjamin Wohlwend for the work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-29Fixed #9886 -- Added a file-like interface to HttpRequest. Thanks to Ivan ↵Russell Keith-Magee
Sagalaev for the suggestion and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28Corrected to markup problems with docs added for recent features.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27Edited docs/ref/models/fields.txt change from [14049]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14367 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-25Fixed #14047 -- Updated the CommonMiddleware docs to include sending broken ↵Gabriel Hurley
link email notifications. Thanks to Leon Matthews for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-25Removed obsolete 'date' filter -> 'now' tag link.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24Fixed #13040 -- Added info on where to import File class from to File ↵Gabriel Hurley
reference docs, and improved Sphinx formatting. Thanks to stherrien for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14526 -- Updated wording regarding the minimum Python version ↵Gabriel Hurley
required for GeoDjango. Thanks to PaulM for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14541 -- Corrected an outdated bit of wording in the LANGUAGES ↵Gabriel Hurley
setting docs. Thanks to akelm for the report and suggested fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14537 -- Added documentation on where validators can be imported from ↵Gabriel Hurley
to Validators Reference docs, and improved Sphinx formatting and metadata. Thanks to rfugger for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14545 -- Added ValidationError to Exceptions Reference docs and ↵Gabriel Hurley
improved Sphinx metadata. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14173 -- Added sections about contrib apps-provided commands to ↵Ramiro Morales
django-admin.py docs. Added documentation about changepassword, pointers to GeoDjango, sitemaps and staticfiles commands, grouped them by app. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-23Fixed #14463 -- Fixed links to new location of date/time format specifiers docs.Ramiro Morales
Thanks epicserve for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14325 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-23Fixed a typo in the staticfiles docs.Justin Bronn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20Fixed #14477 -- Corrects several instances of "add" and "remove" m2m_changed ↵Gabriel Hurley
signal actions not having been updated to "pre_add", "post_add", etc. Thanks to slink and andrews for reporting several instances of it, and andrews for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-20Fixed #14493 -- Corrected use of the wrong attribute in the model validation ↵Gabriel Hurley
example pseudo-code. Thanks to wogan for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14300 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-20Modified the implementation of get_object() to be consistent with the ↵Russell Keith-Magee
approach used elsewhere in the API. Also added documentation for get_object() which seems to have been accidentally omitted. This is a BACKWARDS-INCOMPATIBLE CHANGE for anyone depending on the API for get_object() that was introduced (but not documented) in r14254. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-19Fixed #14426 -- Removed "mysite" import statements from examples that might ↵Gabriel Hurley
teach people "bad habits" in regards to creating reusable apps. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Fixed a mistaken link at the top of both class-based-views docs, and a ↵Gabriel Hurley
"content" vs. "context" typo in the topic guide. Thanks to SmileyChris and robhudson for the reports. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Contains several fixes for docs/ref/class-based-views, as follows:Gabriel Hurley
Restored the section headings which duplicate the class directives (removed in [14264]) so that a full table of contents is still generated. Thanks to Jacob for the suggestion. Fixed a handful of typos, and corrected a method directive that was mistakenly labeled as an attribute. Expanded method descriptions for SingleObjectMixin to better explain the default behaviors. Reformatted ProcessFormView docs to be consistent. Added missing description of MultipleObjectMixin.get_paginate_by. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Remove duplicate titles in the class based views documentation and reflow ↵Alex Gaynor
the lines. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Fixed #14489 -- Corrected code example in class-based views docs. Thanks to ↵Russell Keith-Magee
cwhaines for the report. Also includes title capitalization fix, reported by apollo13. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Improvements to examples and markup fixes for class-based view docs.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Fixed #6735 -- Added class-based views.Russell Keith-Magee
This patch is the result of the work of many people, over many years. To try and thank individuals would inevitably lead to many people being left out or forgotten -- so rather than try to give a list that will inevitably be incomplete, I'd like to thank *everybody* who contributed in any way, big or small, with coding, testing, feedback and/or documentation over the multi-year process of getting this into trunk. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15Fixed #14307 -- Added a new crossref target to model field reference docs ↵Gabriel Hurley
and fixed broken relative link in form field reference docs. Thanks to adamv for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15Fixed #14307 -- Linked ChoiceField.choices docs to Field.choices docs to ↵Gabriel Hurley
explain the formatting options available. Thanks to adamv for the report and Russ for the suggested fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15Fixed #14376 -- added docs for previously undocumented Brazilian localflavor ↵Gabriel Hurley
fields. Thanks to henriquebastos for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15Fixed some typos in the documentation that snuck in with [14223].Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-15Fixed #11350 -- added an Israeli localflavor. Thanks to Yuval and Idan ↵Alex Gaynor
Gazit for their work on the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14223 bcc190cf-cafb-0310-a4f2-bffc1f526a37