Alex Gaynor
4a4d7bc27d
Fixed #14771 -- corrected a typo in the testing docs. Thanks to Christian Oudard for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24 19:51:31 +00:00
Gabriel Hurley
3abcd9d3e2
Fixed #14767 -- Reflowed paragraphs and cleaned up some markup/links in the topics/db/optimizations docs. Thanks to adamv for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-24 11:52:15 +00:00
Chris Beaven
8aa2485a58
Fixes #6739 -- better development installation docs. Thanks to Adam Vandenberg for inspiration.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-23 03:54:13 +00:00
Gabriel Hurley
25f3eda3cc
Fixed #14738 -- Improved crossref linking for cache settings, and fixed a few minor typos.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-22 06:15:02 +00:00
Alex Gaynor
274aba3b9b
Fixed #11108 -- added ModelAdmin.delete_model, a hook with which to perform custom pre-post delete behavior. Thanks to Florian Apolloner for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21 19:00:40 +00:00
Honza Král
65b380e74a
Fixed #11418 -- formset.cleaned_data no longer raises AttributeError when is_valid is True. Thanks mlavin!
...
This also introduces a slightly backwards-incompatible change in
FormSet's behavior, see the release docs for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-21 17:27:01 +00:00
Luke Plant
d4c6abcbd1
Documented migration path for change object_list -> ListView regarding different context variables
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 20:38:52 +00:00
Russell Keith-Magee
ece3a7c3c7
Corrected a markup problem with an example in the class-based view docs. Thanks to apollo13 for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 11:33:43 +00:00
Gabriel Hurley
a56e47400f
Fixed #14727 -- Corrected three minor issues in the docs. Thanks to OldTroll for the report and the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 10:49:42 +00:00
Russell Keith-Magee
591ad8afbf
Fixed #14512 -- Added documentation on how to apply decorators to class-based generic views. Thanks to Łukasz Rekucki for his work on the issue.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-20 05:10:13 +00:00
Russell Keith-Magee
99d247f4cb
Fixed #13795 -- Added a site-wide cache prefix and cache versioning. Thanks to bruth for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-19 15:39:35 +00:00
Luke Plant
a205fe9378
Added notes in old generic views howto about the new class based approach.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-18 01:29:41 +00:00
Alex Gaynor
204253ed40
Fixed #14713 -- documented that resolve can raise Http404. Thanks to Adam for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 20:03:15 +00:00
Alex Gaynor
c0248f6f07
Corrected some syntax issues in the docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 16:08:28 +00:00
Jannis Leidel
17b329ae08
Fixed #10004 and #12320 -- Enabled the makemessages management command to 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-17 15:37:33 +00:00
Jannis Leidel
d7ad02ff72
Fixed a bunch of code examples in the form media documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14594 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-17 15:36:58 +00:00
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
Gabriel Hurley
b951ffbc6b
Fixed #14669 -- corrected an ungrammatical sentence in the 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-12 02:48:26 +00:00
Carl Meyer
616b30227d
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 16:46:42 +00:00
Ramiro Morales
7a5c54e9b7
Fixed typo in raw SQL docs example.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-09 05:04:05 +00:00
Ramiro Morales
f90b0f6d69
Completed and enhanced links to database-specific notes from the install docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14491 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 21:42:11 +00:00
Alex Gaynor
c6e64aaa66
Fixed #14636 -- corrected bad formatting in the docs, which was resulting in an invalid link.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 15:21:47 +00:00
Gabriel Hurley
682f4cf9ed
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 09:21:55 +00:00
Gabriel Hurley
1a878f30b0
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14480 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-07 00:56:59 +00:00
Gabriel Hurley
63046ec1ee
Fixed #14624 -- Updated a few outdated references to CacheMiddleware in the 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-06 09:19:53 +00:00
Alex Gaynor
cf03598eec
Fixed #14629 -- corrected a misspelling and poor wording in the docs. Thanks to OldTroll for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-06 03:26:17 +00:00
Alex Gaynor
3d650b4913
Fixed #14619 -- corrected a typo in the email docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 21:09:51 +00:00
Jannis Leidel
05db03c206
Fixed typo in i18n docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 10:48:45 +00:00
Jannis Leidel
83aeb3c768
Fixed #9988 -- Added support for translation contexts. Thanks, Claude Paroz.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-04 10:48:27 +00:00
Alex Gaynor
799a3057cd
Fixed a typo in the class based views docs, thanks to lasko for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 23:32:38 +00:00
Ramiro Morales
429473a522
Fixed #13503 -- Corrected misleading custom permission example in the docs.
...
Thanks Daniel Moisset for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-31 02:34:01 +00:00
Russell Keith-Magee
ccc49029b8
Fixed #14181 -- Added a template tag and filters to allow localization to be 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-29 16:48:58 +00:00
Honza Král
cb17f7ca22
Fixed #14560 -- Enable HEAD requests to be cached properly. Thanks, codemonkey!
...
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-29 01:31:15 +00:00
Gabriel Hurley
9962f352bf
Fixed #14578 -- Corrected a typo in the Models topic docs. Thanks to tobych for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-28 01:55:58 +00:00
Adrian Holovaty
1356947fad
Edited docs/topics/testing.txt change from [14058]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-27 21:50:58 +00:00
Gabriel Hurley
e4c0c377dd
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.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-24 08:52:00 +00:00
Gabriel Hurley
d371142001
Fixed #14537 -- Added documentation on where validators can be imported from 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-23 22:06:01 +00:00
Ramiro Morales
b874549807
Fixed #14173 -- Added sections about contrib apps-provided commands to 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-23 16:37:51 +00:00
Alex Gaynor
cad4feabad
Fixed #14534 -- updated an out of date link in the docs. Thanks to d0ugal 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-22 21:20:00 +00:00
Russell Keith-Magee
a014ee0288
Modified the implementation of get_object() to be consistent with the 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-20 00:21:47 +00:00
Alex Gaynor
27db9378cf
Fixed #10771 -- added support for using the transaction management functions 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-19 19:38:15 +00:00
Gabriel Hurley
7baee5b953
Fixed #14426 -- Removed "mysite" import statements from examples that might 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-19 00:10:22 +00:00
Gabriel Hurley
cb33aa1cc8
Fixed a mistaken link at the top of both class-based-views docs, and a "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-18 23:26:16 +00:00
Gabriel Hurley
4b828a906a
Fixed three super() calls which used the wrong classes in the examples. Thanks to robhudson for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 23:11:14 +00:00
Chris Beaven
c498d2f9b4
PEP8 fix for some class-based views examples. Thanks to Peter Baumgartner for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 22:28:38 +00:00
Gabriel Hurley
b05b8cf091
Small grammar, consistency, and import fixes for the new class-based-views topic guide.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 21:08:50 +00:00
Alex Gaynor
26e8e53cf4
Fixed #14490 -- fixed a typo in the docs. Thanks to gremmie for the report and fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 20:29:53 +00:00
Russell Keith-Magee
a6cafffbf7
Fixed #14489 -- Corrected code example in class-based views docs. Thanks to 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-18 16:35:37 +00:00
Russell Keith-Magee
4cd18ee32d
Improvements to examples and markup fixes for class-based view docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 15:53:31 +00:00
Alex Gaynor
b514957850
Fixed #14488 -- corrected a typo in the docs. Thanks to Frank Wiles for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-18 15:51:18 +00:00