Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #25519 -- Made the admin "View site" link point to ↵ | Dheerendra Rathor | 2015-10-22 | 1 | -1/+6 |
| | | | | | | | 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 '/'. | ||||
* | Fixed #25374 -- Made ModelAdmin checks work on instances ↵ | Malcolm Box | 2015-09-11 | 1 | -3/+4 |
| | | | | | | | instead of classes. This allows dynamically-generated attributes to be specified in checked ModelAdmin attributes without triggering errors. | ||||
* | Fixed #24126 -- Deprecated current_app parameter to auth ↵ | lukasz.wojcik | 2015-07-21 | 1 | -4/+4 |
| | | | | views. | ||||
* | Fixed #25032 -- Removed double redirect in admin login. | Jan Pazdziora | 2015-07-03 | 1 | -1/+1 |
| | |||||
* | Fixed #24474 -- Allowed configuring the admin's empty ↵ | Loek van Gent | 2015-06-05 | 1 | -0/+10 |
| | | | | change list value. | ||||
* | Fixed #24553 -- Added the list of available applications ↵ | Riccardo Magliocchetti | 2015-05-11 | 1 | -4/+14 |
| | | | | to AdminSite.each_context() | ||||
* | Removed cases of six.iter* wrapped in a list() | Curtis Maloney | 2015-04-18 | 1 | -3/+2 |
| | | | | | There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases. | ||||
* | Removed code duplication between AdminSite.index() and ↵ | Riccardo Magliocchetti | 2015-04-15 | 1 | -83/+70 |
| | | | | app_index(). | ||||
* | Revert "Fixed #24474 -- Allowed configuring the admin's ↵ | Tim Graham | 2015-04-09 | 1 | -10/+0 |
| | | | | | | | | empty change list value." This reverts commit 72f769f494822981db6df9524b92a2d86f8e69fe. There are several test failures that need to be fixed. | ||||
* | Fixed #24474 -- Allowed configuring the admin's empty ↵ | Loek van Gent | 2015-04-09 | 1 | -0/+10 |
| | | | | change list value. | ||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -7/+8 |
| | |||||
* | Caught all exceptions raised by Engine.get_default(). | Aymeric Augustin | 2015-02-05 | 1 | -2/+8 |
| | | | | | | 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. | ||||
* | Fixed #24055 -- Keep reference to view class for resolve() | Collin Anderson | 2015-01-17 | 1 | -0/+1 |
| | |||||
* | Avoided exceptions in a non-critical check in the admin. | Aymeric Augustin | 2015-01-12 | 1 | -7/+18 |
| | | | | | | 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. | ||||
* | Fixed #22295 -- Replaced permission check for displaying ↵ | Thomas Tanner | 2014-12-31 | 1 | -7/+8 |
| | | | | admin user-tools | ||||
* | Deprecated TEMPLATE_CONTEXT_PROCESSORS. | Aymeric Augustin | 2014-12-28 | 1 | -2/+2 |
| | |||||
* | Deprecated current_app in TemplateResponse and ↵ | Aymeric Augustin | 2014-12-28 | 1 | -3/+7 |
| | | | | render(_to_response). | ||||
* | Fixed #23497 -- Made admin system checks run for custom ↵ | Mosson, Andrew | 2014-12-17 | 1 | -1/+3 |
| | | | | AdminSites. | ||||
* | Fixed #17890 -- Added an extra_context parameter to ↵ | Berker Peksag | 2014-11-29 | 1 | -2/+2 |
| | | | | AdminSite.password_change(). | ||||
* | Removed direct references to template-related settings. | Aymeric Augustin | 2014-11-23 | 1 | -1/+2 |
| | |||||
* | Limited lines to 119 characters in django/ | Tim Graham | 2014-09-05 | 1 | -3/+9 |
| | | | | refs #23395. | ||||
* | Fixed #13749 -- Added link from admin site to front-end ↵ | areski | 2014-08-27 | 1 | -0/+4 |
| | | | | | | site. Thanks romankrv for the suggestion. | ||||
* | Fixed #21132 -- Removed the useless app_name argument to ↵ | Tim Graham | 2014-08-14 | 1 | -3/+2 |
| | | | | | | AdminSite. Thanks MarkusH for the report and Florian for review. | ||||
* | Fixed #13163 -- Added ability to show change links on ↵ | Nick Sandford | 2014-07-31 | 1 | -0/+6 |
| | | | | | | inline objects in admin. Thanks DrMeers for the suggestion. | ||||
* | Fixed #6327 -- Added has_module_permission method to ↵ | Maxime Turcotte | 2014-06-13 | 1 | -6/+5 |
| | | | | | | BaseModelAdmin Thanks chrj for the suggestion. | ||||
* | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | 2014-04-03 | 1 | -11/+11 |
| | | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | ||||
* | Fixed #22329 -- Used label_tag() in some admin auth ↵ | Tim Graham | 2014-03-29 | 1 | -0/+2 |
| | | | | | | templates. refs #17922. | ||||
* | Prevented admin from importing auth.User. | Aymeric Augustin | 2014-03-09 | 1 | -1/+3 |
| | | | | | | | Since we don't enforce order between apps, root packages of contrib apps cannot import models from unrelated apps. Fix #22005, refs #21719. | ||||
* | Removed two imports which are now unused | Alex Gaynor | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | Removed the this_is_the_login_form hack | Claude Paroz | 2014-02-04 | 1 | -4/+0 |
| | | | | | | Refs #21911. Now that we have a more traditional login form, we don't need any more a special field telling us we are dealing with the login form. | ||||
* | Fixed #21911 -- Made admin views redirect to login when ↵ | Claude Paroz | 2014-02-04 | 1 | -1/+10 |
| | | | | | | | | | | | needed Historically, the Django admin used to pass through the request from an unauthorized access to the login view directly. Now we are using a proper redirection, which is also preventing inadvertantly changing data when POSTing login data to an admin view when user is already authorized. Thanks Marc Tamlyn and Tim Graham for the reviews. | ||||
* | Made staff_member_required redirect to login | Claude Paroz | 2014-02-04 | 1 | -1/+4 |
| | | | | Refs #21911. | ||||
* | Avoided importing models from django.contrib.admin. | Aymeric Augustin | 2014-02-01 | 1 | -2/+8 |
| | | | | Fixed #21923. Refs #21719. | ||||
* | Fixed #21829 -- Added default AppConfigs. | Aymeric Augustin | 2014-01-25 | 1 | -1/+1 |
| | | | | | Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion. | ||||
* | Fixed #16905 -- Added extensible checks (nee validation) ↵ | Russell Keith-Magee | 2014-01-20 | 1 | -1/+1 |
| | | | | | | | | | | | framework This is the result of Christopher Medrela's 2013 Summer of Code project. Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian Apolloner, and Alex Gaynor for review notes along the way. Also: Fixes #8579, fixes #3055, fixes #19844. | ||||
* | Fixed #21712 -- Moved autodiscover() to AdminConfig.ready(). | Aymeric Augustin | 2014-01-18 | 1 | -2/+2 |
| | | | | Thanks Marc Tamlyn for the initial version of the patch. | ||||
* | Fixed #21718 -- Renamed has_app to is_installed. | Aymeric Augustin | 2014-01-06 | 1 | -2/+2 |
| | |||||
* | Stopped populating the app registry as a side effect. | Aymeric Augustin | 2013-12-30 | 1 | -1/+0 |
| | | | | | | | Since it triggers imports, it shouldn't be done lightly. This commit adds a public API for doing it explicitly, django.setup(), and does it automatically when using manage.py and wsgi.py. | ||||
* | Renamed AppCache to Apps. | Aymeric Augustin | 2013-12-24 | 1 | -6/+6 |
| | | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). | ||||
* | Used a more translator-friendly format in admin sites.py | Claude Paroz | 2013-12-23 | 1 | -1/+1 |
| | |||||
* | Used application verbose names in the admin. | Aymeric Augustin | 2013-12-22 | 1 | -4/+5 |
| | |||||
* | Moved apps back in the toplevel django namespace. | Aymeric Augustin | 2013-12-22 | 1 | -1/+1 |
| | | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | ||||
* | Expurged INSTALLED_APPS from code and tests. | Aymeric Augustin | 2013-12-22 | 1 | -9/+7 |
| | | | | Except the app cache code and a few specific tests, of course. | ||||
* | Fixed E124 pep8 warnings. | Loic Bistuer | 2013-12-10 | 1 | -1/+2 |
| | |||||
* | Fixed E125 pep8 warnings | Christopher Medrela | 2013-11-28 | 1 | -1/+1 |
| | |||||
* | Fixed #21056 -- AdminSite.app_index no longer blindly ↵ | Keryn Knight | 2013-09-11 | 1 | -2/+13 |
| | | | | accepts any app-labelish input. | ||||
* | Fixed #21063 -- AdminSite app_index should be fail early ↵ | Keryn Knight | 2013-09-09 | 1 | -35/+36 |
| | | | | if the user has no permissions. | ||||
* | Fixed regression introduced by a962286, changed ugettext ↵ | Loic Bistuer | 2013-09-07 | 1 | -4/+4 |
| | | | | to ugettext_lazy. | ||||
* | Added AdminSite attributes for easily changing admin title. | Adrian Holovaty | 2013-09-06 | 1 | -17/+38 |
| | | | | | | | AdminSite now has overridable site_header, site_title and index_title attributes. Changed each admin view to pass these to the context (in a new AdminSite.each_context() method). The intent here is to make it easier to override these things in the common case, instead of having to override a template, which is a bigger burden. | ||||
* | Fixed awkward indentation in admin URLconfs | Adrian Holovaty | 2013-09-06 | 1 | -25/+9 |
| |