Commit Graph

4423 Commits

Author SHA1 Message Date
Aymeric Augustin b0c1e5c081 Documented next/previous_week. Refs #10890. 2012-05-20 11:58:00 +02:00
Aymeric Augustin 4b58e94f27 Followed a best practice in the time zones docs.
Prevented localize from swallowing non existent or ambiguous
datetimes.
2012-05-19 23:33:38 +02:00
Claude Paroz 38408f8007 Marked bytestrings with b prefix. Refs #18269
This is a preparation for unicode literals general usage in
Django (Python 3 compatibility).
2012-05-19 17:43:34 +02:00
Claude Paroz 822d6d6dab Fixed #18325 -- Wrapped self.stdout/stderr in OutputWrapper class 2012-05-19 13:51:54 +02:00
Glen Robertson 9a7261f688 Fixed typo on GeoQuerySet.geohash method. 2012-05-18 14:56:40 -07:00
Stratos Moros 5d80d30a23 remove mention of djangoproject.com from cbv topic
The class based views topic mentions that the djangoproject.com weblog
is built using the date-based generic views, but looking at the code,
it actually uses the deprecated pre-1.3 function based generic views.
2012-05-18 13:25:15 +03:00
Jeremy Cowgar c23d306df8 Added load i18n code to the base wizard form template documentation as it uses the trans tag. 2012-05-17 18:53:57 -04:00
Aymeric Augustin 82a76ef67d Mentioned the previous commit in the release notes 2012-05-17 14:03:19 +02:00
Adrian Holovaty aa757ac22d Merge pull request #43 from techtonik/patch-1
Fixed #18267 -- document `settings.configured` property.
2012-05-16 08:12:48 -07:00
anatoly techtonik 59d2b8aa16 Fix issue #18267 - document `settings.configured` property. 2012-05-16 16:13:39 +03:00
Jannis Leidel 5f75ac91df Fixed #17896 -- Added file_hash method to CachedStaticFilesStorage to be able to customize the way the hashed name of a file is created. Thanks to mkai for the initial patch. 2012-05-16 13:21:50 +02:00
Andrei Antoukh 365853da01 Fixed #4102 -- Allow update of specific fields in model.save()
Added the ability to update only part of the model's fields in
model.save() by introducing a new kwarg "update_fields". Thanks
to all the numerous reviewers and commenters in the ticket
2012-05-12 10:29:41 +03:00
Claude Paroz 0611e1fed2 Fixed #18301 -- Fixed url name in password reset example.
Thanks nicknnn for the report.
2012-05-11 20:15:30 +02:00
Aymeric Augustin 367379581f Fixed #18281 -- Misleading wording in the tutorial.
Thanks bhp for the report.
2012-05-11 12:43:43 +02:00
Aymeric Augustin d171b3cc0b Fixed #16335 -- Clarified an unintuitive behavior.
The DTL will perform dict lookup before method lookup, which yields
an unexpected result for defaultdicts.
2012-05-10 22:34:03 +02:00
Aymeric Augustin 46648b641d Fixed #17798 -- Tweaked the CA localflavor.
Thanks shelldweller.
2012-05-10 22:19:01 +02:00
Aymeric Augustin 73f7d34699 Fixed #17950 -- Warned about usability limits of ModelChoiceField.
Thanks poirier for the report.
2012-05-10 22:01:11 +02:00
Aymeric Augustin c970bcf368 Fixed #18257 -- Typo in contenttypes docs. 2012-05-10 21:32:52 +02:00
Claude Paroz 169b1a404c Replaced foo.next() by next(foo).
This new syntax for next() has been introduced in Python 2.6 and is
compatible with Python 3.
2012-05-10 20:15:49 +02:00
Aymeric Augustin ecdd0914b1 Updated time zone FAQ with timezone.localize. 2012-05-06 09:50:30 +02:00
Claude Paroz d7dfab59ea Replaced cStringIO.StringIO by io.BytesIO.
Also replaced StringIO.StringIO by BytesIO in some other appropriate
places. StringIO is not available in Python 3.
2012-05-05 21:41:44 +02:00
Alex Gaynor 1583d40224 Fixed the syntax used for the Python repl examples in docs and docstrings. 2012-05-05 09:54:30 -05:00
Claude Paroz 865cd35c9b Made more extensive usage of context managers with open. 2012-05-05 14:06:36 +02:00
Claude Paroz ec5423df05 Fixed #18270 -- Corrected variable name in password reset example.
Thanks schnippi for the report.
2012-05-04 08:20:50 +02:00
Ramiro Morales e9a56606e7 Fixed broken URLs introduced in 1adc87cd32. 2012-05-03 12:42:56 -03:00
Ramiro Morales 1adc87cd32 Updated some URLs in the documentation to point to the new repository. 2012-05-03 11:53:17 -03:00
Alex Ogier 227cec686e Fixed #18214 -- Clarified the docs about serializable objects. 2012-05-03 08:57:22 +02:00
Claude Paroz aaa3382fdc Fixed #18246 -- Replaced bash-specific syntax in geodjango postgis helper script.
Thanks jose for the report.
2012-05-01 20:33:50 +02:00
Aymeric Augustin 80c0cbf1c9 Clarified warning about date-based generic views. 2012-05-01 11:29:55 +02:00
Aymeric Augustin 78ba9670af Fixed #18217 -- Time zone support in generic views
Introduced a distinct implementation depending on the type of the
date field (DateField or DateTimeField), and applied appropriate
conversions is the latter case, when time zone support is enabled.
2012-04-30 20:48:19 +02:00
Claude Paroz 596cb9c7e2 Replaced print statement by print function (forward compatibility syntax). 2012-04-30 20:45:03 +02:00
Aymeric Augustin fe43ad5707 Fixed a small formatting error. 2012-04-30 17:50:32 +02:00
Kyle Fuller 96af691835 docs: It's rsync_project not rysnc_project 2012-04-30 12:52:37 +01:00
Aymeric Augustin af71ce06ea Minor fixes in the custom template tags docs. 2012-04-29 21:44:31 +02:00
Claude Paroz 3904b74a3f Fixed #18013 -- Use the new 'as' syntax for exceptions.
Thanks Clueless for the initial patch.
Note that unittest has been purposely left out (external package only used by Python 2.6).
2012-04-29 20:57:15 +02:00
Claude Paroz eefb00f301 Fixed #18220 -- Removed the CACHE_BACKEND setting, as per official deprecation timeline.
Thanks Ramiro Morales for the review.
2012-04-29 20:47:36 +02:00
Adrian Holovaty e7d99aa0fe Edited docs/releases/1.5.txt 2012-04-29 13:33:54 -05:00
Aymeric Augustin cec6bd5a59 Fixed #18023 -- Removed bundled simplejson.
And started the deprecation path for django.utils.simplejson.

