summaryrefslogtreecommitdiff
path: root/docs/topics
AgeCommit message (Collapse)Author
2010-11-17Fixed #10004 and #12320 -- Enabled the makemessages management command to ↵Jannis Leidel
collect comments for translators that start with the "Translators" keyword. Thanks for the report and patches, martinb and Claude Paroz. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17Fixed a bunch of code examples in the form media documentation.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14594 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-12Fixed #14669 -- corrected an ungrammatical sentence in the ↵Gabriel Hurley
internationalization docs. Thanks to steveire for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14539 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 typo in raw SQL docs example.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07Completed and enhanced links to database-specific notes from the install docs.Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07Fixed #14636 -- corrected bad formatting in the docs, which was resulting in ↵Alex Gaynor
an invalid link. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14486 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 #8325 -- Reorganization and expansion of the login_required decorator ↵Gabriel Hurley
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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06Fixed #14624 -- Updated a few outdated references to CacheMiddleware in the ↵Gabriel Hurley
transactions topic guide. Thanks to quinode for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06Fixed #14629 -- corrected a misspelling and poor wording in the docs. ↵Alex Gaynor
Thanks to OldTroll for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04Fixed #14619 -- corrected a typo in the email docs.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04Fixed typo in i18n docs.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04Fixed #9988 -- Added support for translation contexts. Thanks, Claude Paroz.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31Fixed a typo in the class based views docs, thanks to lasko for the report.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31Fixed #13503 -- Corrected misleading custom permission example in the docs.Ramiro Morales
Thanks Daniel Moisset for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14403 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 #14560 -- Enable HEAD requests to be cached properly. Thanks, codemonkey!Honza Král
Introducing ability to cache HEAD requests and GET requests separately by adding the method to the cache key while preserving the functionality that HEAD requests can use cached reponses generated by a GET request. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28Fixed #14578 -- Corrected a typo in the Models topic docs. Thanks to tobych ↵Gabriel Hurley
for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27Edited docs/topics/testing.txt change from [14058]Adrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24Fixed #11441 -- Improved signal topic guide, particularly regarding the weak ↵Gabriel Hurley
and dispatch_uid parameters to the Signal.connect method. Thanks to Mike_A and sayane for the report, and gremmie for the draft patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14337 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 #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-22Fixed #14534 -- updated an out of date link in the docs. Thanks to d0ugal ↵Alex Gaynor
for the report and Frank Wiles for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14318 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 #10771 -- added support for using the transaction management functions ↵Alex Gaynor
as context managers in Python 2.5 and above. Thanks to Jacob for help with the docs. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14288 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-18Fixed three super() calls which used the wrong classes in the examples. ↵Gabriel Hurley
Thanks to robhudson for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18PEP8 fix for some class-based views examples. Thanks to Peter Baumgartner ↵Chris Beaven
for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Small grammar, consistency, and import fixes for the new class-based-views ↵Gabriel Hurley
topic guide. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18Fixed #14490 -- fixed a typo in the docs. Thanks to gremmie for the report ↵Alex Gaynor
and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14262 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 #14488 -- corrected a typo in the docs. Thanks to Frank Wiles for the ↵Alex Gaynor
patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14255 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-13Correcting a typo and a copy/paste problem in the RequestFactory docs from ↵Gabriel Hurley
[14192]. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Clarified the text and example describing the RequestFactory. Thanks to Alex ↵Russell Keith-Magee
for the feedback. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Fixed #9002 -- Added a RequestFactory. This allows you to create request ↵Russell Keith-Magee
instances so you can unit test views as standalone functions. Thanks to Simon Willison for the suggestion and snippet on which this patch was originally based. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given ↵Alex Gaynor
function executes the correct number of queries. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed a few typos in the unittest2 docs introduced in [14139].Gabriel Hurley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Refs #12991 -- Added extra docs for the unittest2 changes made in r14139.Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft ↵Russell Keith-Magee
patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #14392 -- Changed ModelForm.fields and ModelForm.exclude examples to ↵Gabriel Hurley
use tuples instead of lists since they were used inconsistently throughout the page (it wasn't hurting anything, but consistency is nice). Thanks to lspcity for the report and gruszczy for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #6073 -- Made compilemessages 18n management command reject PO files ↵Ramiro Morales
with BOM. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #10027 -- Makes links to form and field validation (and form reference ↵Gabriel Hurley
docs in general) more readily available from form topic overview. Thanks to john_fries for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10Fixed #12226 -- Deprecated test client Response.template attribute in favor ↵Carl Meyer
of templates attribute, which is always a list. Thanks Russell for patch review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixes #13538 -- Clarified query examples with more explicit import ↵Gabriel Hurley
statements and model vs. instance differentiation. Thanks to yipengh87@gmail.com and kmtracey for the report, and timo for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14070 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