James Aylett
5448555785
Fixed #17601 -- expose underlying db exceptions under py2
...
Use __cause__ to expose the underlying database exceptions even
under python 2.
2013-06-04 12:46:10 +01:00
Tim Graham
c36b75c814
Fixed #20545 - Made class-based view MRO lists consistent.
...
Thanks wim@ for the suggestion.
2013-06-03 10:06:48 -04:00
Russell Keith-Magee
164c67c831
Fixed #20552 -- Corrected release notes reference to name of new test discovery runner.
2013-06-03 15:59:20 +08:00
Tim Graham
61524b09cf
Fixed #18388 - Added InlineModelAdmin.get_max_num hook.
...
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work
on the patch.
2013-06-01 18:20:54 -04:00
Tim Graham
f315693304
Fixed #20543 - Typo in db model fields docs.
...
Thanks i.amber.jain@ for the report.
2013-06-01 05:48:38 -04:00
Anssi Kääriäinen
369b6fab25
Fixed #18169 -- NoReverseMatch not silenced if from block.super
2013-06-01 00:59:04 +03:00
Tim Graham
f10e9af227
Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.
...
Thanks czambran.
2013-05-31 08:18:29 -04:00
Tim Graham
646a2216e9
Fixed #20326 - Corrected form wizard get_form() example.
...
Thanks tris@ for the report.
2013-05-31 08:07:40 -04:00
Tim Graham
f513764e72
Fixed #20515 - Clarified note regarding translator comments.
...
Thanks wim@ for the suggestion.
2013-05-31 07:43:05 -04:00
Claude Paroz
7882c3a673
Fixed #20511 -- Corrected link about isolation levels in databases docs
...
Thanks tinodb for the report.
2013-05-31 10:17:34 +02:00
Claude Paroz
3d883e8bd9
Merge pull request #1232 from fusionbox/normalize_email
...
Fixed #20531 -- Don't hard-code class names when calling static methods
2013-05-31 00:56:56 -07:00
Ramiro Morales
ac90aee55c
Tweak caching decorators/utility functions xrefs.
2013-05-30 20:38:44 -03:00
Tim Graham
36aecb12b8
Fixed #19425 - Added InlineModelAdmin.get_extra hook.
...
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-30 13:48:10 -04:00
Tim Graham
5074c75a37
Fixed #16856 - Added a way to clear select_related.
...
Thanks Carl for the suggestion and David Cramer for the patch.
2013-05-30 11:06:05 -04:00
Gavin Wahl
e6ff238431
Fixed regroup example.
...
Chicago was missing.
2013-05-29 21:46:58 -04:00
Gavin Wahl
01ae881bb4
Don't hard-code class names when calling static methods
...
normalize_email should be called on the instance, not the class. This
has the same effect normally but is more helpful to subclassers. When
methods are called directly on the class, subclasses can't override
them.
2013-05-29 16:11:26 -06:00
Tim Graham
8a6e040bfa
Fixed #20525 -- Added versionadded for clearsessions.
...
Thanks wiml@.
2013-05-28 20:14:01 -04:00
Tim Graham
ded95ccdce
Fixed #20484 -- Added model validation for GenericIPAddressField
...
GenericIPAddressField must not allow blank for NOT NULL fields
Thanks Erik Romijn.
2013-05-28 15:12:47 -04:00
Tim Graham
1fdc3d256d
Fixed #20523 - Incorrect form field for FilePathField.
...
Thanks sane4ka.sh@ for the report.
2013-05-28 11:54:53 -04:00
Tim Graham
d321d1acf0
Fixed #20228 - Documented unique_for_date and exclude behavior.
...
Thanks Deepak Thukral for the patch.
2013-05-28 10:04:07 -04:00
Tim Graham
8365d76da0
Fixed #20513 - Expanded docs on QuerySet caching.
...
Thanks seddonym.
2013-05-28 08:41:13 -04:00
Carl Meyer
cd79f33723
Fixed #20503 - Moved doctest utilities in with the rest of the deprecated test code.
...
The ``DocTestRunner`` and ``OutputChecker`` were formerly in
``django.test.testcases``, now they are in ``django.test.simple``. This avoids
triggering the ``django.test._doctest`` deprecation message with any import
from ``django.test``. Since these utility classes are undocumented internal
API, they can be moved without a separate deprecation process.
Also removed the deprecation warnings specific to these classes, as they are
now covered by the module-level warning in ``django.test.simple``.
Thanks Anssi for the report.
Refs #17365 .
2013-05-27 14:55:08 -06:00
Tim Graham
d194714c0a
Fixed #11603 - Added django.test.SimpleTestCase.assertFormsetError
...
Thank-you Martin Green for the patch.
2013-05-27 12:25:35 -04:00
Tim Graham
90af278203
Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_create
...
Thanks wilfred@, poirier, and charettes for work
on the patch.
2013-05-27 10:01:14 -04:00
Tim Graham
a64de33b79
Merge pull request #1226 from bmispelon/ticket-20505
...
Fixed #20505 -- Typo in BinaryField documentation.
2013-05-27 05:21:56 -07:00
Tim Graham
6f8627dd7f
Fixed #17582 - Added message to DoesNotExist exceptions.
...
Thanks simon@ for the suggestion and JordanPowell
for the initial patch.
2013-05-27 07:57:06 -04:00
Baptiste Mispelon
08726cb013
Fix #20505 : Typo in BinaryField documentation.
2013-05-27 11:35:34 +02:00
Aymeric Augustin
749c2e4333
Fixed URL for six inventory.
2013-05-27 11:15:40 +02:00
Aymeric Augustin
2a22540057
Fixed #20508 -- ReST typo.
2013-05-27 11:14:51 +02:00
yishaibeeri
f077f89198
Patch for ticket #20506 - documentation type
2013-05-27 11:14:38 +03:00
Ramiro Morales
0fa8d43e74
Replaced `and...or...` constructs with PEP 308 conditional expressions.
2013-05-26 23:47:50 -03:00
Preston Holmes
d228c1192e
Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.
...
SuspiciousOperations have been differentiated into subclasses, and
are now logged to a 'django.security.*' logger. SuspiciousOperations
that reach django.core.handlers.base.BaseHandler will now return a 400
instead of a 500.
Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft
for review.
2013-05-25 16:27:34 -07:00
Claude Paroz
f940e564e4
Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddleware
...
Thanks Ram Rachum for the report and the initial patch, and Simon
Charette for the review.
2013-05-25 12:10:53 +02:00
Vlastimil Zíma
6de81d65f4
Fixed #14825 -- LocaleMiddleware keeps language
...
* LocaleMiddleware stores language into session if it is not present there.
2013-05-25 10:52:54 +02:00
Tim Graham
fbab3209fc
Fixed #20492 - Removed a broken link in GIS docs.
2013-05-24 12:35:20 -04:00
Tim Graham
92c9052add
Merge pull request #1210 from alasdairnicol/jquery_cookie_plugin_link
...
Updated link to jQuery Cookie plugin site
2013-05-24 09:25:27 -07:00
Preston Holmes
c4fb8326dd
Merge pull request #1209 from tax/master
...
Updated link to active project for ODBC backend
2013-05-24 08:47:02 -07:00
Brian Rosner
f3ba6495e2
Updated my bio
2013-05-24 08:22:08 -06:00
Alasdair Nicol
81f454a322
Update link to jQuery Cookie plugin site
2013-05-24 14:36:17 +01:00
Paul Tax
fb1d813484
Link to active fork for ODBC backend
...
It took me quite some time to find if and where the ODBC backend was maintained.
I found (on djangoproject.com):
http://code.google.com/p/django-pyodbc/ (last commit about 3 years ago)
then:
https://github.com/avidal/django-pyodbc avidal fork.
then:
https://github.com/aurorasoftware/django-pyodbc/ aurorasoftware version which has avidal improvements merged.
Avidals version now links to https://github.com/aurorasoftware/django-pyodbc/ which is also the version installed through PIP.
2013-05-24 13:37:20 +03:00
Gavin Wahl
48424adaba
Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.
...
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.
Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
2013-05-23 19:03:14 -04:00
Tim Graham
dffdca1109
Fixed #20316 - Clarified transaction behavior of TestCase.
...
Thanks uberj@ for the report and lolek09 for the patch.
2013-05-23 10:57:44 -04:00
Tim Graham
5a62236b16
Added back a link to docs/internals/committers.txt
2013-05-23 10:48:36 -04:00
Alex Gaynor
cf007f0cbf
Update my employer.
2013-05-23 07:23:06 -07:00
Andrew Godwin
ec5dc0010c
Fixing some FIXMEs in howto-release-django. Refs #20082
2013-05-23 15:15:02 +01:00
Claude Paroz
499a745ae1
Fixed #20474 -- Proxied and deprecated django.db.backend
2013-05-23 15:19:12 +02:00
Tim Graham
a46a399534
Fixed #20417 - Noted that a server restart is required to load new templatetag modules.
...
Thanks Katya for the suggestion.
2013-05-23 08:52:55 -04:00
Tim Graham
9e65bd33db
Fixed #20482 - Added a file reference in tutorial 3.
...
Thanks diek@ for the suggestion.
2013-05-23 08:36:53 -04:00
Tim Graham
8aca2504df
Fixed #20080 - Recommended use of PYTHONHASHSEED
...
Thanks jacob for the suggestion and ryankask
for the patch.
2013-05-23 08:16:03 -04:00
Claude Paroz
b664cb818d
Fixed #19237 (again) - Made strip_tags consistent between Python versions
2013-05-23 14:01:27 +02:00