1
0
mirror of https://github.com/django/django.git synced 2025-10-20 20:29:14 +00:00

8 Commits

Author SHA1 Message Date
Brian Rosner
abe84c8648 newforms-admin: Removed a print statement in tests/regressiontests/admin_views/tests.py that snuck by.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7708 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-19 16:21:21 +00:00
Brian Rosner
308cef4068 newforms-admin: Fixed #6943 and #7263 -- Handle multiple e-mail addresses when checking if it was mistakenly entered. Also prevent e-mail guessing by checking password before throwing an error. Thanks Michael Newman and Valera Grishin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 19:05:16 +00:00
Simon Willison
86a946a1a6 newforms-admin: Fixed #7483 (thanks, Daniel Roseman) - delete view now correctly links to related objects
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-18 09:00:11 +00:00
Simon Willison
faae7c0faf newforms-admin: AdminSite index and display_login_form method can now take an optional extra_context argument, allowing you to inject extra template variables in to them from an over-ridden method on a subclass
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-13 17:26:30 +00:00
Simon Willison
725293d51a newforms-admin: Made it easier to specify a custom template to be used in the admin section. You can now specify index_template and login_template properties on an AdminSite subclass, and change_form_template, change_list_template, object_history_template and delete_confirmation_template properties on a ModelAdmin subclass.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-13 15:42:43 +00:00
Simon Willison
a33bd6b594 newforms-admin: Added ability to pass extra_context argument to ModelAdmin's add_view, change_view, changelist_view, delete_view and history_view methods. This makes it easier to customise those pages; you can over-ride the methods in your subclass and call the super method with extra_context to feed additional variables to your custom admin templates.
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-12 20:58:56 +00:00
Brian Rosner
be810670ff newforms-admin: Fixed #5999 -- When a session expires properly route the
flow to call the correct view. Thanks favo and Michael Newman.


git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-10 16:05:09 +00:00
Brian Rosner
bb75091bf4 newforms-admin: Fixed #6810 -- Added tests for admin views. Thanks rmyers!
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-06-07 23:09:09 +00:00