Karen Tracey
6e75ee2b32
Added versionadded marker in doc for render function.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 04:12:32 +00:00
Karen Tracey
b1f6a4d66f
Fixed #10154 : Allow combining F expressions with timedelta values.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-22 03:34:04 +00:00
Jannis Leidel
745c255a19
Fixed #14249 -- Added support for inactive users to the auth backend system. Thanks, Harro van der Klauw.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 19:18:12 +00:00
Russell Keith-Magee
b3d2091681
Fixed #12816 -- Added a render() shortcut.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 17:18:41 +00:00
Russell Keith-Magee
673e6fc7fb
Fixed #11675 -- Added support for the PyLibMC cache library. In order to support this, and clean up some other 1.3 caching additions, this patch also includes some changes to the way caches are defined. This means you can now have multiple caches, in the same way you have multiple databases. A huge thanks to Jacob Burch for the work on the PyLibMC backend, and to Jannis for his work on the cache definition changes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 15:19:19 +00:00
Jannis Leidel
b224b05304
Fixed #14910 -- Clarified the order of precedence of loading translation catalogues. Thanks, vanschelven.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14998 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 14:57:57 +00:00
Russell Keith-Magee
e299ac0cae
Reverting r14994 (at request of SmileyChris) because of some backwards compatibility issues that need to be resolved.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 06:05:40 +00:00
Chris Beaven
b60d5df072
Fixes #13252 -- Use the natural key instead of the primary key when serializing
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-21 04:40:08 +00:00
Alex Gaynor
6fc7d829dc
Fixed #14923 -- corrected a typo in the logging documentation. Thanks to David Foerster for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19 19:20:25 +00:00
Russell Keith-Magee
877963f541
Corrected a markup error introduced in r14986.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19 15:01:12 +00:00
Russell Keith-Magee
7adffaeaf6
Fixed #14655 -- Made formsets iterable. This allows a slightly more natural iteration API (`for form in formsets`), and allows you to easily override the form rendering order. Thanks to Kent Hauser for the suggestion and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-19 13:41:43 +00:00
Chris Beaven
3ae9117c46
Fixes #7817 and #9456 .
...
- The include tag now has a 'with' option to include to provide extra context
vairables to the included template.
- The include tag now has an 'only' option to exclude the current context
when rendering the included template.
- The with tag now accepts multiple variable assignments.
- The with, include and blocktrans tags now use a new keyword argument format
for variable assignments (e.g. `{% with foo=1 bar=2 %}`).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 02:50:26 +00:00
Adrian Holovaty
99742d8d73
Fixed it's -> its in multi-db.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-16 22:37:29 +00:00
Timo Graham
dc2a3f8280
Fixed #14848 - change example verbose name to match convention. thanks madisv for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-14 23:43:36 +00:00
Alex Gaynor
68548c3eff
Fixed #14897 -- fixed some synax highlighting in the formset documentation. Thanks to marcusf for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-13 19:37:18 +00:00
Jannis Leidel
9ab85e05e2
Fixed #4030 -- Added ability to translate language names. Thanks to Antti Kaihola and Ramiro Morales for the initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-12 23:02:45 +00:00
Ramiro Morales
c58d25cf8d
Fixed a couple of typos and small errors from r14696 and r14822.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-09 00:26:59 +00:00
Russell Keith-Magee
061a9cad67
Corrected typo in middleware docs. Thanks to matt_c for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-07 14:59:57 +00:00
Russell Keith-Magee
e0dcd7666a
Fixed #12815 -- Added TemplateResponse, a lazy-evaluated Response class. Thanks to Simon Willison for the original idea, and to Mikhail Korobov and Ivan Sagalaev for their assistance, including the draft patch from Mikhail.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-07 13:57:01 +00:00
Russell Keith-Magee
29c4a578af
Fixed #10863 -- Added HTML support to mail_managers() and mail_admins(), and used this to provide more and prettier detail in error emails. Thanks to boxed for the suggestion, and to Rob Hudson and Brodie Rao for their work on the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-06 14:21:51 +00:00
Simon Meers
ffa4badbd8
Fixed #14841 -- added xrefs to topics/db/models. Thanks adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 23:52:23 +00:00
Timo Graham
4800b46746
Fixed #14745 - add links to topics/http/shortucts.txt. thanks adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 16:47:39 +00:00
Gabriel Hurley
2dd594dff4
Fixed #13162 and #11597 -- Improved the file handling documentation: Removed documentation of methods on django.core.files.File that did not exist, added documentation for undocumented methods and attributes that did exist, did a general cleanup of the text and organization, and added more metadata targets. Thanks to amenasse and tyrion.mx for the reports.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 07:35:10 +00:00
Russell Keith-Magee
d53fd71acb
Corrected incomplete and incorrect docs from r14822.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 01:03:39 +00:00
Russell Keith-Magee
b11c21d69a
Fixed #14799 -- Provided a full solution for test database creation order problems.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-05 00:44:34 +00:00
Timo Graham
111ed0195e
Fixed #14120 - Document get() in Making Queries - thanks danielr and adamv for work on the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 22:32:01 +00:00
Timo Graham
76c2c30daf
Fixed #14811 - Add clarifying note to render_to_response - thanks adamv.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 20:20:54 +00:00
Russell Keith-Magee
324658ef26
Fixed #14803 -- Corrected an inconsistency in redirection handling between old-style generic views and class-based views. Thanks to gg for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 11:20:30 +00:00
Simon Meers
174f222b39
Fixed #14764 -- specified that a set is returned by User.get_..._permissions methods. Thanks MostAwesomeDude for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04 00:50:49 +00:00
Luke Plant
300a5b32e6
Updated example login template to be best-practice and use the url tag from 'future'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-02 14:27:03 +00:00
Ramiro Morales
4858a8d9f3
Removed reference to potential exception during template rendering-time from the ungettext() documentation. Exceptions at that point should be considered and reported as a bug.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-01 15:06:25 +00:00
Luke Plant
a77fad23c2
Fixed ReST error in assertNumQueries docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-30 12:46:22 +00:00
Timo Graham
22d4ecb19b
Fixed #14791 - Clarify additional note on save(). Thanks OldTroll.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-28 18:48:55 +00:00
Timo Graham
9d3b3d11f4
Fixed #14785 - fixes to middleware docs - thanks adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 21:58:20 +00:00
Timo Graham
6051a7def1
Fixed #14794 - fix broken link in docs/topics/install.txt - thanks aright for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 21:47:08 +00:00
Timo Graham
60784363cf
Fixed #14789 - remove an unused link from docs/topics/install.txt. thanks adamv for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14727 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:34:14 +00:00
Timo Graham
fd072adf4a
Fixed #14784 - Add links to docs/topics/files.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:27:43 +00:00
Timo Graham
750325505e
Fixed #14783 - Links + style improvements to docs/topics/email.txt. Thanks adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-27 12:19:21 +00:00
Timo Graham
5fc9cbc15b
Fixed #14744 - Add cross-links to docs/topics/http/views.txt. Thanks adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 16:53:38 +00:00
Timo Graham
5dd1276cb8
Fixed #14782 - Add/fix links in docs/topics/cache.txt. Thanks to adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 15:00:19 +00:00
Jannis Leidel
132afbf8ee
Fixed #5612 -- Added login and logout signals to contrib auth app. Thanks SmileyChris and pterk.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 13:33:27 +00:00
Russell Keith-Magee
78be884ea7
Fixed #3304 -- Added support for HTTPOnly cookies. Thanks to arvin for the suggestion, and rodolfo for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 13:30:50 +00:00
Timo Graham
ba21814583
Fixes #14743 - Add sphinx links and other cleanups to topics/http/urls.txt. Thanks adamv for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14705 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-11-26 13:01:56 +00:00
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
Russell Keith-Magee
0fcb094557
Fixed #6735 -- Added class-based views.
...
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-18 13:34:47 +00:00
Gabriel Hurley
3321171952
Correcting a typo and a copy/paste problem in the RequestFactory docs from [14192].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-13 11:29:18 +00:00
Russell Keith-Magee
98dd10e62d
Clarified the text and example describing the RequestFactory. Thanks to Alex for the feedback.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 23:55:38 +00:00
Russell Keith-Magee
eec45e8b71
Fixed #9002 -- Added a RequestFactory. This allows you to create request 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-12 23:37:47 +00:00
Alex Gaynor
5506653b77
Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given 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-12 03:33:19 +00:00
Gabriel Hurley
f85f79eb4a
Fixed a few typos in the unittest2 docs introduced in [14139].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 19:19:01 +00:00
Russell Keith-Magee
5e319f5194
Refs #12991 -- Added extra docs for the unittest2 changes made in r14139.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11 13:18:00 +00:00
Russell Keith-Magee
121d2e3678
Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft 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-11 12:55:17 +00:00
Gabriel Hurley
548b6c7e69
Fixed #14392 -- Changed ModelForm.fields and ModelForm.exclude examples to 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-10 22:40:54 +00:00
Ramiro Morales
b12c739143
Fixed #6073 -- Made compilemessages 18n management command reject PO files with BOM.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-10 16:38:28 +00:00
Gabriel Hurley
876013dc12
Fixed #10027 -- Makes links to form and field validation (and form reference 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-10 07:08:35 +00:00
Carl Meyer
501546df6f
Fixed #12226 -- Deprecated test client Response.template attribute in favor 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-10 02:16:33 +00:00
Gabriel Hurley
cf9249746a
Fixes #13538 -- Clarified query examples with more explicit import 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-09 08:20:56 +00:00
Russell Keith-Magee
a904e55859
Fixed #11509 -- Modified usage of "Web" to match our style guide in various 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-09 08:12:50 +00:00
Gabriel Hurley
307e71a734
Corrects a typo in [14062]. Thanks to Russ for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:35:46 +00:00
Gabriel Hurley
8e78a309c6
Fixed #13279 -- Made the paths in the Unix install docs more explicit. Thanks to KathyManwaring for the report and stumbles for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 07:27:19 +00:00
Russell Keith-Magee
b7a73cf929
Fixed #14378 -- Made the test client class customizable. Thanks to Ned Batchelder for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09 04:50:47 +00:00
Simon Meers
0f9eb912ff
Fixed #14023 -- include non_field_errors in example. Thanks to konryd for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14041 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 23:32:46 +00:00
Adrian Holovaty
40777cb533
Rewrote 'Test with warnings enabled' section of docs/topics/testing.txt from [14019] to be clearer
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 20:30:02 +00:00
Russell Keith-Magee
68efb0b0c1
Fixed #14274 -- Added admonition about using -Wall when you run tests. Thanks to Eric Holscher for the suggestion and draft, and to timo for contributions to the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:37:59 +00:00
Russell Keith-Magee
08beb148c8
Fixed #14421 -- Clarified the english in the i18n documentation. Thanks to Ned Batchelder for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 15:36:15 +00:00
Russell Keith-Magee
4d4d68a2cd
Fixed #14225 -- Added a documentation marker (and a 1.2.2 release notes file, required to satisfy Sphinx) for the enable_csrf_checks flag on the test client. Thanks to public@grep.ro for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-08 14:48:04 +00:00
Luke Plant
0aa438a3df
Fixed #7722 - added support for CC in EmailMessage.
...
Thanks to roberto.digirolamo for the report and initial patch, and
dougvanhorn and SmileyChris for further work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-07 23:36:02 +00:00
Russell Keith-Magee
fea159282b
Fixed #14406 -- Added a Python 2.4 compatibility to the logging interface. Thanks to Łukasz Rekucki for the report, and to Luke Plant for original patch this was based on.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-06 15:02:26 +00:00
Russell Keith-Magee
57aeb54279
Fixed #14397 -- Corrected some typos in the logging configuration example. Thanks to hunterford for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-06 14:57:31 +00:00
Russell Keith-Magee
63d960ca25
Refs #14388 -- ... and corrected the naming of a formatter in the sample logging config.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-05 01:44:12 +00:00
Russell Keith-Magee
9e153a31ee
Refs #14388 -- Corrected another spelling erorr.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-05 01:42:20 +00:00
Russell Keith-Magee
240f68e4e5
Fixed #14388 -- Corrected some typos in the logging docs. Thanks to varikin, gremmie, Ramiro Morales and Gabriel Hurley for the reviews.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-05 00:11:41 +00:00
Russell Keith-Magee
24acca4139
Fixed #12012 -- Added support for logging. Thanks to Vinay Sajip for his draft patch, and to the many people who gave feedback during development of the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-04 15:12:39 +00:00
Jannis Leidel
e77f16144b
Fixed #14281 -- A few documentation fixes. Thanks, Ramiro and Timo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-01 02:00:52 +00:00
Luke Plant
89ea98ca56
Fixed #14182 - documented how to modify upload handlers when using CsrfViewMiddleware
...
Thanks to dc for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13960 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-29 16:35:34 +00:00
Malcolm Tredinnick
783656cf5b
Documented the permitted syntax for template variable names.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:08:24 +00:00
Malcolm Tredinnick
767cf13d76
The optimization docs were a little too enthusiastic in recommending
...
defer() and only() usage. Disk access patterns affect when this is a
good idea, so this patch adds a note about the trade-offs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-13 05:08:17 +00:00
Malcolm Tredinnick
4084bc7354
Permit custom from-email address in auth forms email.
...
Patch from cassidy and Rob Hudson. Fixed #11300 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 22:38:01 +00:00
Malcolm Tredinnick
7c075440ea
Add intro-user-level documentation about calling model methods from views.
...
Patch from timo and shacker. Fixed #10903 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 20:34:11 +00:00
Brian Rosner
b7f60045fe
Fixed #9015 -- added a signal decorator for simplifying signal connections
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 19:58:05 +00:00
Malcolm Tredinnick
030c97b119
Documented how to manually piece together URLs with get_script_name().
...
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
2010-09-12 19:44:19 +00:00
Malcolm Tredinnick
fc26da645a
Add warning when using cache keys that might not work with memcached.
...
This means testing with local dev caches (not memcache) will warn
developers if they are introducing inadvertent importabilities. There is
also the ability to silence the warning if a dev is not planning to use
memcache and knows what they are doing with their keys.
Thanks to Carl Meyer for the patch. Fixed #6447 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-12 18:45:26 +00:00
Jannis Leidel
bb00b28399
Added login_url argument to login_required decorator. Thanks mhlakhani and ericflo for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-10 19:38:57 +00:00
Luke Plant
4f4e20be33
Fixed #13853 - line with csrf_token too wide
...
Thanks to alper for report, alper/richardb for patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-07 20:21:50 +00:00
Luke Plant
027aaca37f
Fixed #13754 - Add a note about a test client session property gotcha
...
Thanks SmileyChris for report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-09-03 19:00:43 +00:00
Luke Plant
20fb7c7858
Fixed #13759 - Multi-db docs have an example that isn't syntax highlighting
...
Thanks to Tim Hatch for report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-30 10:24:18 +00:00
Russell Keith-Magee
f611ffaab3
Fixed #13820 -- Started the deprecation process for mod_python. Thanks to Robert Coup for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-28 02:40:57 +00:00
Russell Keith-Magee
11dfbf2f08
Fixed #14168 -- Removed stray argument from docs for assertQuerysetEquals. Thanks to Łukasz Rekucki for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-27 15:16:30 +00:00
Russell Keith-Magee
8ce4a1991a
Fixed #14116 -- Added a flag to enable CSRF checks in the test client. Thanks to jon@licq.org for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-27 13:54:13 +00:00
Russell Keith-Magee
a323fd3c5e
Fixed #14112 -- Various Markup fixes for the docs. Thanks to ramiro for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 08:07:35 +00:00
Russell Keith-Magee
5d4c37af7c
Fixed #3051 -- Documented the requirements for standalone testing. Thanks to Daniel Roseman for the draft text.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 07:43:50 +00:00
Russell Keith-Magee
08277e88ac
Fixed #14147 -- Added documentation metadata for new assertQuerysetEqual test method. Thanks to djoume for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-23 07:13:42 +00:00
Russell Keith-Magee
e0387f7abe
Clarified some markup in the discussion of fixture loading in testcases.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-20 07:09:58 +00:00
Jacob Kaplan-Moss
728effcfbd
Fixed #14141 : docs now use the :doc: construct for links between documents.
...
Thanks, Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-19 19:27:44 +00:00
Russell Keith-Magee
810ed2b22b
Fixed #14118 -- Removed a reference to the "Python" serializer.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-16 06:41:48 +00:00
Russell Keith-Magee
0a753297c8
Fixed #10952 -- Corrected the documentation for the behavior of password reset forms and views. Thanks to danielhepper for the report and initial patch, timo for the patch update.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 14:57:44 +00:00
Russell Keith-Magee
50e3aa03e6
Fixed #11735 -- Corrected an example of FormSet subclassing. Thanks to claudep for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 14:56:38 +00:00
Russell Keith-Magee
2dc2ed87e5
Fixed #11800 -- Updated Sphinx metadata in queryset docs. Thanks to timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 14:26:07 +00:00
Russell Keith-Magee
458e3a3ff9
Fixed #13658 -- Added missing command in JavaScript example. Thanks to erikr for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 02:44:38 +00:00
Russell Keith-Magee
92a15532ba
Fixed #13661 -- Corrected example in the serialization docs. Thanks to jabapyth for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 02:44:17 +00:00
Russell Keith-Magee
5dee1066a5
Fixed #13718 -- Corrected typo in model docs. Thanks to gvkalra for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 02:43:35 +00:00
Russell Keith-Magee
14fa3b7e24
Fixed #13594 -- Corrected typo in email docs. Thanks to mostrovsky for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-07 02:42:50 +00:00
Russell Keith-Magee
e0fb90b2f3
Fixed #13922 -- Updated resolve() to support namespaces. Thanks to Nowell Strite for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 07:09:47 +00:00
Russell Keith-Magee
fc374976e5
Fixed #13946 -- Modified the database cache backend to use the database router to determine availability of the cache table. Thanks to tiemonster for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 02:13:32 +00:00
Jacob Kaplan-Moss
099c6b8710
Fixed #13746 : made the dumdata help message a bit clearer. Thanks, PaulM.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-04 19:08:14 +00:00
Luke Plant
9d0b9ad85e
Doc updates missed in [13423]
...
Refs #13880
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13425 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 17:19:52 +00:00
Luke Plant
0f34c3dbf4
Fixed #13880 - added 2.7 to list of supported versions of Python
...
Thanks Alex
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 17:07:50 +00:00
Luke Plant
2cf21d994d
Small corrections/improvements to DB optimization docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-07-05 16:26:12 +00:00
Luke Plant
c724ad9c7d
Fixed error in AnonymousUser docs since [12316]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-06-24 11:10:58 +00:00
Russell Keith-Magee
526a4410d7
Fixed #13634 -- Migrated aggregation tests to use unittest. This removes a flush, which speeds up the tests overall.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-28 11:15:36 +00:00
Russell Keith-Magee
10b5f38593
Fixed #13551 -- Corrected import in ModelForms example. Thanks to libber for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-17 00:27:37 +00:00
Russell Keith-Magee
a193f355a8
Fixed #13532 -- Corrected and clarified examples in F() docs. Thanks to erw for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-14 01:51:14 +00:00
Karen Tracey
8e7d2d2e68
Fixed #13530 : Corrected a handful of doc typos. Thanks Ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 22:53:23 +00:00
Russell Keith-Magee
d0d3e6792d
Fixed #13524 -- Added backwards compatibility and feature notes regarding admin inlines and formsets. Thanks to Ramiro Morales and Gabriel Hurley.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-12 11:56:42 +00:00
Russell Keith-Magee
101571b940
Fixed #11908 -- Clarified the role and usage of the ManagementForm in formsets. Thanks to timo for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 14:07:05 +00:00
Russell Keith-Magee
a44b10dba7
Fixed #12505 -- Clarified the use of the extra argument in formsets. Thanks to Andreas for the report, and timo for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 14:03:11 +00:00
Russell Keith-Magee
b34edc76eb
Fixed #12678 -- Corrected a few references to Queryset into QuerySet. Thanks to ChrisMorgan for the report, and timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 13:14:19 +00:00
Russell Keith-Magee
b82a5b9dd0
Fixed #13158 -- Clarified that OneToOneField is a better option for User profile classes. Thanks to hvdklauw for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 11:38:37 +00:00
Russell Keith-Magee
95fea01041
Fixed #13329 -- Corrected markup problem with URL pattern in generic views docs. Thanks to LaundroMat for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-10 11:37:45 +00:00
Jannis Leidel
c796fc7e36
Fixed #13317 - Clarified documentation about how the blocktrans and trans template tags work with regard to variables. Thanks for the initial patch, Ramiro Morales.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 13:55:15 +00:00
Russell Keith-Magee
9320c866ff
Fixed #13316 -- Added clarifying note about cross-database relations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 07:44:06 +00:00
Russell Keith-Magee
3057a59ec4
Fixed #11933 -- Corrected the naming of the cached_db session backend. Thanks to mb0@mb0.org for the report and Gabriel Hurley for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:44:12 +00:00
Russell Keith-Magee
7b98fe98f4
Fixed #12278 -- Corrected an example usage of string_concat. Thanks to loumz for the report, and timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:42:42 +00:00
Russell Keith-Magee
bae2fa6f5c
Fixed #12412 -- Clarified the documentation around file handling by the test client. Thanks to Gabriel Hurley for the draft patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 06:42:16 +00:00
Russell Keith-Magee
5802ea3bbc
Fixed #13051 -- Corrected the documentation of URL namespacing to match the tested implementation behavior. Thanks to apollo13 for the report, and Gabriel Hurley for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 05:48:06 +00:00
Russell Keith-Magee
3341f39f41
Fixed #13417 -- Clarified the use of the djangojs domain for translation. Thanks to stephaner for the report and initial patch, and Ramiro Morales for his additional markup.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:25:34 +00:00
Russell Keith-Magee
5a2324afb2
Fixed #13418 -- Added notes on uniqueness requirements for natural keys. Thanks to hunajakippo for the suggestion, and Ramiro Morales for the draft text.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:24:58 +00:00
Russell Keith-Magee
663d17897e
Fixed #13497 -- Corrected various typos and markup problems in docs. Thanks to Ramiro Morales for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:23:43 +00:00
Russell Keith-Magee
b626d60240
Fixed #13499 -- Corrected typo in l10n docs. Thanks to selwin for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-09 04:23:00 +00:00
Luke Plant
b09581394e
Added hyperlinks for builtin template tags and filters to code samples in docs.
...
Implemented in javascript because doing it 'properly' is pretty much impossible with Sphinx and Pygments.
Refs #12249
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 14:31:20 +00:00
Russell Keith-Magee
6b1a2a8e44
Fixed #13428 -- Corrected the allow_relation behavior of and example router. Thanks to jcd for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 07:41:22 +00:00
Russell Keith-Magee
e34ca2b1e2
Fixed #13269 -- Added clarifying import statement to widget override docs. Thanks to mattrowbum for the report, and Gabriel Hurley for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 07:32:31 +00:00
Russell Keith-Magee
19826d9910
Fixed #13405 -- Corrected typo from r13105. Thanks to danielr for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 07:31:43 +00:00
Russell Keith-Magee
0e6ff67ba2
Fixed #13471 -- Added example of send_mass_mail usage. Thanks to gtaylor for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-08 07:31:18 +00:00
Luke Plant
533b5c9324
Fixed typo and small formatting mistake in docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-07 00:57:17 +00:00
Russell Keith-Magee
2b05231310
Fixed #8357 -- Clarified what constitutes activity when calculating session expiry. Thanks to timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:35:02 +00:00
Russell Keith-Magee
ee6d5521e9
Fixed #12691 -- Added a versionadded tag to the description of widget overrides in forms. Thanks to danielr for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:19:45 +00:00
Russell Keith-Magee
c21c052cf0
Fixed #13377 -- Corrected markup typo in testing docs. Thanks to DrMeers for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:18:57 +00:00
Russell Keith-Magee
ec1f74a468
Fixed #13405 -- Removed the recommendation for the use of cmemcache. Thanks to danielr for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:18:31 +00:00
Russell Keith-Magee
0f6555bce2
Fixed #13420 -- Clarified grammar in the email docs. Thanks to Dominic Rodger for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-06 01:17:29 +00:00
Russell Keith-Magee
4e0aa65d16
Refs #13339 -- Disable %b/%B-based locale datetime input formats, and document that they are problematic.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-28 11:27:38 +00:00
Luke Plant
f7814cdfe6
Fixed #13035 - Incorrect documentation regarding admin and default managers
...
Thanks to rasca for report and gabrielhurley for patch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-06 11:52:32 +00:00
Luke Plant
671f848dd1
Fixed #13268 - 'ForeignKeyField' in topics/db/queries.txt
...
Thanks piquadrat for report and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-06 10:54:59 +00:00
Justin Bronn
e07570f10e
Fixed #13263 -- Corrected field name typo in queries documentation examples. Thanks, RicherPots for bug report and gabrielhurley for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05 15:57:00 +00:00
Justin Bronn
7cc4046802
Fixed #13271 -- Corrected a typo in the signals documentation. Thanks, chtito.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-05 15:46:44 +00:00
Jannis Leidel
aba95dcc0b
Fixed #13023 - Removed ambiguity with regard to the max_num option of formsets and as a result of admin inlines. Thanks to Gabriel Hurley for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27 23:03:56 +00:00
Gary Wilson Jr
dae7d0ba05
Fixed #13226 -- Corrected typo in authentication docs, thanks rokclimb15.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27 22:21:48 +00:00
Jannis Leidel
ca4c6f65ea
Fixed #13032 - Added localize parameter to form fields to be able to selectively enable localization.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27 16:43:27 +00:00
Gary Wilson Jr
5256a805ff
Fixed #13189 -- Fixed typo in code example, thanks to gabrielhurley for patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-27 00:14:10 +00:00
Justin Bronn
459c71e332
Fixed #12930 , #12832 , #11538 -- Refactored and merged the GeoDjango documentation into the rest of the Django docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-26 20:14:53 +00:00
Russell Keith-Magee
962defed0a
Fixed #13200 -- Updated the DB session backend to make full use of routers, deprecating the need for the SESSION_DB_ALIAS setting. Thanks to rokclimb15 for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-25 10:29:06 +00:00
Karen Tracey
3c59067a4f
Fixed #13120 : Corrected typo in middleware doc. Thanks django@willhardy.com.au.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-16 14:40:03 +00:00
Jannis Leidel
3c06e2101b
Fixed #13014 - Added section about how to use the language code with fragement caching. Thanks for the initial patch, fgutierrez.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-15 12:16:37 +00:00
Jannis Leidel
44390aeb5d
Fixed #13045 - Add USE_L10N to the project skeleton settings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-15 12:16:21 +00:00
Russell Keith-Magee
f74b9aec10
Refs #12767 -- Modified the multi-db docs to remove the implication that contrib.auth can be easily put on a separate database.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-10 12:35:55 +00:00
Russell Keith-Magee
b50a35a669
Fixed #12941 -- Added documentation for the connections dictionary. Thanks to atlithorn@gmail.com for the report, and Alex Gaynor for the original text.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 03:19:26 +00:00
Russell Keith-Magee
abd0e96285
Fixed #13013 -- Added missing {% csrf_token %} in example form.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-08 03:18:58 +00:00
James Bennett
9a67543c3e
Fixed #13048 : Corrected typo in email documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-07 00:51:29 +00:00
Joseph Kocherhans
fa6c967438
Fixed #12896 . Documented the new side-effects of ModelForm validation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-06 19:51:29 +00:00
Jacob Kaplan-Moss
973bf6f485
Fixed #5605 : only lowercase the domain portion of an email address in `UserManager.create_user`.
...
Thanks, Leo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01 20:30:44 +00:00
Jacob Kaplan-Moss
c8015052d9
Fixed #5786 : relaxed the validation for usernames to allow more common characters '@', etc.
...
This is really just a stop-gap until we come up with a improved way of handling
disparate auth data, but it should help us stretch a bit more milage out of the
current system.
Thanks to alextreme, lbruno, and clayg.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01 19:49:05 +00:00
Jannis Leidel
284e7e3cbd
Refined changes made in r12546 to also respect the request.LANGUAGE_CODE in case the LocaleMiddleware is used to discover the language preference.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-01 10:19:01 +00:00
Jannis Leidel
5787925cdb
Fixed #12967 - Added missing versionadded/-changed doc markers for r11964. Thanks, Karen and Ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-26 17:05:52 +00:00
Russell Keith-Magee
6237768b51
Fixed #11933 -- Added versionchanged marker for the cache_db session backend. Thanks to gabrielhurley for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 14:49:38 +00:00
Russell Keith-Magee
de1ff3e51d
Fixed #11782 -- Added some Sphinx metadata to the file uploads documentation. Thanks to timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 13:57:46 +00:00
Russell Keith-Magee
6f9ba54bf5
Fixed #12519 -- Corrected documentation on .raw() queries. Thanks to boralyl for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 13:57:02 +00:00
Russell Keith-Magee
841210b308
Fixed #12880 -- Added some missing sphinx directives for module references. Thanks to psagers for the report, and timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-24 13:55:37 +00:00
Jannis Leidel
2164e138e3
Fixed #5691 - Adds the active language to the cache key. Thanks, Antoni Aloy, Ramiro Morales and Yann Malet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 20:45:28 +00:00
Russell Keith-Magee
f9c8615e1f
Fixed #12799 -- Added an extra newline to help with PDF generation of documentation. Thanks to Ivan Savov for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 13:22:52 +00:00
Russell Keith-Magee
c306b78150
Fixed #12859 -- Clarified the documentation on using multiple tables with .update() calls. Thanks to dwillis for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12515 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 13:20:27 +00:00
Justin Bronn
7ca3e8fecf
Updated patch applied in r12504. Refs #12806 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 06:04:06 +00:00
Justin Bronn
c4699b0b8a
Fixed #12806 -- Added an implementation of `RawQuerySet.__getitem__`. Thanks, Bruno Renié.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-23 05:22:12 +00:00
Russell Keith-Magee
2fc19d8d6f
Fixed #12932 -- Added an extra argument to suite_result() in the test runner, and added **kwargs as protection against future changes. Thanks to Eric Holscher for the report and patch.
...
This is BACKWARDS INCOMPATIBLE for anyone that has written a custom DjangoTestRunner class since it was introduced in r12255.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-22 12:34:52 +00:00
Justin Bronn
9810178706
Fixed #12688 -- Removed typo in manager docs. Thanks, orokusaki for the report and timo for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-22 02:35:47 +00:00
Jannis Leidel
0d4726f518
Fixed #11714 - Document a few of the i18n function that can be used outside views and templates. Thanks, Jarek Zgoda and Ramiro Morales.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:44:05 +00:00
Jannis Leidel
67d4289c2e
Fixed #12066 - Moved auth context processor from core to the auth app. Thanks, Rob Hudson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:40:47 +00:00
Jannis Leidel
1559f64549
Fixed #12795 - Updated the middleware docs to include the messages app middleware. Thanks, Timo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:40:03 +00:00
Jannis Leidel
b2c43df84f
Fixed #12895 - Fixed typo in auth docs. Thanks Timo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:37:35 +00:00
Jannis Leidel
0d37cfdc05
Fixed #12897 - Typo in multi-db docs. Thanks fgutierrez.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-21 23:37:19 +00:00
Jannis Leidel
fef575a7f9
Fixed #6380 - Follow symlinks when examining source code and templates for translation strings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-16 12:14:27 +00:00
Jannis Leidel
f93f056c32
Fixed #10260 - Refactored internationalization documentation. Thanks, Ramiro Morales.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-16 12:12:53 +00:00
Jacob Kaplan-Moss
3d84904794
Fixed #12840 : mark natural key serialization in the docs as new in 1.2. Thanks, ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-14 18:39:42 +00:00
Luke Plant
4682d693c4
Fixed #12829 - typos introduced in [12400]
...
Thanks Alex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09 20:05:52 +00:00
Luke Plant
eaee55e547
Removed docs that assume developer might be using Python < 2.4
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-09 19:37:08 +00:00
James Bennett
091a631601
Fixed #12797 : Corrected typo in the documentation for the changepassword management command.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-06 03:14:47 +00:00
Jannis Leidel
a0bae6ebb8
Updated formset docs to contain the new management form field for max_num values.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01 14:19:30 +00:00
Russell Keith-Magee
84599495a0
Fixed #6364 -- Added the ability to run individual doctests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-02-01 13:00:00 +00:00
Russell Keith-Magee
47acb1d659
Fixed #6273 -- Added a 'changepassword' management command. Thanks to Ludvig Ericson and Justin Lilly for their work on this patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-29 08:10:29 +00:00
Russell Keith-Magee
7856a759d0
Fixed #12715 -- Clarified the docs on the usage of database routers, especially regarding the default routing scheme. Thanks to Chris Curvey for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12335 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 03:04:24 +00:00
Luke Plant
8daec78cfd
Fixed #12557 - AnonymousUser should check auth backends for permissions
...
Thanks to hvdklauw for the idea and work on the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-28 01:47:23 +00:00
Russell Keith-Magee
8e8d4b5888
Fixed #12671 -- Added set_many(), get_many(), and clear() methods to the cache backend interface. Thanks to Jeff Balogh for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27 08:21:35 +00:00
Russell Keith-Magee
c8873bbba7
Made the database master router tolerant of router definitions that omit individual routing methods.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-27 07:56:53 +00:00
Jannis Leidel
c14937cf7a
Fixed #12508 - Added ability to dynamically add inlines in the admin app.
...
Refs #13 . Also introduces an ``empty_form`` attribute on formsets to make it easier to implement dynamic forms.
Many thanks to Zain Memon for the initial patch from his Summer of Code 2009 project, Stanislaus Madueke for his django-dynamic-formset app and all the other people helping out.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26 15:02:53 +00:00
Jannis Leidel
df82175c17
Fixed #12673 - Require a version of GNU gettext of 0.1.5 and above.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-26 15:01:58 +00:00
Russell Keith-Magee
89f81810ed
Removed some stray content from the multi-db docs. Thanks to Yuri Baburov for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-25 12:29:56 +00:00
Russell Keith-Magee
14116bc53e
Fixed #12672 -- Added the ability to configure which applications are available on which database.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-25 12:23:30 +00:00
Russell Keith-Magee
6755a039eb
Fixed #12542 -- Added the TEST_MIRROR setting, allowing testing of read slave databases.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12289 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-25 12:05:38 +00:00
Russell Keith-Magee
dbad025637
Fixed #12668 -- Corrected some typos in the multi-db docs. Thanks to mattimustang for the eagle eyes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-23 04:32:34 +00:00
Russell Keith-Magee
7ca9d9306c
Fixed #10314 -- Added a message prefix argument to Django's test assertions. Thanks to Wes Winham for the original suggestion, and Chistian Oudard for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-22 15:02:02 +00:00
Russell Keith-Magee
1b3dc8ad9a
Fixed #12540 , #12541 -- Added database routers, allowing for configurable database use behavior in a multi-db setup, and improved error checking for cross-database joins.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-22 14:30:06 +00:00
Russell Keith-Magee
e2d094b8fb
Fixed #12640 -- Corrected a regression in test suite construction order introduced by #12255 . Also updated the docs to reflect what the test code has always done. Thanks to Ramiro Morales for the report and patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-19 01:14:02 +00:00
Russell Keith-Magee
9aba6f807e
Fixed #12638 -- Minor documentation cleanups around the new class-based test runners. Thanks to Ramiro Morales for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 23:53:08 +00:00
Russell Keith-Magee
be26f1ace4
Updated the docs around test runners to encourage the use of **kwargs in the test runner constructor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 23:49:20 +00:00
Luke Plant
58440c0b66
Fixed typo in docs - supports_objects_permissions should be supports_object_permissions
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 20:51:29 +00:00
Russell Keith-Magee
53b61d9c02
Fixed #12624 -- Modified test runners to be class based.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-18 15:11:01 +00:00
Jannis Leidel
2187fa3ea4
Added versionchanged directive to docs introduced in r12139.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-17 22:29:30 +00:00
Luke Plant
2e9518bb39
Created a 'DB optimization' topic, with cross-refs to relevant sections.
...
Also fixed #10291 , which was related, and cleaned up some inconsistent doc labels.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-16 03:13:16 +00:00
Russell Keith-Magee
6afd505b5b
Fixed #5390 -- Added signals for m2m operations. Thanks to the many people (including, most recently, rvdrijst and frans) that have contributed to this patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-13 11:07:16 +00:00
Jannis Leidel
9614b0190f
Fixed #11794 - Typo in model manager documentation. Thanks, timo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12 23:36:43 +00:00
Joseph Kocherhans
2f9853b2dc
Fixed #12512 . Changed ModelForm to stop performing model validation on fields that are not part of the form. Thanks, Honza Kral and Ivan Sagalaev.
...
This reverts some admin and test changes from [12098] and also fixes #12507 , #12520 , #12552 and #12553 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-12 02:29:45 +00:00
Adrian Holovaty
e1e4050347
Fixed #12297 -- Fixed typo in docs/topics/db/queries.txt. Thanks, bertil and timo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 21:28:37 +00:00
Adrian Holovaty
9bb1fa7251
Fixed #9223 -- Added support for declarative widgets to ModelForm. I declare thanks to isagalaev.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 19:23:42 +00:00
Adrian Holovaty
06645cbda7
Fixed #12113 -- Clarified is_active documentation. Thanks, ejucovy and isagalaev
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 19:05:39 +00:00
Adrian Holovaty
34db1d6474
Fixed #11794 -- Removed an unnecessary literary flourish in docs/topics/db/managers.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:51:32 +00:00
Adrian Holovaty
74f88194c3
Fixed #12345 -- Fixed bug in db/models.txt.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:50:28 +00:00
Adrian Holovaty
7789e9c006
Fixed #12195 -- Clarified cache documentation to rename 'timeout_seconds' to 'timeout'. Thanks, galund and timo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:40:24 +00:00
Adrian Holovaty
5ce16c7e27
Fixed #12161 -- Added escaping of a backslash in two generic-views.txt examples. Thanks, infopams
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:38:00 +00:00
Adrian Holovaty
457df03c99
Fixed #12084 -- Documented the fact that QuerySet.update() returns the number of affected rows. Thanks, timo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:36:45 +00:00
Adrian Holovaty
bef891399e
Fixed #11904 -- Fixed error in conditional-view-processing.txt. Thanks, bronger and timo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:09:26 +00:00
Adrian Holovaty
26dc654818
Fixed #11884 -- Clarified documentation to explain how to activate the built-in admin reference. Thanks, DmitryRisenberg and timo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 18:07:46 +00:00
Adrian Holovaty
9e3dbc7573
Fixed #10989 -- Fixed typos in formset and widget-media docs. Thanks, falken@mixworx.net and ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-10 17:45:55 +00:00
Jannis Leidel
058343c5e8
Minor formatting fixes for [12139]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 21:07:32 +00:00
Adrian Holovaty
933b9e8de7
Fixed #6991 -- Removed some redundant user.is_authenticated() calls in various places. Thanks, alexkoshelev, Liang Feng and Ivan Sagalaev
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 20:11:01 +00:00
Jannis Leidel
bacfe3f3e8
Fixed #9638 - Added %(app_label)s to the related_name format string for abstract models.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 20:03:52 +00:00
Adrian Holovaty
00252d84d7
Negligible change to docs/topics/cache.txt so I can test something in the docs on the live site
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 19:28:06 +00:00
Adrian Holovaty
88265d4a73
Fixed #12497 -- Fixed Sphinx errors in docs. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 19:11:41 +00:00
Adrian Holovaty
bf2283d47d
Edited docs/topics/db/multi-db.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 17:09:20 +00:00
Adrian Holovaty
4a6c746977
Removed ridiculous extra space around the title in docs/topics/db/aggregation.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-09 17:08:52 +00:00
Russell Keith-Magee
96848352f9
Added `using` to the list of documented arguments for save() on a model; updated the docs to suggest using ``*args, **kwargs`` when implementing model save methods. Thanks to Jeff Croft for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-08 00:17:33 +00:00
Russell Keith-Magee
b7fa3e8c35
Added docs on how syncdb and other management commands interact with multi-db.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-07 11:37:49 +00:00
Luke Plant
48edb177ed
Fixed #12053 - form examples don't validate according to w3c
...
Thanks to skyl for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04 21:55:52 +00:00
Russell Keith-Magee
e07560a88e
Modified the way EMAIL_BACKEND is specified to make it consistent with the new "use the class name" policy for backends.
...
This is a BACKWARDS-INCOMPATIBLE CHANGE for anyone using a manually
specified EMAIL_BACKEND setting. If you have manually specified
EMAIL_BACKEND, you will need to append ".EmailBackend" to your
existing EMAIL_BACKEND setting. See the django-dev mailing list for
details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-04 12:05:04 +00:00
Jannis Leidel
17e191a123
Fixed #12383 - Typo fix for authentication documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12054 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-01-01 21:37:53 +00:00
Karen Tracey
d406a8de8a
Typo fix for doc added in r12034. Thanks Alex Gaynor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-31 19:23:23 +00:00
Karen Tracey
9a55432213
Fixed #12364 : Added graceful exit from a test run when Ctrl-C is pressed. Thanks Randy Barlow.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-31 18:48:28 +00:00
Gary Wilson Jr
adc6113515
i18n documentation fixes:
...
* Fixed typo (fixes #12449 , thanks googol).
* Wrapped long lines.
* Removed unused link target directive.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 18:02:09 +00:00
Gary Wilson Jr
adb74a8f2e
Fixed several broken and redirecting URLs in the documentation ( fixes #12219 , refs #12427 ).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-26 06:37:26 +00:00
Russell Keith-Magee
7626f851e3
Fixed #12447 -- Corrected a bad example in the multi-db docs. Thanks to Bryan Veloso for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-25 10:26:36 +00:00
Russell Keith-Magee
c8f22aef23
Fixed #12426 -- Corrected typo in multi-db docs. Thanks to btbytes for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-24 03:21:13 +00:00
Jannis Leidel
9233d04265
Fixed #7980 - Improved i18n framework to support locale aware formatting (dates and numbers) and form processing.
...
Thanks to Marc Garcia for working on this during his Google Summer of Code 2009!
Additionally fixes #1061 , #2203 , #3940 , #5526 , #6449 , #6231 , #6693 , #6783 , #9366 and #10891 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 17:58:49 +00:00
Russell Keith-Magee
0f2f08a7d7
Documentation markup fixes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11956 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 16:10:48 +00:00
Russell Keith-Magee
ff60c5f9de
Fixed #1142 -- Added multiple database support.
...
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project.
Congratulations to Alex for a job well done.
Big thanks also go to:
* Justin Bronn for keeping GIS in line with the changes,
* Karen Tracey and Jani Tiainen for their help testing Oracle support
* Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback.
* Malcolm Treddinick for his guidance during the GSoC submission process.
* Simon Willison for driving the original design process
* Cal Henderson for complaining about ponies he wanted.
... and everyone else too numerous to mention that helped to bring this feature into fruition.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22 15:18:51 +00:00
Russell Keith-Magee
79d6e402e3
Fixed #12409 -- Corrected some documentation typos in the docs on raw querysets. Also added a missing __init__.py file. Thanks to Alex Gaynor for the reports.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-21 01:53:39 +00:00
Jacob Kaplan-Moss
20ad30713e
Fixed #11863 : added a `Model.objects.raw()` method for executing raw SQL queries and yield models.
...
See `docs/topics/db/raw.txt` for details.
Thanks to seanoc for getting the ball rolling, and to Russ for wrapping things up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-20 02:46:58 +00:00
Jannis Leidel
a2ef46316c
Fixed #8145 - Documented the codenames of the default auth permissions
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-18 10:07:34 +00:00
Russell Keith-Magee
ebb8ca1cd7
Corrected an example in the natural key serialization docs. Thanks to Alex Gaynor for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-18 00:32:10 +00:00
Karen Tracey
5bd63663a9
Fixed #399 : Added big integer field. Thanks to Tomáš Kopeček for persistently maintaining a patch for this.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-17 15:10:38 +00:00
Russell Keith-Magee
35cc439228
Fixed #7052 -- Added support for natural keys in serialization.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-14 12:39:20 +00:00
Jacob Kaplan-Moss
1c5fe467bd
Fixed #10326 : handler500 and handler404 may now be callables. Thanks, dcwatson, adurdin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11854 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-13 20:29:04 +00:00
Jannis Leidel
9bf652dfd6
Fixed #11010 - Add a foundation for object permissions to authentication backends. Thanks to Florian Apolloner for writing the initial patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-10 01:05:35 +00:00
Luke Plant
2c2f5aee4d
Implemented 'smart if' template tag, allowing filters and various operators to be used in the 'if' tag
...
Thanks to Chris Beaven for the initial patch, Fredrik Lundh for the basis
of the parser methodology and Russell Keith-Magee for code reviews.
There are some BACKWARDS INCOMPATIBILITIES in rare cases - in particular, if
you were using the keywords 'and', 'or' or 'not' as variable names within
the 'if' expression, which was previously allowed in some cases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-09 22:40:36 +00:00