1
0
mirror of https://github.com/django/django.git synced 2025-03-17 12:50:46 +00:00

21392 Commits

Author SHA1 Message Date
Tim Graham
aebe7800e8 [1.9.x] Refs #13637 -- Removed unused code in GenericRelatedObjectManager
Appears unused since 585b7acaa359fc1df07269c1a4b4756bdb6703f7.

Backport of 37a5a363215d7c0360ff0a8f57856d373e8c1629 from master
2015-10-02 11:28:03 -04:00
Tim Graham
1084b421f1 [1.9.x] Made a couple tutorial corrections for Django 1.9.
Backport of 8a5a002f2f94eec2a6d01e3004c3e6a2ddccd432 from master
2015-10-01 15:19:10 -04:00
Tim Graham
05968192f7 [1.9.x] Removed an old note (Django 1.4-era) from the tutorial.
Backport of 1515b6a8b375612addc0019d537fcbf0349d942c from master
2015-10-01 14:52:14 -04:00
Tim Graham
3569e9d4a1 [1.9.x] Refs #24505 -- Forwardported 1.8.5 release note.
Backport of 061801e3dfb3f88550cdaeef1a6dd1c24c13d53d from master
2015-09-30 18:47:44 -04:00
David Sanders
d6632f2111 [1.9.x] Clarified that Model.delete() isn't called as a result of a cascading delete.
Backport of 5c6316dc3467fd7b669bea9157f591ac5fd00ec4 from master
2015-09-30 08:44:37 -04:00
Tim Graham
00270ec7f8 [1.9.x] Made cosmetic cleanups to docs/ref/contrib/contenttypes.txt
Backport of b47552b445547e60cc89213f79e02333cb63f270 from master
2015-09-29 19:40:56 -04:00
Tim Graham
59027a4cae [1.9.x] Fixed #25466 -- Added backwards compatibility aliases for LoaderOrigin and StringOrigin.
Thanks Simon Charette for the DeprecationInstanceCheck class.

Backport of 8d1a001ef6dcbbe8053da05cdb3ec99965b0953f from master
2015-09-29 19:20:11 -04:00
David Sanders
60fe6efe50 [1.9.x] Improved "“standalone” Django usage" example.
Backport of ae9f9dc37f39afeaa45c646cf6eef81beffcf021 from master
2015-09-29 15:09:28 -04:00
Tim Graham
e21c6f34de [1.9.x] Fixed #25376 -- Required virtualenv in installation instructions.
Thanks Anjul Tyagi for some of the draft text.

Backport of a523d94b4581ec41c86f5bbaaffdf5bb6b819c2e from master
2015-09-29 14:33:50 -04:00
Antoine Catton
db88e40312 [1.9.x] Refs #16860 -- Fixed password help text when there aren't any validators.
This avoids creating an empty list which is invalid HTML 4.

Backport of 53ccffdb8c8e47a4d4304df453d8c79a9be295ab from master
2015-09-28 15:31:18 -04:00
Tim Graham
0094fb6be8 [1.9.x] Documented auth's login/logout function parameters.
Backport of c14b6b52ff131db263bf06a02f903a73390975da from master
2015-09-28 14:12:32 -04:00
Tim Graham
76aa4cc8a2 [1.9.x] Fixed #24323 -- Documented @admin.register can't be used with super(XXXAdmin in __init__().
Backport of 4cd2bdae07ac5561fdae0eede58c68df4dfcc780 from master
2015-09-28 07:26:51 -04:00
Mariusz Felisiak
6a0b4faf43 [1.9.x] Fixed #25421 -- Fixed test --keepdb option on Oracle.
Backport of a3a6def867c61d24dfded6cbfef7f820409dc739 from master
2015-09-26 19:52:06 -04:00
Claude Paroz
fb901c82bf [1.9.x] Made tests/serializers/models.py a models package
Thanks Tim Graham for the patch series review.
Backport of 50acbf3ff6 from master.
2015-09-26 20:05:23 +02:00
Claude Paroz
df87de345d [1.9.x] Moved remaining of serializers_regress to serializers tests
Backport of 4908222ac from master.
2015-09-26 20:04:51 +02:00
Claude Paroz
b58f88f96d [1.9.x] Moved more serializers_regress to serializers tests
Backport of ddd6a530e from master.
2015-09-26 20:04:21 +02:00
Claude Paroz
a74728b36d [1.9.x] Separated natural key serialization tests
Backport of d59d3caf3 from master.
2015-09-26 20:03:54 +02:00
Claude Paroz
d31c38cddd [1.9.x] Separated JSON serialization tests
Backport of 6dc7af3e01 from master.
2015-09-26 20:03:26 +02:00
Claude Paroz
4eeec2031e [1.9.x] Separated XML serialization tests
Backport of d3cfdfb508 from master.
2015-09-26 20:03:00 +02:00
Claude Paroz
5452d39e01 [1.9.x] Separated YAML serialization tests
Backport of febd5aeec from master.
2015-09-26 20:02:25 +02:00
Rob Hudson
bc4ae0f5eb [1.9.x] Corrected use of 'affect' vs 'effect' in docs.
Backport of 021782d22b80ea57fdd5e040add58adeafaedc55 from master
2015-09-25 18:35:16 -04:00
Tim Graham
260e9f15fe [1.9.x] Fixed #25462 -- Removed Model.__unicode__() in favor of @python_2_unicode_compatible.
Backport of de99f558d806a2a1b30072ec95bc44d412d80dab from master
2015-09-25 15:36:05 -04:00
Tim Graham
ffcf81969b [1.9.x] Removed redundancy in admin_changelist tests.
Backport of c42123adb166fd297116880a5322e4e17b11e33f from master
2015-09-25 10:41:08 -04:00
Ville Skyttä
50ccedae98 [1.9.x] Fixed #25196 -- Normalized database representations in test database messages.
Left over Oracle mostly as-is since it's more complicated.

