1
0
mirror of https://github.com/django/django.git synced 2025-04-25 01:34:38 +00:00

24545 Commits

Author SHA1 Message Date
aruseni
ad524980ac Fixed typo in docs/ref/request-response.txt. 2017-06-20 11:22:26 -04:00
Mads Jensen
de42adf4ff Fixed -- Added fastupdate and gin_pending_list_limit params to GinIndex.
Thanks Tim Graham and Markus Holtermann for review.
2017-06-20 10:54:39 -04:00
Tim Graham
2503ad5154 Fixed -- Removed contradictory description of mod_wsgi docs. 2017-06-20 07:35:55 -04:00
Tim Graham
bdf20c383f Fixed -- Removed unneeded normalize() in timezone.localtime() and make_naive(). 2017-06-20 07:12:41 -04:00
Georg Sauthoff
d0f59054d0 Fixed -- Made feedgenerators write feeds with deterministically ordered attributes. 2017-06-20 05:38:41 -04:00
Paul Tiplady
335a8d7895 Fixed -- Added dbshell support for MySQL client TLS certs. 2017-06-19 18:11:25 -04:00
Anton Samarchyan
a469e158a9 Added tests for PermissionDenied in admin's delete_selected() view. 2017-06-19 16:01:48 -04:00
Tim Graham
7d52de31af Moved admin's action view tests to a separate file. 2017-06-19 16:00:06 -04:00
Anton Samarchyan
57f4b3ce37 Added tests for AdminSite's add/disable/get action methods. 2017-06-19 15:53:51 -04:00
Anton Samarchyan
90294cc2ae Added a test for ModelAdmin.__str__(). 2017-06-19 15:33:21 -04:00
Mariusz Felisiak
24d7fe4933 Refs -- Fixed typo in MigrationRecorder.applied_migrations() comment. 2017-06-19 15:24:41 -04:00
Anton Samarchyan
0b9ccf9e60 Completed test coverage for admin's LogEntry model. 2017-06-19 14:12:38 -04:00
Marti Raudsepp
fda55c71a8 Fixed -- Prevented read-only management commands from creating the django_migrations table.
MigrationRecorder now assumes that if the django_migrations table
doesn't exist, then no migrations are applied.