Thanks Alex Ogier, Clueless, and other contributors for their
work on the patch.
2012-04-29 19:58:00 +02:00
Anssi Kääriäinen 584e2c0337 Prevent Oracle from changing field.null to True
Fixed #17957 -- when using Oracle and character fields, the fields
were set null = True to ease the handling of empty strings. This
caused problems when using multiple databases from different vendors,
or when the character field happened to be also a primary key.

The handling was changed so that NOT NULL is not emitted on Oracle
even if field.null = False, and field.null is not touched otherwise.

Thanks to bhuztez for the report, ramiro for triaging & comments,
ikelly for the patch and alex for reviewing.
2012-04-29 19:25:46 +03:00
Aymeric Augustin 3e8b40f479 Fixed #17992 -- Added a public API for localtime.
Thanks Bradley Ayers for the report.
2012-04-29 15:37:23 +02:00
Scott Klein 5c3e88060e Updated some antique references in "Is Django stable?" 2012-04-28 15:16:46 -03:00
Aymeric Augustin b49bc5c990 Removed a svn-specific configuration for Sphinx. 2012-04-28 15:03:16 +02:00
Adrian Holovaty bcdc99dda2 Updated docs/intro/whatsnext.txt to reference Git instead of SVN 2012-04-27 22:57:23 -05:00
Adrian Holovaty 8df8e516ab Updated docs/topics/install.txt to note github URL instead of code.djangoproject.com 2012-04-27 22:26:16 -05:00
Claude Paroz be12c9e908 Fixed #18038 -- Removed the 'supports_inactive_user' backwards-compatibility flag. Thanks Aymeric Augustin for the initial patch and Ramiro Morales for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-26 17:15:40 +00:00
Claude Paroz 1858e47672 Fixed #18033 -- Removed function-based generic views, as per official deprecation timeline. Rest in peace! Thanks Anssi Kääriäinen for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-25 19:17:47 +00:00
Claude Paroz ea9dc9f4b0 Fixed #18060 -- Corrected the import path of an example in custom management commands docs. Thanks smuss for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-25 06:37:16 +00:00
Claude Paroz eb351ac9cb Fixed #18037 -- Changed behaviour of url and ssi template tags to the new syntax, as per official deprecation timeline. Thanks Ramiro Morales and Jannis Leidel for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-24 19:55:52 +00:00
Claude Paroz 530ab32e9f Fixed #18187 -- Completed example and details about custom command options. Thanks purple for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-23 18:05:12 +00:00
Claude Paroz d93b2a8d8d Fixed #18186 -- Fixed ReportLab Web site links. Thanks pablog for the report and the initial patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-22 17:18:14 +00:00
Alex Gaynor bc8b9bd438 Fixed #18159 -- added an import statement to the docs. Thanks to Jeff Hui for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-22 15:58:53 +00:00
Alex Gaynor 3c5ff9d703 Fixed #5893 -- Added a flag to FilePathField to allow listing folders, in addition to regular files. Thank you to Brian Rosner, for encouraging me to first contribute to Django 4 years ago.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-22 14:44:08 +00:00
Ramiro Morales 83fc965171 Added documentation notes about lack of database savepoints support when using MySQL+MyISAM.
Refs #15507, #18116 and r17341, r17921.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-21 22:52:03 +00:00
Claude Paroz 64bc22be94 Reworded the 'Set up a database' section of the installation docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-21 12:35:06 +00:00
Ramiro Morales 4536359887 Fixed #18116 -- Raised minimum MySQL version officially suported to 5.0.3.
Thanks Carl, Claude and Anssi for discussion and patch review.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-21 03:04:10 +00:00
Claude Paroz 3d5d0be499 Fixed #18156 -- Updated signature of ModelAdmin change_view in docs to reflect r17466. Thanks arthurprat for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-20 12:58:32 +00:00
Anssi Kääriäinen d5b93d3281 Fixed #10494 -- Added kwargs to QuerySet.get() error message in the case no objects were found.
Thanks brondsem for the report, Szymon Pyzalski for the patch and oinopion for review.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-20 11:09:32 +00:00
Chris Beaven a901654a96 Very minor Python formatting change to template documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-20 01:31:07 +00:00
Luke Plant 718f149bb2 Added more explicit warnings about unconfigured reStructured Text usage in docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-19 15:00:55 +00:00
Claude Paroz 38d7a3a0fe Fixed #18316 -- Fixed pre-1.3 PermWrapper location in docs. Thanks Adrien Lemaire for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-16 11:38:43 +00:00
Claude Paroz 157f823819 Fixed #18024 -- Reworded sentence in models documentation. Thanks Preston Holmes for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-15 21:25:23 +00:00
Aymeric Augustin 5116c51b40 Clarified that Django randomizes session keys. Refs #11555, #13478, #18128.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-15 16:34:13 +00:00
Claude Paroz 749243941c Fixed #18041 -- Removed support for Markdown versions < 2.1, following the 1.5 deprecation timeline. Thanks Ramiro Morales for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-14 12:35:31 +00:00
Aymeric Augustin a9187e5447 Fixed a typo in an example in the timezone docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-14 06:40:53 +00:00
Aymeric Augustin be1082b3fe Fixed #18078 -- Linked more prominently to the removed features in the release notes. Thanks ptone for the text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17907 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-14 06:40:20 +00:00
Claude Paroz 57a12ca0ac Fixed #18118 -- Improved documentation for contrib.auth.hashers utility functions. Thanks Mathieu Agopian for the report and Ramiro Morales for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-13 11:38:52 +00:00
Claude Paroz 844e56e21a Fixed #18039 -- Changed geometry transform without a SRID raise a GEOSException.
This was planned in the official deprecation timeline for 1.5.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-12 16:35:28 +00:00
Claude Paroz cbc411571a Fixed #18107 -- Replaced a deprecated import path for GeoIP in docs. Thanks jonash for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-11 21:35:08 +00:00
Alex Gaynor f5a9e5e928 Fixed #18099 -- corrected a typo in the initial data docs. Thanks to Bradley Ayers for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17895 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-11 02:03:59 +00:00
Aymeric Augustin 93240b7d90 Fixed #17229 -- Allow 'True', 'False' and 'None' to resolve to the corresponding Python objects in templates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-10 20:49:45 +00:00
Claude Paroz 916d705538 Fixed #18095 -- Added missing 'cc' mention in EmailMessage recipients() description. Thanks Stéphane Raimbault for the report and the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-10 20:00:18 +00:00
Julien Phalip 6f7aa51b2c Fixed #17864 -- Added Hong Kong localflavor. Thanks to mrkschan and Adrien Lemaire.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09 17:25:02 +00:00
Claude Paroz 36ab8ae270 Fixed #17672 -- Precised MacPorts GeoDjango install instructions to install gdal with geos support. Thanks chosak for the report and the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09 10:00:32 +00:00
Julien Phalip 93d1fdb130 Fixed #17877 -- Ensured that extra WHERE clauses get correctly ANDed when they contain OR operations. Thanks to Marek Brzóska for the report, to eleather for the test case and to Adrien Lemaire for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-09 00:43:08 +00:00
Claude Paroz 5c53e30607 Fixed #18035 -- Removed deprecated AdminMediaHandler, as per official deprecation timeline. Thanks Jannis Leidel and Ramiro Morales for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-08 21:13:32 +00:00
Claude Paroz 393aeb79b8 Added gettext target to sphinx makefiles.
This have been copied from sphinx-quickstart result in latest sphinx versions.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-07 22:35:57 +00:00
Claude Paroz 8663bc1103 Fixed #16074 -- Added ContextMixin to class-based generic views to handle get_context_data. Thanks emyller, Luke Plant, Preston Holmes for working on the ticket and patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-06 21:24:33 +00:00
Ramiro Morales b4a9827133 Fixed #18074 -- Fixed description of dumpdata command --database option.
Thanks aruseni for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-06 18:55:42 +00:00
Claude Paroz 723445f40e Fixed #16233 -- Added link to multiple databases docs from custom sql alias section. Thanks charlax for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-06 09:17:37 +00:00
Claude Paroz 60ceeda9d5 Fixed #18009 -- Cleaned up a comment about removal of the old contrib.syndication Feed class. Thanks Keryn Knight for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-02 19:50:28 +00:00
Claude Paroz cb2fafe574 Fixed #18045 -- Corrected the documented default value of SESSION_COOKIE_HTTPONLY setting. Missing bit of r17135.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-01 17:13:55 +00:00
Ramiro Morales b41ebcf1b9 Fixed #18040 -- Removed so-called project-level locale trees from the list of paths the translation loading process takes in account.
Deprecated in Django 1.3. Removed completely for Django 1.5.