Backport of afe777639cc1c591df32591e196d4cda5783c615 from master
2015-09-25 10:32:05 -04:00
Tim Graham
f2f4f1cfff [1.9.x] Fixed #25451 -- Added advice about organizing tests.
Backport of 53e89ce2e71411ff9d1c3fd6f2b10d052a4aeace from master
2015-09-25 07:15:50 -04:00
Tzu-ping Chung
9581ac39a8 [1.9.x] Fixed #25457 -- Improved formatting of password validation errors in management command output.
Backport of 7372cdebed19a9d8e5527823c1e6825156babf98 from master
2015-09-24 19:45:48 -04:00
Moritz Sichert
9b5f1880e9 [1.9.x] Refs #25294 -- Added BoundField import for backwards compatibility.
Backport of a51070e7434426467869147608c5a8ca58e21e00 from master
2015-09-24 14:35:17 -04:00
Tim Graham
ca2c5508be [1.9.x] Fixed #25455 -- Optimized dictfetchall() example.
Thanks aklim007 for the suggestion.

Backport of 361f60479d1890e8144fc254d7389a67b35725e9 from master
2015-09-24 13:19:17 -04:00
Tim Graham
a2cf430c80 [1.9.x] Bumped latest Python 2.7 release in docs/ref/databases.txt.
Backport of ce531f7ad783facc5799cf43b59b5ce053aa5d9e from master
2015-09-24 10:56:56 -04:00
Tim Graham
566a01e916 [1.9.x] Removed unused views.debug.linebreak_iter() function.
Backport of fd1e54b923871d9596f9692c0fc576cd40ce3e38 from master
2015-09-24 10:41:10 -04:00
Tim Graham
6c8d36a1ab [1.9.x] Removed unused Aggregate.input_field.
Obsolete since 4a66a69239c493c05b322815b18c605cd4c96e7c.

Backport of 1f84721fac8852ebc85a2b5c95f9a65439b3937c from master
2015-09-24 10:17:33 -04:00
Samir Shah
eae5f738ba [1.9.x] Fixed typo in 1.9 release notes.
Backport of dfa81bb1df81637be333e9a67120a1670703a941 from master
2015-09-24 08:02:06 -04:00
Tim Graham
f20364c7d0 [1.9.x] Bumped version to 1.9a1. 1.9a1 2015-09-23 19:51:08 -04:00
Tim Graham
478d3af000 [1.9.x] Bumped django_next_version in docs config. 2015-09-23 19:36:23 -04:00
Tim Graham
e3f9b0e329 Updated man page for Django 1.9 alpha. 2015-09-23 19:28:55 -04:00
Tim Graham
2634f606d5 Fixed #25386 -- Warned about differences between Engine and DjangoTemplates. 2015-09-23 19:16:16 -04:00
Ryan Allen
25cccca0a2 Fixed #25378 -- Improved tab through experience in admin. 2015-09-23 17:50:10 -04:00
Claude Paroz
c9a02bc8f5 Fixed #25448 -- Eased GISLookup subclassing with custom lookups
When someone needs to build a custom backend-specific GIS lookup, it
is much easier done if getting the spatial operator class happens in
a dedicated method (no need to rewrite the entire as_sql() method).
2015-09-23 22:01:56 +02:00
Claude Paroz
135a9e4fd9 Added some more links in form field docs 2015-09-23 22:01:31 +02:00
Simon Charette
8e8c0792c0 Refs #18081 -- Asserted db constraints are created for fk to proxy models. 2015-09-23 14:59:05 -04:00
Benjamin Wohlwend
de31423130 Fixed #25453 -- Reworded makemigration's ask_not_null_alteration suggestion. 2015-09-23 13:33:41 -04:00
Don Kirkby
dcd7358afd Fixed typo in docs/topics/db/examples/one_to_one.txt 2015-09-23 13:31:14 -04:00
Anton Baklanov
d0ed01cef0 Fixed #25407 -- Removed network dependency in GeoIP tests. 2015-09-23 13:11:57 -04:00
Tim Graham
b1f6046066 Refs #25373 -- Doc'd logging of exceptions during {% include %} rendering. 2015-09-23 11:48:09 -04:00
Tim Graham
6b37719616 Refs #24526 -- Made the django logger handle INFO messages.
Without an explicit 'level', only messages at WARNING or higher
are handled. This makes the config consistent with the docs
which say, "The django catch-all logger sends all messages at
the INFO level or higher to the console."
2015-09-23 11:33:49 -04:00
Tim Graham
7cb3a48843 Fixed #25410 -- Fixed empty ClearableFileInput crash on Python 2.
Reverted "Fixes #24727 -- Prevented ClearableFileInput from masking
exceptions on Python 2" and added a regression test.

This reverts commit 5c412dd8a724b263489c1bd7a2fea381460665d7.
2015-09-23 10:26:19 -04:00
Tim Graham
0e723ead52 Refs #21927 -- Added examples to urls.include() changes in 1.9 release notes. 2015-09-23 09:32:35 -04:00
Matt Deacalion Stevens
f06ce6053c Fixed #25439 -- Added SUCCESS style to termcolor palettes 2015-09-23 09:01:02 +02:00
Henry Jordan
af95eee9fb Fixed #25447 -- Emphasized the need to restart dev server when adding template tags. 2015-09-22 19:37:57 -04:00
Tim Graham
cb1e779ceb Refs #24115 -- Added docs for password updates on bcrypt rounds change. 2015-09-22 19:30:31 -04:00