1
0
mirror of https://github.com/django/django.git synced 2024-11-20 08:24:58 +00:00
Commit Graph

21873 Commits

Author SHA1 Message Date
Tim Graham
ca43ee9d0f Refs #17917 -- Added a test for pickling annotations on fields with callable defaults.
Fixed in f403653cf1.
2015-10-07 15:08:59 -04:00
Claude Paroz
9a6fc9606c Added some function links in translation docs 2015-10-07 17:25:23 +02:00
Jonas Haag
a76309f007 Added myself to AUTHORS. 2015-10-07 07:47:09 -04:00
Claude Paroz
1e8d48252b Added basic JS tests for OLMapWidget.js
Thanks Trey Hunner for cleaning the initial patch and Tim Graham for
the review.
2015-10-07 08:59:32 +02:00
Mariusz Felisiak
914167abf1 Fixed #25503 -- Fixed system check crash on ForeignKey to abstract model. 2015-10-06 19:22:37 -04:00
Tim Graham
3f766d44c5 Fixed #25515 -- Documented the return value of BaseCommand.handle() 2015-10-06 15:08:15 -04:00
Tim Graham
cb15ceb555 Fixed #25516 -- Documented that parallel test excution doesn't work with pdb. 2015-10-06 13:25:14 -04:00
Tim Graham
e0837f2cb1 Fixed #25508 -- Modified QuerySet.__repr__() to disambiguate it from a list. 2015-10-06 12:38:34 -04:00
Riccardo Magliocchetti
3543fec3b7 Refs #12118 -- Allowed "mode=memory" in SQLite test database names. 2015-10-06 12:32:05 -04:00
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