Thanks Claude for the review.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 22:24:24 +00:00
Ramiro Morales f38cf60c35 Advanced version identifiers for 1.5 development cycle.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 19:39:28 +00:00
Claude Paroz 89b66efafc Fixed #17983 -- Re-fixed the ln syntax by adding a trailing slash to the destination directory.
The -t argument is not a POSIX standard. Thanks Aymeric Augustin for pointing the problem.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 18:55:23 +00:00
Claude Paroz 7b89e0fc57 Fixed #17983 -- Use a non-ambiguous syntax of the ln command in install docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 18:24:43 +00:00
Alex Gaynor 79ce1be26b Fix a reST error.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 16:30:36 +00:00
Claude Paroz d2e273e295 Fixed #18029 -- Removed leftover mod_python files forgotten in r17835.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 14:50:54 +00:00
Aymeric Augustin 9ed6e08ff9 Removed deprecated URLField.verify_exists.
The deprecation schedule was slightly accelerated because of possible security ramifications.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@17847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 13:55:03 +00:00
Aymeric Augustin d38690796c Removed the deprecated reset and sqlreset management commands.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 12:38:11 +00:00
Aymeric Augustin d66035c4a6 Removed documentation for SMTPConnection, which was removed at r15978.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17837 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 12:08:39 +00:00
Claude Paroz a1ffb02107 Fixed #18029 -- Removed mod_python as of deprecation process. Thanks Aymeric Augustin for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 10:34:11 +00:00
Claude Paroz 23d3459761 Fixed #17965 -- Definitely dropped support for Python 2.5. Thanks jonash for the initial patch and Aymeric Augustin for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-31 08:24:29 +00:00
Claude Paroz 27322df995 Fixed #17999 -- Restored the links to examples from models documentation. Refs #17605.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30 17:59:12 +00:00
Claude Paroz 5dad221558 Added stub release notes for 1.5
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30 09:33:51 +00:00
Aymeric Augustin eb163f37cb Use the class decorator syntax available in Python >= 2.6. Refs #17965.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17829 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-30 09:08:29 +00:00
Claude Paroz 31e84e40f8 Fixed #17870 -- Documented that EmailField default max_length of 75 does not comply with RFCs 3696/5321. Thanks Rotund for the report and the patch and Russell Keith-Magee for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-29 18:39:21 +00:00
Ramiro Morales 782c1a770e Fixed #17999 -- Added a 'See also' paragraph to OneToOneField doc section.
Thanks creecocde for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-29 15:25:27 +00:00
Claude Paroz 9ddbed6f15 Fixed 17993 -- Removed quotes around module parameter for wider compatibility. Thanks roberto@unbit.it for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-28 20:28:13 +00:00
Claude Paroz f95baa1d8a Added missing indentation in models topic documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-27 09:07:03 +00:00
Aymeric Augustin 00ec03fd44 Fixed #17733 -- Discouraged setting TIME_ZONE to None when USE_TZ is True. Thanks berdario for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-26 14:17:13 +00:00