| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-02-04 | Removed the this_is_the_login_form hack | Claude Paroz | |
| 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. | |||
| 2014-02-04 | Fixed #21911 -- Made admin views redirect to login when needed | Claude Paroz | |
| 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. | |||
| 2014-02-04 | Made staff_member_required redirect to login | Claude Paroz | |
| Refs #21911. | |||
| 2014-01-26 | Fixed #19774 -- Deprecated the contenttypes.generic module. | Simon Charette | |
| It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review. | |||
| 2014-01-20 | Fixed #16905 -- Added extensible checks (nee validation) framework | Russell Keith-Magee | |
| 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. | |||
| 2014-01-05 | Removed useless model definitions. | Aymeric Augustin | |
| Surprisingly, this commit doesn't change any behavior at all. When a model is defined with the same name as another model in the same app, the definition of the first class is bound to the name of the class regardless of the definition of the second class. | |||
| 2013-12-23 | Imported override_settings from its new location. | Aymeric Augustin | |
| 2013-12-14 | Fixed E127 pep8 warnings. | Loic Bistuer | |
| 2013-12-11 | Fixed #21510 -- Readded search reset link in changelist search bar | Claude Paroz | |
| Thanks moritz.pfeiffer at alp-phone.ch for the report and Tim Graham for the initial patch. | |||
| 2013-11-25 | Fixed #20522 - Allowed use of partially validated object in ↵ | Jay Leadbetter | |
| ModelAdmin.add_view formset validation. Updated ModelAdmin to use form.instance when passing parent model to child inlines for add_view. There is effectively no change in the change_view since the previously passed 'obj' is the same as form.instance. Thanks to meshy for report, and EvilDMP and timo for review. | |||
| 2013-11-23 | Fixed test breakage under python 3 introduced by ↵ | Baptiste Mispelon | |
| a480f8320a5b36501bfd0e8cd70b8dc04adf2d08. | |||
| 2013-11-21 | Fixed #21431 -- GenRel->FK list_filter regression in admin | Anssi Kääriäinen | |
| Report, analysis and tests from stephenmcd. | |||
| 2013-11-21 | Refs #8261 -- Fixed regression introduced by fd219fa. | Loic Bistuer | |
| ModelAdmin displayed the "View on site" link even if the Model didn't define the `get_absolute_url()` method. | |||
| 2013-11-02 | PEP8 cleanup | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | PEP8 | Jason Myers | |
| Signed-off-by: Jason Myers <jason@jasonamyers.com> | |||
| 2013-11-02 | Fixed all E261 warnings | coagulant | |
| 2013-11-02 | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | |
| 2013-10-29 | Fixed #8261 -- ModelAdmin hook for customising the "show on site" button | Unai Zalakain | |
| ``ModelAdmin.view_on_site`` defines wether to show a link to the object on the admin detail page. If ``True``, cleverness (i.e. ``Model.get_absolute_url``) is used to get the url. If it's a callable, the callable is called with the object as the only parameter. If ``False``, not link is displayed. With the aim of maitaining backwards compatibility, ``True`` is the default. | |||
| 2013-10-26 | Fixed all the E203 violations | Alex Gaynor | |
| 2013-10-24 | Fixed #21299 - Changed filters from title to capfirst on admin inline formsets. | Renato Oliveira | |
| Previously there was a mixture of the two which resulted in inconsistent casing. | |||
| 2013-10-24 | Start attacking E231 violations | Alex Gaynor | |
| 2013-10-23 | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | |
| 2013-10-23 | Fixed E225 pep8 warnings. | Tim Graham | |
| 2013-10-21 | Removed some direct settings manipulations in tests; refs #21230. | Bouke Haarsma | |
| 2013-10-21 | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | |
| 2013-10-18 | Fixed #21287 -- Fixed E123 pep8 warnings | Alasdair Nicol | |
| 2013-10-10 | Fixed "redefinition of unused 'foo' from line X" pyflakes warnings. | Tim Graham | |
| 2013-10-04 | Fixed #11277 -- Hid labels of fields with HiddenInput widget in admin forms. | Christopher Medrela | |
| Thanks bartTC for the report. | |||
| 2013-09-19 | Fixed #9532 -- Added min_num and validate_min on formsets. | yokomizor | |
| Thanks gsf for the suggestion. | |||
| 2013-09-16 | Fixed #17627 -- Renamed util.py files to utils.py | Tim Graham | |
| Thanks PaulM for the suggestion and Luke Granger-Brown and Wiktor Kołodziej for the initial patch. | |||
| 2013-09-11 | Fixed #21056 -- AdminSite.app_index no longer blindly accepts any ↵ | Keryn Knight | |
| app-labelish input. | |||
| 2013-09-09 | Fixed #21063 -- AdminSite app_index should be fail early if the user has no ↵ | Keryn Knight | |
| permissions. | |||
| 2013-09-09 | Added a test to show that the user.is_staff check in admin base.html is ↵ | Tim Graham | |
| necessary. refs #21067 | |||
| 2013-09-08 | Removed some more unused local vars | Alex Gaynor | |
| 2013-09-08 | Removed a ton of unused local vars | Alex Gaynor | |
| 2013-09-07 | Fixed #21013 -- Ensure that ModelAdmin.get_queryset is considered for the ↵ | Juan Catalano | |
| admin history view. | |||
| 2013-09-07 | Fixed a test failure introduced in 55a11683f7b094ae4fd0b9fa030d18a12657ba98. | Julien Phalip | |
| 2013-09-05 | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | |
| 2013-09-01 | Converted tests for admin first form widget auto-focus to Selenium. | Ramiro Morales | |
| Refs #1707 and 1c0c879be3. | |||
| 2013-08-29 | Fixed #16433 -- Fixed a help_text/read only field interaction that caused an ↵ | Tim Graham | |
| admin crash. Thanks chris at cogdon.org for the report and admackin for the patch. | |||
| 2013-08-29 | Fixed #20881 -- Removed contrib.auth.models.AbstractUser.get_absolute_url() | Tim Graham | |
| The definition is arbitrary and creates a broken "view on site" link in the admin if a project doesn't define such a URL. | |||
| 2013-08-22 | Fixed #20934 -- Avoided NoReverseMatch in ModelAdmin.changelist_view | Rainer Koirikivi | |
| The view tried to display links to a ModelAdmin's change_view, which resulted in NoReverseMatches if get_urls was overridden to remove the corresponding url. | |||
| 2013-08-19 | Fixed #20640 -- Avoided NoReverseMatch in get_deleted_objects | Rainer Koirikivi | |
| The default delete action resulted in a NoReverseMatch if it were to list any Model with a ModelAdmin with `get_urls` overridden to remove the change url. Catching the error and not displaying the link in that case, as was already done for models with no registered admins. Thanks Keryn Knight for the report. | |||
| 2013-08-16 | Combine consecutive with statements | Claude Paroz | |
| Python 2.7 allows to combine several 'with' instructions. | |||
| 2013-08-15 | Fixed #20895 -- Made check management command warn if a BooleanField does ↵ | Alasdair Nicol | |
| not have a default value Thanks to Collin Anderson for the suggestion and Tim Graham for reviewing the patch. | |||
| 2013-08-02 | Fixed LogEntry.get_admin_url() for non-existent models. | Petr Dlouhý | |
| Regression introduced by [369b6fa]; refs #18169. | |||
| 2013-07-31 | Added a test for AdminSite.app_index_template; refs #8498. | SusanTan | |
| 2013-07-30 | Fixed #19082 -- Enabled admin field pre-population for existing objects. | Julien Phalip | |
| Thanks to msaelices and d1ffuz0r for the initial patch and tests. | |||
| 2013-07-29 | Removed most of absolute_import imports | Claude Paroz | |
| Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way. | |||
| 2013-07-27 | Fixed #11195 -- Added CSS classes to the changelist cells to allow style ↵ | Julien Phalip | |
| customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch. | |||
