Alexander Gaevsky
caeacd94dd
[1.8.x] Refs #24980 -- Fixed incorrect timezone handling in admin calendar widget.
...
Backport of ea7542891a
from master
2016-01-08 17:26:33 -05:00
Alexander Gaevsky
40601e5797
[1.8.x] Fixed #24980 -- Fixed day determination in admin calendar widget.
...
Backport of 44930cc466
from master
2016-01-07 19:15:57 +03:00
Scott Pashley
7688089e0f
[1.8.x] Fixed #26035 -- Prevented user-tools from appearing on admin logout page.
...
Backport of 7cc2efc2d6
from master
2016-01-06 14:00:52 -05:00
Alexander Gaevsky
83174866ac
[1.8.x] Fixed #25465 -- Restored line breaks conversion in admin readonly fields.
...
Backport of 69208a5a1c
from master
2015-12-29 19:56:23 -05:00
Simon Charette
c42e4e736a
Fixed #25622 -- Accounted for generic relations in the admin to field validation
...
Thanks to Jonathan Liuti for the report and Tim Graham for the review.
Conflicts:
django/contrib/admin/options.py
2015-10-29 13:20:44 -04:00
Tim Graham
0d368bfb47
[1.8.x] Fixed #25323 -- Fixed selenium test failures with chromedriver 2.18.
...
Backport of 7ac0cd445e
from master
2015-08-28 14:38:18 -04:00
Tim Graham
3cc67a637a
[1.8.x] Fixed #25299 -- Fixed crash with ModelAdmin.list_display value that clashes with a model reverse accessor.
...
Backport of 9607a04041
from master
2015-08-28 09:03:34 -04:00
Fabrizio Ettore Messina
c652383379
[1.8.x] Fixed #25267 -- Corrected message for admin.E122 system check.
...
Backport of ece78684d9
from master
2015-08-13 13:14:17 -04:00
Andriy Sokolovskiy
d5e3eb986d
[1.8.x] Removed unreachable code
...
Backport of 4359be023b
from master
2015-08-13 13:12:52 -04:00
Alasdair Nicol
7a8460191e
[1.8.x] Fixed #25206 -- Fixed error message when checking a ModelAdmin fieldset's fields.
...
Backport of 8972818289
from master
2015-08-03 08:59:13 -04:00
Tim Graham
ae1d663b79
[1.8.x] Renamed RemovedInDjango20Warning to RemovedInDjango110Warning.
2015-06-23 07:22:16 -04:00
Tim Graham
2456276b02
[1.8.x] Fixed #24851 -- Fixed crash with reverse one-to-one relation in ModelAdmin.list_display
2015-05-28 10:37:31 -04:00
Tim Graham
aeafdf9398
[1.8.x] Fixed #24784 -- Fixed visibility regression in admin's FK widget.
...
Backport of fb94e7b8cf
from master
2015-05-19 21:27:57 -04:00
Tim Graham
77ed1548f2
[1.8.x] Fixed #24676 -- Fixed help text positioning in ``contrib.admin`` filter_* widgets.
...
Backport of 2c3ce26beb
from master
2015-05-01 15:32:45 -04:00
Claude Paroz
cb370f8510
[1.8.x] Updated translations from Transifex
...
Updates for languages: Indonesian, Belarusian, Persian, and Dutch.
2015-04-30 14:27:51 +02:00
Eric Whitmire
901de5fbce
[1.8.x] Fixed #24655 -- Fixed JavaScript path of contrib.admin's related field widget
2015-04-17 11:22:22 -04:00
Claude Paroz
5483c66f85
[1.8.x] Fetched updated contrib translations from Transifex
2015-04-01 15:05:29 +02:00
Tim Graham
20bf320502
[1.8.x] Fixed #24426 -- Displayed admin actions panel when show_full_result_count=False.
...
Backport of 36a17be9f3
from master
2015-03-04 13:56:51 -05:00
Tim Graham
4fa61e0e4f
[1.8.x] Used format_html() in contrib.admin.utils for consistency.
...
Backport of fe42bfaaff
from master
2015-03-04 10:44:44 -05:00
Mathias André
44dd65fb2c
[1.8.x] Removed outdated docstring for get_admin_url().
...
Since a4b8a4b632
the admin
URL returned by get_admin_url() is no longer relative to
the Django admin index page.
Backport of 85757d0e79
from master
2015-03-03 07:47:32 -05:00
Tim Graham
dfcdf64d47
[1.8.x] Fixed #24411 -- Avoided dict key/method clash in admin delete views.
...
Backport of 47b35b1844
from master
2015-02-25 08:07:25 -05:00
Anssi Kääriäinen
155a127afb
[1.8.x] Fixed #24381 -- removed ForeignObjectRel opts and to_opts
...
These cached properies were causing problems with pickling, and in
addition they were confusingly defined: field.rel.model._meta was
not the same as field.rel.opts.
Instead users should use field.rel.related_model._meta inplace of
field.rel.opts, and field.rel.to._meta in place of field.rel.to_opts.
Backport of f95122e541
from master
2015-02-23 07:26:10 -05:00
Loic Bistuer
20b621eb3c
[1.8.x] Fixed #24289 -- Reversed usage of Field.many_to_one and one_to_many.
...
Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion.
Backport of 18c0aaa912
from master
2015-02-14 02:42:06 +07:00
Tim Graham
03f4e2d909
[1.8.x] Fixed #24333 -- Fixed admin history view crash with non-integer slug.
...
Backport of d64baaef3b
from master
2015-02-12 14:20:17 -05:00
Collin Anderson
343c087533
[1.8.x] Refs #14497 -- Handled empty readonly admin FileFields
...
Backport of 07cfe1bd82
from master
2015-02-11 13:01:25 -05:00
Tim Graham
a8b70d251d
[1.8.x] Sorted imports with isort; refs #23860 .
...
Backport of 0ed7d15563
from master
2015-02-09 14:24:06 -05:00
Aymeric Augustin
67787db22a
[1.8.x] Caught all exceptions raised by Engine.get_default().
...
In addition to ImproperlyConfigured, Engine.get_default() may also raise
ImportError or other exceptions. It's better to catch all exceptions in
places where the default engine isn't strictly required.
Backport of 27f9ff45
from master
2015-02-05 20:09:10 +01:00
Riccardo Magliocchetti
4957b8a406
[1.8.x] Fixed #14497 -- Improved admin widget for "read only" FileFields
...
Based on patch by Adam J Forster, Paul Collins, and Julien.
Backport of 2be621e44c
from master
2015-02-04 09:05:41 -05:00
Tim Graham
26e07a996d
[1.8.x] Removed InlineAdminForm.field_count()
...
This method is unused since 337d102b86
Backport of 327a00f48b
from master
2015-02-01 20:13:58 -05:00
Claude Paroz
666c12e529
[1.8.x] Updated en translation catalogs
2015-01-17 11:18:45 +01:00
Claude Paroz
b4ac232907
Fixed #24099 -- Removed contenttype.name deprecated field
...
This finsishes the work started on #16803 .
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
2015-01-16 20:21:34 +01:00
Aymeric Augustin
3bba4b420e
Avoided exceptions in a non-critical check in the admin.
...
This change makes it possible to configure several Django template
engines in a project and still use the admin. On the flip side the
check is silently skipped when no Django template engine is configured.
2015-01-12 21:01:34 +01:00
Aymeric Augustin
a3e783fe11
Deprecated passing a Context to a generic Template.render.
...
A deprecation path is required because the return type of
django.template.loader.get_template changed during the
multiple template engines refactor.
test_csrf_token_in_404 was incorrect: it tested the case when the
hardcoded template was rendered, and that template doesn't depend on the
CSRF token. This commit makes it test the case when a custom template is
rendered.
2015-01-12 21:01:34 +01:00
Muthiah Annamalai
b75c707943
Fixed #24089 -- Added check for when ModelAdmin.fieldsets[1]['fields'] isn't a list/tuple.
2015-01-12 13:47:58 -05:00
Collin Anderson
58833f5197
Made Django's templates get their own LANGUAGE_* variables.
...
Refs #24117
2015-01-12 10:54:59 -05:00
Simon Charette
07988744b3
Fixed #13165 -- Added edit and delete links to admin foreign key widgets.
...
Thanks to Collin Anderson for the review and suggestions and Tim for the
final review.
2015-01-10 12:24:52 -05:00
Daniel Pyrathon
fb48eb0581
Fixed #12663 -- Formalized the Model._meta API for retrieving fields.
...
Thanks to Russell Keith-Magee for mentoring this Google Summer of
Code 2014 project and everyone else who helped with the patch!
2015-01-06 19:25:12 -05:00
Daniel Pyrathon
8958170755
Fixed #9104 -- Moved FieldDoesNotExist to core.exceptions
2015-01-02 10:46:04 -05:00
Thomas Tanner
46068d850d
Fixed #22295 -- Replaced permission check for displaying admin user-tools
2014-12-31 16:31:59 -05:00
Berker Peksag
32ca159c96
Ignored warnings correctly in test_get_formsets_with_inlines_returns_tuples().
...
The subclass check in ModelAdmin.get_formsets_with_inlines() wasn't
tested correctly because of the super() call in
EpisodeAdmin.get_formsets().
2014-12-31 08:24:09 -05:00
Aymeric Augustin
9eb4f28e89
Deprecated TEMPLATE_CONTEXT_PROCESSORS.
2014-12-28 17:02:31 +01:00
Aymeric Augustin
cf1f36bb6e
Deprecated current_app in TemplateResponse and render(_to_response).
2014-12-28 17:02:29 +01:00
Tim Graham
271d4f8f85
Fixed #23948 -- Moved password help text from the template to the form.
...
Thanks Mithos for the report and patch.
2014-12-26 08:09:12 -05:00
Anssi Kääriäinen
f233bf47dd
Fixed #21414 -- Removed RelatedObject and deprecated Field.related.
2014-12-23 10:54:25 -05:00
Collin Anderson
a58cfe8e71
Upgrade jQuery from 1.11.1 to 1.11.2
...
refs #23355
2014-12-22 20:32:00 -05:00
Mosson, Andrew
b7219c7ba5
Fixed #23497 -- Made admin system checks run for custom AdminSites.
2014-12-17 09:11:46 -05:00
Markus Holtermann
aa5ef0d4fc
Fixed #23822 -- Added support for serializing model managers in migration
...
Thanks to Shai Berger, Loïc Bistuer, Simon Charette, Andrew Godwin,
Tim Graham, Carl Meyer, and others for their review and input.
2014-12-15 08:34:15 -05:00
Tim Graham
c7a19f4203
Fixed #23857 -- Fixed admin crash with "save as new" and deleting inline.
...
Thanks amarandon for the report.
2014-12-12 10:24:39 -05:00
Kevin Marsh
e2868308bf
Fixed template tag braces spacing.
2014-12-12 09:34:18 -05:00
Markus Amalthea Magnuson
d4e449d730
Fixed typo in admin deprecation message.
2014-12-11 13:30:31 -05:00