Tim Graham
6afa6818fc
Fixed #25496 -- Made ModelChoiceField respect prefetch_related().
2015-10-05 18:21:56 -04:00
Pindi Albert
9f2881deb1
Fixed #25423 -- Made error message for unknown template tag more helpful.
2015-10-05 17:21:35 -04:00
Jon Dufresne
2875325889
Fixed #25500 -- Added --fail-level option to check command.
...
This option specifies the level that check command exits with a
non-zero status. Default is ``ERROR``.
2015-10-05 17:11:40 -04:00
Tim Graham
b215a3ab63
Fixed #25502 -- Added supported Python versions in 1.7, 1.8 release notes.
2015-10-05 14:19:23 -04:00
Tim Graham
04ecc26223
Removed SimpleLazyObject workaround for a Python 3 bug.
...
The workaround added in fe8484efda
seems unnecessary as the Python bug is fixed in Python 3.4.
2015-10-05 09:46:59 -04:00
John Moses
2b6344e944
Fixed #25037 -- Added request.user to the debug view.
2015-10-05 09:36:42 -04:00
Tim Graham
ea8e7fd989
Removed obsolete (since Python 2.3) __safe_for_unpickling__ attribute.
2015-10-05 08:07:27 -04:00
Tim Graham
58195f0b16
Added stub release notes for 1.8.6.
2015-10-03 19:58:02 -04:00
Tim Graham
2eb5589a72
Added release date for 1.8.5.
2015-10-03 19:31:45 -04:00
Ben Kraft
35355a4ffe
Fixed #25389 -- Fixed pickling a SimpleLazyObject wrapping a model.
...
Pickling a `SimpleLazyObject` wrapping a model did not work correctly; in
particular it did not add the `_django_version` attribute added in 42736ac8
.
Now it will handle this and other custom `__reduce__` methods correctly.
2015-10-03 13:00:37 -04:00
Aleksandra Tarkowska
c055224763
Fixed #22938 -- Allowed clearsessions to remove file-based sessions.
2015-10-03 09:21:10 -04:00
Claude Paroz
3f22e83e90
Fixed #25483 -- Allowed passing non-string arguments to call_command
...
Thanks KS Chan for the report and Tim Graham for the review.
2015-10-03 14:40:33 +02:00
Tim Graham
fa2e1e633a
Refs #15844 -- Added tests for multi-table inheritance related object filtering efficiency.
...
Fixed in 97774429ae
.
2015-10-03 08:29:07 -04:00
Claude Paroz
41ed6338a4
Upgraded OpenLayers version from 2.13 to 2.13.1
...
Thanks Daniel Hahler for the initial patch.
2015-10-03 12:36:39 +02:00
Andrew Artajos
d2ef521a53
Fixed #25398 -- Revised instances of os.path.join()
...
Replaced occurrences of os.path.join(BASE_DIR, 'folder/subfolder')
to os.path.join(BASE_DIR, 'folder', 'subfolder')
2015-10-03 09:07:25 +02:00
Tim Graham
58c7ff39fb
Refs #13203 , #9501 -- Added a test for generic relations to child models.
...
Fixed in 97774429ae
.
2015-10-02 15:46:58 -04:00
John Moses
ac09d22f79
Fixed #25481 -- Added field.help_text to "Looping over a form's fields" docs.
2015-10-02 12:52:14 -04:00
Nick Williams
3f342d74e9
Fixed link to the MySQL Connector/Python Django Backend documentation.
2015-10-02 12:31:53 -04:00
Kaleb Elwert
adcf823359
Fixed #25490 -- Made the logout() view send "no-cache" headers.
2015-10-02 12:29:54 -04:00
Tim Graham
37a5a36321
Refs #13637 -- Removed unused code in GenericRelatedObjectManager
...
Appears unused since 585b7acaa3
.
2015-10-02 10:32:46 -04:00
Tim Graham
9f6b704769
Fixed #21042 -- Allowed accessing FileDescriptor on the model class.
...
This is consistent with ability to reference other descriptors
on the model class (5ef0c03ae9
).
2015-10-01 15:19:39 -04:00
Tim Graham
8a5a002f2f
Made a couple tutorial corrections for Django 1.9.
2015-10-01 15:18:43 -04:00
Tim Graham
1515b6a8b3
Removed an old note (Django 1.4-era) from the tutorial.
2015-10-01 14:51:22 -04:00
Tim Graham
061801e3df
Refs #24505 -- Forwardported 1.8.5 release note.
2015-09-30 18:46:11 -04:00
David Sanders
5c6316dc34
Clarified that Model.delete() isn't called as a result of a cascading delete.
2015-09-30 08:44:04 -04:00
Tim Graham
b47552b445
Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt
2015-09-29 19:40:35 -04:00
Tim Graham
8d1a001ef6
Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin.
...
Thanks Simon Charette for the DeprecationInstanceCheck class.
2015-09-29 18:31:11 -04:00
David Sanders
ae9f9dc37f
Improved "“standalone” Django usage" example.
2015-09-29 15:00:54 -04:00
Tim Graham
a523d94b45
Fixed #25376 -- Required virtualenv in installation instructions.
...
Thanks Anjul Tyagi for some of the draft text.
2015-09-29 14:30:46 -04:00
Tim Graham
6348db378a
Refs #22384 -- Removed obsolete code for the removal of reversing by dotted path.
2015-09-29 13:33:27 -04:00
Antoine Catton
53ccffdb8c
Refs #16860 -- Fixed password help text when there aren't any validators.
...
This avoids creating an empty list which is invalid HTML 4.
2015-09-28 15:30:16 -04:00
Tim Graham
c14b6b52ff
Documented auth's login/logout function parameters.
2015-09-28 14:11:54 -04:00
Tim Graham
17e2edf113
Moved and updated Python license.
2015-09-28 09:53:37 -04:00
Tim Graham
4cd2bdae07
Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__().
2015-09-28 07:20:46 -04:00
Claude Paroz
b7ade64529
Fixed #25468 -- Made DjangoJSONEncoder lazy string aware
...
Thanks Stavros Korokithakis for the report and Tim Graham for the
review.
2015-09-27 22:37:27 +02:00
Curtis Maloney
87630bc304
Used getattr() to simplify contrib.messages.api.
2015-09-26 20:04:09 -04:00
Mariusz Felisiak
a3a6def867
Fixed #25421 -- Fixed test --keepdb option on Oracle.
2015-09-26 19:51:15 -04:00
Claude Paroz
50acbf3ff6
Made tests/serializers/models.py a models package
...
Thanks Tim Graham for the patch series review.
2015-09-26 19:58:43 +02:00
Claude Paroz
4908222ac7
Moved remaining of serializers_regress to serializers tests
2015-09-26 19:58:43 +02:00
Claude Paroz
ddd6a530e3
Moved more serializers_regress to serializers tests
2015-09-26 19:58:43 +02:00
Claude Paroz
d59d3caf32
Separated natural key serialization tests
2015-09-26 19:58:43 +02:00
Claude Paroz
6dc7af3e01
Separated JSON serialization tests
2015-09-26 19:58:43 +02:00
Claude Paroz
d3cfdfb508
Separated XML serialization tests
2015-09-26 19:58:43 +02:00
Claude Paroz
febd5aeec6
Separated YAML serialization tests
2015-09-26 19:58:42 +02:00
Rob Hudson
021782d22b
Corrected use of 'affect' vs 'effect' in docs.
2015-09-25 18:34:29 -04:00
GhostThrone
829e33f67f
Used ternary operator to simplify contrib.messages.api.
2015-09-25 15:50:22 -04:00
Tim Graham
de99f558d8
Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
2015-09-25 13:28:12 -04:00
Tim Graham
c42123adb1
Removed redundancy in admin_changelist tests.
2015-09-25 10:23:32 -04:00
Ville Skyttä
afe777639c
Fixed #25196 -- Normalized database representations in test database messages.
...
Left over Oracle mostly as-is since it's more complicated.
2015-09-25 10:21:55 -04:00
Tim Graham
53e89ce2e7
Fixed #25451 -- Added advice about organizing tests.
2015-09-25 07:15:19 -04:00