Johannes Hoppe
f13bd32110
Refs #14370 -- Fixed typo in ModelAdmin.autocomplete_fields docs.
2017-09-19 08:51:46 -04:00
Johannes Hoppe
94cd8efc50
Fixed #14370 -- Allowed using a Select2 widget for ForeignKey and ManyToManyField in the admin.
...
Thanks Florian Apolloner and Tim Graham for review and
contributing to the patch.
2017-09-18 13:48:02 -04:00
Simon Meers
60443e84b3
Fixed #17985 -- Documented ModelAdmin.lookup_allowed().
2017-09-02 13:54:33 -04:00
Claude Paroz
c651331b34
Converted usage of ugettext* functions to their gettext* aliases
...
Thanks Tim Graham for the review.
2017-02-07 09:04:04 +01:00
chillaranand
dc165ec8e5
Refs #23919 -- Replaced super(ClassName, self) with super() in docs.
2017-01-25 11:53:05 -05:00
Tim Graham
f6acd1d271
Refs #23919 -- Removed Python 2 notes in docs.
2017-01-18 11:51:29 -05:00
Tim Graham
e27e4c0339
Removed versionadded/changed annotations for 1.10.
2017-01-17 20:52:05 -05:00
Tim Graham
d67a46e104
Refs #25135 -- Removed support for the contrib.admin allow_tags attribute.
...
Per deprecation timeline.
2017-01-17 20:52:01 -05:00
Tim Graham
a4cc622363
Fixed typos in docs/ref/contrib/admin/index.txt
2017-01-11 19:01:30 -05:00
Henry Dang
6af23a4521
Fixed #27377 -- Clarified that prepopulated_fields doesn't work with OneToOneField.
2016-12-19 08:33:46 -05:00
Javier Rojas
8ab8a8910c
Doc'd how ModelAdmin.list_display uses short_description.
2016-12-15 15:57:04 -05:00
Michael Scott
1e629928e9
Fixed #27313 -- Allowed overriding admin popup response template.
2016-12-14 18:10:56 -05:00
Doug Harris
413216fb9f
Fixed #27566 -- Clarified overriding ModelAdmin.save_model()/delete_model() docs.
2016-12-08 08:21:59 -05:00
akki
74ed20b49a
Replaced "django" with "Django" in spelling_wordlist.
2016-11-15 17:00:50 -05:00
Riccardo Magliocchetti
a4e9e834e3
Fixed ModelAdmin.get_max_num() example if obj is None.
2016-10-17 07:33:38 -04:00
Zach Borboa
bf91be83d5
Fixed #24941 -- Added ModelAdmin.get_exclude().
...
Thanks Ola Sitarska for the initial patch.
2016-10-07 18:49:28 -04:00
aruseni
9e26a8331d
Fixed typos in docs/ref/contrib/admin/javascript.txt.
2016-10-04 10:18:08 -04:00
aruseni
12b9aa279f
Fixed typo in docs/ref/contrib/admin/javascript.txt.
2016-10-04 10:13:10 -04:00
Austin Simmons
0f6829a68a
Fixed #27076 -- Documented contrib.admin.sites.AdminSite.register().
2016-09-27 12:16:44 -04:00
Jonatas CD
6d6d1b1001
Fixed #27276 -- Doc'd how to reverse admin's login view.
2016-09-26 10:38:34 -04:00
Jeff Willette
bd3dc670b5
Fixed #27099 -- Documented list filter's has_output() method.
2016-09-02 09:41:13 -04:00
Claude Paroz
255fb99284
Fixed #17209 -- Added password reset/change class-based views
...
Thanks Tim Graham for the review.
2016-07-16 10:36:12 +02:00
Tim Graham
c9d0a0f7f4
Fixed #26002 -- Explained ModelAdmin.get_search_results() example.
2016-06-30 09:00:10 -04:00
Tim Graham
abec15ad81
Removed nonexistent attribute in docs/ref/contrib/admin/index.txt
2016-06-15 08:31:38 -04:00
Vytis Banaitis
2f9c4e2b6f
Fixed #19963 -- Added support for date_hierarchy across relations.
2016-06-04 12:14:02 -04:00
Ed Henderson
4a4d7f980e
Fixed #26021 -- Applied hanging indentation to docs.
2016-06-03 11:44:34 -04:00
Tim Graham
46a38307c2
Removed versionadded/changed annotations for 1.9.
2016-05-20 11:44:29 -04:00
Florian Apolloner
9baf692a58
Fixed #26601 -- Improved middleware per DEP 0005.
...
Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-17 07:22:22 -04:00
Tim Graham
c999c8d8f6
Updated admin's jQuery to 2.2.3.
2016-05-17 07:20:06 -04:00
eltronix
ce32c3e2cc
Fixed typo in docs/ref/contrib/admin/index.txt
2016-04-28 18:19:21 -04:00
eltronix
fed7004b8a
Fixed typo in docs/ref/contrib/admin/index.txt
2016-04-27 15:41:37 -04:00
Markus Amalthea Magnuson
08cd6a0e56
Fixed #16327 -- Redirected "Save as new" to change view instead of the changelist.
2016-04-20 11:31:44 -04:00
Markus Amalthea Magnuson
23aa700b78
Fixed #26450 -- Corrected "Save as new" button label in docs.
2016-04-04 08:09:24 -04:00
Tim Graham
b954ad0640
Added intended use in the admin's introduction.
2016-02-18 08:50:22 -05:00
userimack
75143fa13f
Fixed #26182 -- Removed an obsolete (refs #24917 ) paragraph in admindocs.
2016-02-09 09:49:12 -05:00
rowanv
a6ef025dfb
Fixed #26124 -- Added missing code formatting to docs headers.
2016-02-01 10:42:05 -05:00
Yoong Kang Lim
9644e2e968
Fixed #26156 -- Added createsuperuser instructions to admin docs.
2016-01-30 12:32:24 -05:00
Claude Paroz
cf7894be88
Fixed #21113 -- Made LogEntry.change_message language independent
...
Thanks Tim Graham for the review.
2016-01-08 20:34:59 +01:00
Marten Kenbeek
16411b8400
Fixed #26013 -- Moved django.core.urlresolvers to django.urls.
...
Thanks to Tim Graham for the review.
2015-12-31 14:21:29 -05:00
Karen Tracey
5399ccc0f4
Fixed #494 -- Added ability to specify classes on admin inline fieldsets.
...
This includes the ability to collapse inlines by specifying a class named
'collapse'.
2015-12-21 13:50:06 -05:00
Johannes Hoppe
cf546e11ac
Fixed #21221 -- Made form Media and static template tag use staticfiles if installed.
2015-12-10 14:30:19 -05:00
Thomas Grainger
d638cdc42a
Fixed #25165 -- Removed inline JavaScript from the admin.
...
This allows setting a Content-Security-Policy HTTP header
(refs #15727 ).
Special thanks to blighj, the original author of this patch.
2015-12-05 15:51:57 -05:00
Jon Dufresne
7aabd62380
Fixed #25778 -- Updated docs links to use https when available.
2015-12-01 08:01:34 -05:00
Tim Graham
ad167502f3
Fixed #25549 -- Documented auth_user_password_change URL.
2015-11-18 19:35:56 -05:00
Alex Morozov
5abed864ee
Fixed #25710 -- Clarified the docs about what INTERNAL_IPS does.
2015-11-17 10:16:29 -05:00
Agnieszka Lasyk
1f8dad6915
Fixed #25755 -- Unified spelling of "website".
2015-11-16 06:44:14 -05:00
René Fleschenberg
2c72710111
Fixed #25531 -- Documented that admin_order_field supports lookups.
2015-11-14 17:31:21 -05:00
Alex Morozov
99c58c27d5
Fixed #24244 -- Documented contrib.admin.models.LogEntry
2015-11-05 09:47:18 +01:00
Tim Graham
4dea29ec7b
Updated admindocs instructions for the deprecation of patterns().
2015-11-03 14:43:30 +00:00
Bryan Marty
455034d4df
Fixed #21516 -- Updated imports paths for some formset functions/classes.
...
Since refs #21489 , FormSet classes and factories are exposed on the
django.forms package.
2015-10-28 15:44:53 -04:00
Tim Graham
e0c0080e29
Fixed typo in docs/ref/contrib/admin/index.txt
2015-10-26 09:03:04 -04:00
Curtis Maloney
35440ceab7
Optimized docs images and documented the process.
2015-10-24 14:57:21 -04:00
Dheerendra Rathor
59e85f09c6
Fixed #25519 -- Made the admin "View site" link point to sites running on a subpath.
...
Used request.META['SCRIPT_NAME'] as the site_url if it hasn't been
customized from the default value of '/'.
2015-10-22 13:51:00 -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
Tim Graham
54848a96dd
Removed versionadded/changed annotations for 1.8.
2015-09-23 19:31:11 -04:00
ramez
1335aa2fb9
Fixed #15760 -- Added JavaScript events for admin inline forms.
2015-09-21 15:34:44 -04:00
Ryan Allen
fba8655e88
Renamed admin doc image files to match the documentation they are for.
2015-09-11 12:01:13 -04:00
Ryan Allen
6e8ddbaa25
Fixed #25200 -- Updated admin screenshots in docs.
2015-09-11 12:00:10 -04:00
Ola Sitarska
f2f8972def
Fixed #25135 -- Deprecated the contrib.admin allow_tags attribute.
...
Thanks Jaap Roes for the idea and initial patch.
2015-09-08 19:13:43 -04:00
Zan Anderle
f3dc173240
Fixed #24917 -- Made admindocs display model methods that take arguments.
2015-09-07 15:07:39 -04:00
Maxime Lorant
5153a3bfdc
Fixed #25331 -- Removed trailing blank lines in docstrings.
2015-08-31 17:37:21 -04:00
Tim Graham
123984ff66
Fixed #25289 -- Updated admin's jQuery to 2.1.4.
2015-08-31 09:39:43 -04:00
Y3K
b649f68649
Fixed #25262 -- Removed the enable_comments field from FlatPageAdmin.
2015-08-29 08:55:50 -04:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Tim Graham
87d55081ea
Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
...
Thanks hellbeast for the initial patch.
2015-07-27 10:32:47 -04:00
Ali Vakilzade
ecf4ed246a
Fixed signature of ModelAdmin.get_paginator() in docs.
2015-07-20 08:07:31 -04:00
Ben Spaulding
83f6373030
Fixed #25116 -- Removed long-broken admindocs bookmarklets
...
These were broken back in commit 64e11a6
.
2015-07-13 08:18:58 -04:00
Tim Graham
f59667c121
Fixed #25033 -- Added context_processors.auth to documented admin dependencies.
2015-06-27 14:27:03 -04:00
Marten Kenbeek
1e82094f1b
Fixed #21927 -- Made application and instance namespaces more distinct.
...
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Loek van Gent
0207bdd2d4
Fixed #24474 -- Allowed configuring the admin's empty change list value.
2015-06-04 21:06:26 -04:00
Curtis
c005a6620e
Optimise the rest of the PNGs in docs
2015-05-29 15:22:40 +10:00
I am Clinton
32f0c8f796
Cosmetic edits and minor fixes to docs/ref/contrib/admin/index.txt
2015-05-21 20:23:26 -04:00
latyas(懒)
8b106cfaa0
Fixed typo in docs/ref/contrib/admin/index.txt
2015-05-20 08:13:56 -04:00
Riccardo Magliocchetti
bd53db5eab
Fixed #24553 -- Added the list of available applications to AdminSite.each_context()
2015-05-11 12:07:36 -04:00
Dave Hodder
08c980d752
Updated capitalization in the word "JavaScript" for consistency
2015-05-01 13:26:42 -04:00
Markus Bertheau
4a438e400b
Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.
2015-04-28 12:07:02 -04:00
Tim Graham
e15c55e2bf
Fixed #24668 -- Amended ModelAdmin.save_formset() example for #10284 .
...
Thanks Carsten Fuchs.
2015-04-20 10:45:05 -04:00
andredelorme
d5d92260bb
Fixed typo in docs/ref/contrib/admin/index.txt
2015-04-09 13:44:11 -04:00
Tim Graham
1273a7a0e8
Revert "Fixed #24474 -- Allowed configuring the admin's empty change list value."
...
This reverts commit 72f769f494
.
There are several test failures that need to be fixed.
2015-04-08 20:39:59 -04:00
Loek van Gent
72f769f494
Fixed #24474 -- Allowed configuring the admin's empty change list value.
2015-04-08 20:27:01 -04:00
Loek van Gent
35b3158d52
Fixed #24417 -- Added ModelAdmin.get_list_select_related()
2015-03-19 08:52:28 -04:00
Andrei Kulakov
e8a758e941
Fixed #24253 -- Documented staff_member_required decorator.
2015-03-13 14:46:13 -04:00
Floris den Hengst
e42a720ba2
Fixed typos and updated spelling wordlist.
2015-03-07 17:59:03 +01:00
Tim Graham
b4caa91c8b
Added missing parameter to each_context() in doc example.
2015-02-13 10:39:22 -05:00
Joe Simpson
648e516b8d
Added each_context() and a template tip to custom admin view docs.
2015-02-13 10:34:17 -05:00
Loic Bistuer
9d104a21e2
Documented that m2m_changed isn't triggered when M2M is displayed as admin inline.
...
Refs #6707 .
2015-02-05 12:45:08 +07:00
Tim Graham
c79faae761
Removed versionadded/changed notes for 1.7.
2015-02-01 21:02:40 -05:00
Simon Charette
dccf41cff0
Fixed #24186 -- Fixed a typo in the admin docs.
...
Thanks to Keryn Knight for the report.
2015-01-20 11:45:57 -05:00
Tim Graham
2c9e95639e
Removed ModelAdmin.get_formsets() per deprecation timeline; refs #20702 .
2015-01-17 18:02:35 -05:00
Collin Anderson
a420f83e7d
Fixed #24055 -- Keep reference to view class for resolve()
2015-01-17 22:09:10 +07:00
Collin Anderson
e7771ec380
Fixed bad model example in admin docs.
2015-01-13 11:53:03 -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
Tim Graham
c4e796aa1b
Fixed typo in docs/ref/contrib/admin/index.txt.
2015-01-01 08:18:39 -05:00
Thomas Tanner
46068d850d
Fixed #22295 -- Replaced permission check for displaying admin user-tools
2014-12-31 16:31:59 -05:00
Aymeric Augustin
9eb4f28e89
Deprecated TEMPLATE_CONTEXT_PROCESSORS.
2014-12-28 17:02:31 +01:00
Aymeric Augustin
cf0fd65ed4
Deprecated TEMPLATE_LOADERS.
2014-12-28 17:02:30 +01:00
Aymeric Augustin
cf1f36bb6e
Deprecated current_app in TemplateResponse and render(_to_response).
2014-12-28 17:02:29 +01:00
Aymeric Augustin
fdbfc98003
Deprecated some arguments of django.shortcuts.render(_to_response).
...
dictionary and context_instance and superseded by context.
Refactored tests that relied context_instance with more modern idioms.
2014-12-28 17:02:29 +01:00
Tim Graham
c5fb34c47e
Documented AdminSite.has_permission(); refs #22295 .
2014-12-26 09:14:10 -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