Mitar
1ed6fbcf44
Fixed #21940 -- Added kwargs to contribute_to_class() of model fields..
...
Thanks Kronuz for the suggestion.
2014-08-01 07:41:28 -04:00
Florian Apolloner
a0bfe4ea98
Replaced django-admin.py with django-admin in the man page.
2014-07-31 23:46:49 +02:00
Niclas Olofsson
cdc25ac474
Fixed #22808 -- Made ModelMultipleChoiceField validation more robust to invalid data types..
...
Thanks Mattias Lindvall for the report and inital patch.
2014-07-31 15:29:46 -04:00
Loic Bistuer
7579080899
Used JsonResponse in CBV examples.
...
Thanks Hiroki Kiyohara and Tim Graham for the reviews.
2014-07-31 13:43:46 -04:00
Jürno Ader
76f2f58a18
Fixed #22956 -- Made PermissionManager.get_by_natural_key() use the correct database for content type lookup.
2014-07-31 13:35:27 -04:00
Tim Graham
da59902250
Updated timezone docs to use timezone.now()
...
Thanks James Cleveland for the report and Aymeric for suggesting
the solution.
2014-07-31 12:54:11 -04:00
Anubhav Joshi
0dd05c9e66
Fixed #16383 -- Raised the AttributeError raised in property of an object when used in a template.
...
Thanks maraujop for the report and Hiroki and Tim Graham for review.
2014-07-31 09:13:55 -04:00
Nick Sandford
9d9f0acd7e
Fixed #13163 -- Added ability to show change links on inline objects in admin.
...
Thanks DrMeers for the suggestion.
2014-07-31 08:07:28 -04:00
Tim Graham
9a922dcad1
Fixed flake8 warnings.
2014-07-31 08:06:46 -04:00
Florian Apolloner
4453c80634
Fixed the previous commit for Python3.
2014-07-30 22:22:04 +02:00
areski
97a38de230
Fixed #23112 -- Field.get_choices tries to index an iterable
2014-07-30 21:35:02 +02:00
Tim Graham
c2ab501bab
Fixed test failure on Windows.
...
os.close(fd) is needed to avoid "The process cannot access the file
because it is being used by another process"
2014-07-30 14:31:59 -04:00
Christoph Heer
d47409831f
Fixed #23067 -- Updated docs to use django-admin
2014-07-30 14:14:03 -04:00
Tim Graham
66630f589c
Fixed #23134 -- Fixed typos in docs/ref/models/querysets.txt.
...
Thanks Josh Kupershmidt.
2014-07-30 13:03:54 -04:00
Tim Graham
34c60c42b6
Fixed flake8 errors.
2014-07-30 12:58:53 -04:00
areski
67d7da5fb9
Fixed #23107 -- Made runserver output respect --no-color.
2014-07-30 12:58:53 -04:00
Tim Graham
7fcfefbc4a
Forwardported 1.6.6 release note for #19107 .
2014-07-30 09:33:02 -04:00
Tim Graham
abb97cffdf
Fixed #23132 -- Removed confusing clause in auth docs.
2014-07-30 08:15:13 -04:00
Kit La Touche
17e75d03f9
Fixed #23129 -- Added 'true' and 'false' to `NullBooleanField`.
...
JavaScript serializations of forms will sometimes render the boolean
values as the strings 'true' and 'false', in lower case. Rather than
repeat boilerplate in the JavaScript to circumvent this, it seems
reasonable to allow Django to understand the lower-case versions of the
booleans.
2014-07-29 19:55:55 -04:00
Andrew Godwin
096a5de5d2
Fixed #23092 : Squashing handles external dependencies
2014-07-29 10:22:00 -07:00
Andrew Godwin
b9a9b052e8
Fixed #23127 : south_migrations note in docs
2014-07-29 10:10:31 -07:00
Andrew Godwin
8ebd6d35d7
Fixed #23090 : Document and enforce not double-squashing migrations
2014-07-29 10:02:59 -07:00
Andrew Godwin
a338e07735
Fixed #23101 : Prefer doing deletes before creates in autodetector.
...
Makes declined or missed renames still work (but drop data).
2014-07-29 09:38:51 -07:00
David Arcos
b9daa4f0e1
Fixed a typo in the admin documentation.
...
The 'app' subpackage does not exist, should be 'app'.
2014-07-29 12:27:35 -04:00
Andrew Godwin
4418559138
Fix soft_applied in a way that doesn't break tests
2014-07-29 09:24:07 -07:00
Andrew Godwin
5ed3834cbe
Make detect_soft_applied exit correctly on non-create migrations
2014-07-29 09:20:03 -07:00
Tim Graham
f294f93a17
Forwardported 1.6.6 release notes for refs #20292 .
2014-07-29 09:39:51 -04:00
Tim Graham
e46801f13d
Fixed #23079 -- Added data loss issues to those that will be backported to LTS.
2014-07-29 09:23:03 -04:00
Tim Graham
b012122d30
Fixed #23120 -- Updated GeoDjango tutorial for migrations workflow.
2014-07-29 09:08:49 -04:00
Marc Tamlyn
ef9f109013
Fixed #22962 -- Default values for ArrayField with migrations.
...
Fields normally try to force the default value to a string. As
translatable strings are not valid default values for ArrayField, we can
remove this behaviour which was causing issues with some migrations.
Thanks to @schinckel for the report.
2014-07-29 10:37:11 +01:00
Baptiste Mispelon
e5619330e2
Fixed #23123 -- Don't use a bare except in ModelAdmin documentation
...
Thanks to wkschwartz for the report and to Tim for the patch.
2014-07-29 11:06:32 +02:00
Baptiste Mispelon
62c74abbb0
Fixed #23114 -- Clarified documentation of template lookups.
...
Thanks to gmunumel and Tom Dalton for their help on the patch.
2014-07-29 10:56:24 +02:00
Andrew Godwin
d6e73a876d
Fixed #23121 : AlterModelOptions operation not changing state right
2014-07-28 10:47:28 -07:00
Andrew Godwin
cb60d22bd9
Fixed #23100 : Individual FK creation missing dependencies
2014-07-28 10:32:43 -07:00
Moayad Mardini
668d432d0a
Fixed #22491 -- documented how select_for_update() should be tested.
...
Thanks Andreas Pelme for the report.
2014-07-28 10:57:12 -04:00
Gabriel Muñumel
0af593dbe5
Fixed #23102 -- Documented that sql* commands now respect allow_migrate().
2014-07-28 10:05:41 -04:00
Simon Charette
80708ac772
Fixed #23113 -- ChoiceInput.render should take specified attrs into account.
...
Thanks to Tim Graham for the review.
2014-07-28 10:01:07 -04:00
Aymeric Augustin
729e4ae4f0
Fixed #23074 -- Avoided leaking savepoints in atomic.
...
Thanks Chow Loong Jin for the report and the initial patch.
2014-07-28 14:30:41 +02:00
Aymeric Augustin
53a61d82b3
Fixed #23062 -- Documented how to create superuser.
...
Patch by Tim Graham. Thanks areski for the review.
2014-07-27 15:48:21 +02:00
James Bennett
c83583fb34
Correctly remove extraneous text about keys from previous edit.
2014-07-27 13:49:53 +02:00
James Bennett
fe87f8d670
Update from key ID in security.txt to authorized release keys list.
2014-07-27 13:48:59 +02:00
Florian Apolloner
2f73b527dd
Fixed #23098 -- Checked that lazy choices are not evaluated too soon
...
Thanks Matthieu Agopian for the report.
2014-07-27 13:31:25 +02:00
Florian Apolloner
2ab0ed7b28
Only warn about initial data if fixtures have been found.
2014-07-27 13:23:16 +02:00
Tushar Bhatia
11181a64f9
Fixed #22979 -- Moved bug* tests
2014-07-26 21:05:49 -04:00
David Hoffman
f14898a453
Fixed #23106 -- Updated class-based view reference title.
2014-07-26 20:38:49 -04:00
Abraham Martin
e1347e9253
Fixed #23101 db_table wasn't copied in deconstruct
...
Forward port of 999758fc7a
from
stable/1.7.x
2014-07-26 10:00:02 -07:00
Andrew Godwin
805774df1f
Fixed #22944 : Bad dependency on FK alteration in autodetector
2014-07-26 09:22:19 -07:00
qingfeng
08451f17d0
Fixed #23060 -- Prevented UnicodeDecodeError in debug templatetag
2014-07-26 18:03:19 +02:00
areski
90faa196f6
Fixed #22873 -- Renamed use_debug_cursor to force_debug_cursor to clarify the behavior.
2014-07-26 10:38:46 -04:00
David Hoffman
6d5daa30cf
Fixed #22553 -- Added refreshing queryset info to docs.
2014-07-26 10:27:02 -04:00