Reverted documentation change from refs .
2017-06-19 13:04:57 -04:00
François Freitag
4f1eb64ad0 Fixed -- Doc'd behavior of PostgreSQL when manually setting AutoField. 2017-06-19 08:59:16 -04:00
François Freitag
e36598f963 Refs -- Fixed typo in TransactionTestCase._pre_setup() comment. 2017-06-18 21:24:20 -04:00
Tim Graham
d1d7348001 Refs -- Removed BrinIndex.__repr__().
In retrospect, implementing a __repr__() for index subclasses doesn't
seem worthwhile.
2017-06-17 18:41:53 -04:00
Tim Graham
221e6e1817 Fixed -- Restored the uncasted option value in ChoiceWidget template context. 2017-06-17 18:17:23 -04:00
Maciej Jaworski
dc63ad7ac0 Fixed -- Made TextField with choices use a Select widget. 2017-06-17 08:23:32 -04:00
Tim Graham
3b050fd0d0 Fixed -- Prevented localization of attribute values in the DTL attrs.html widget template. 2017-06-17 08:12:05 -04:00
Chandrakant Kumar
2b09e4c88e Fixed -- Made call_command() validate the options it receives. 2017-06-16 21:28:38 -04:00
reficul31
92e286498a Fixed -- Made TransactionTestCase._pre_setup() clear the queries_log so it's less likely to overflow.
TransactionTestCase.assertNumQueries() fails in an overflow situation.
2017-06-16 21:06:13 -04:00
Daniel Wiesmann
6f44f714c9 Fixed -- Allowed GDALRasters to use the vsimem filesystem.
Thanks Tim Graham for the review and edits.
2017-06-16 12:09:05 -04:00
Chandrakant Kumar
f6800a081a Refs -- Corrected or removed invalid call_command() options. 2017-06-16 11:06:01 -04:00
Pavel Rybintsev
874b1f2cac Fixed -- Fixed stale ContentType deletion in apps without models. 2017-06-16 09:22:47 -04:00
Claude Paroz
ceca221b31 Fixed -- Kept SafeData type for pgettext-translated strings 2017-06-15 21:00:50 +02:00
Claude Paroz
a6b5321ce9 Refs -- Readded inadvertently deleted i18n tests.
Mistake in 97c1931c4f610e80053430d0297d51e1bed1e7ae.
2017-06-14 21:34:33 -04:00
Lincoln Smith
15b465c584 Fixed -- Made ManyToManyField changes logged in admin's object history. 2017-06-14 13:07:06 -04:00
chillaranand
451b585c2f Refs -- Used __qualname__ in model operations' deconstruct(). 2017-06-14 10:10:22 -04:00
chillaranand
fb0f987f7d Fixed -- Added support for nested classes in Field.deconstruct()/__repr__(). 2017-06-14 10:10:17 -04:00
Adam Bogdał
9f4e0fde0a Moved common code to RelatedField.deconstruct(). 2017-06-14 08:57:43 -04:00
Adam Bogdał
bd0c9388c0 Added additional field_construction tests for related fields. 2017-06-14 08:57:43 -04:00
Adam Bogdał
cd2fe829dd Fixed -- Deconstructed the limit_choices_to option of related fields.
Migrations will now be created for changes to limit_choices_to.
2017-06-14 08:57:24 -04:00
Tim Graham
f2b6986317 Fixed -- Doc'd removal of Select.render_option() (refs ). 2017-06-14 06:11:17 -04:00
Matthias Kestenholz
e8c056c31a Fixed -- Doc'd how to raise a model validation error for a field not in a model form. 2017-06-13 20:26:36 -04:00
Romulo Furtado
9dd2443942 Fixed -- Fixed form validation when an ArrayField's base_field has choices. 2017-06-13 19:44:24 -04:00
Mariusz Felisiak
de9294727c Added tel input type to admin CSS. 2017-06-13 16:49:57 -04:00
monotonee
7c4f05fae2 Fixed -- Made admin's URLify.js trim trailing hyphens. 2017-06-13 14:58:30 -04:00
monotonee
68812ba868 Added JavaScript tests for contrib.admin's URLify.js. 2017-06-13 14:23:38 -04:00
Tim Graham
7acbe89cc2 Refs -- Updated sql.query.Query.join() docstring.
Follow up to ab89414f40db1598364a7fe4cfac1766cacd2668.
2017-06-13 14:16:52 -04:00
John D'Ambrosio
be68c0bf63 Fixed -- Fixed {% extends %} origin history. 2017-06-13 12:50:54 -04:00
chillaranand
08bda82c23 Fixed -- Used distutils.version.LooseVersion for version parsing. 2017-06-13 10:53:39 -04:00
Mikhail Golubev
e7dc39fb65 Fixed -- Fixed the value of LoginView's "next" template variable. 2017-06-13 09:13:22 -04:00
orf
a118287bca Fixed -- Prevented Paginator's unordered object list warning from evaluating a QuerySet. 2017-06-13 08:13:17 -04:00
Mariusz Felisiak
82175ead72 Fixed -- Fixed union(), intersection(), and difference() when combining with an EmptyQuerySet.
Thanks Jon Dufresne for the report and Tim Graham for the review.
2017-06-13 08:16:16 +02:00
Paulo
9dc83c356d Fixed -- Fixed KeyError in admin's inline form with inherited non-editable pk.
Thanks Robin Anupol for the initial report and workaround.
2017-06-12 21:12:54 -04:00
Tim Graham
c68f5d83c0 Fixed -- Added some guidelines to the coding style docs. 2017-06-12 15:39:09 -04:00
Tim Graham
3d0a0ecd2c Refs -- Removed support for broken Model.__str__() in Model.__repr__().
Returning invalid bytestrings in __str__() is unlikely in Python 3.
2017-06-11 15:52:19 -04:00
Tom
3eb3907bb1 Refs -- Replaced stray super(ClassName, self) with super(). 2017-06-10 20:46:43 -04:00
Collin Anderson
1a49b89470 Fixed -- Added instance's pk to Model.__str__(). 2017-06-09 13:42:53 -04:00
Collin Anderson
7c9cb1ed37 Refs -- Removed hardcoded uses of Model.__str__() in tests. 2017-06-09 13:28:50 -04:00