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