Commit Graph

134 Commits

Author SHA1 Message Date
Luke Plant 9b86db9bf2 Eliminated lots of mutable default arguments (since they are bugs
waiting to happen and are memory leaks too).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 13:37:34 +00:00
Adrian Holovaty 688cd55708 Fixed #1635 -- Admin-site related-object popup no longer fails for edit_inline objects in IE/Win. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 17:53:00 +00:00
Wilson Miner 06edf11a03 Fixed #1999 -- Sidebar widths are now specified in ems and will scale up with increasing font size.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 15:33:30 +00:00
Wilson Miner cfc546fde6 Fixed #2072 -- Moved IE hacks out of changelists.css into patch-iewin.css to avoid confusion.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 15:17:10 +00:00
Adrian Holovaty 927d4fb1e1 Fixed #2063 -- Made admin date_hierarchy i18n-friendly by using the new YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT technical message IDs. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:26:07 +00:00
Wilson Miner 8b38cff1b0 Fixed #2055 -- Lengthened form labels on login screen to accommodate longer translated strings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 03:32:46 +00:00
Wilson Miner 9ac29dd784 Fixed #744 -- Added icon to display null boolean values in admin changelists.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 03:17:29 +00:00
Adrian Holovaty 350c360776 Negligible spacing change to admin/templates/admin/field_line.html
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:37:59 +00:00
Adrian Holovaty 5099424975 Negligible spacing change to admin/views/main.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:35:23 +00:00
Adrian Holovaty f10af2de24 Fixed #2056 -- Escaped history messages in admin. Thanks, SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 02:10:44 +00:00
Adrian Holovaty 2543d0ae93 Fixed bug in admin where it would redirect infinitely if invalid lookup parameters were given in the URL. Refs #2024
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:25:23 +00:00
Adrian Holovaty ea59344d72 Fixed #2006 -- Admin now quotes strings in breadcrumbs and filters. Thanks, mhf@hex.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:10:01 +00:00
Adrian Holovaty 192c726ee6 Fixed #2050 -- Fixed raw_id_admin display in admin. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:37:57 +00:00
Adrian Holovaty 85ba40f4e2 Fixed #2023 -- 'View on site' now works with non-integer primary keys.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 01:59:16 +00:00
Luke Plant e9c8a9e136 Fixed #2029 - models now sorted by verbose_name_plural in get_admin_app_list - thanks Alex Dedul.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 11:02:32 +00:00
Adrian Holovaty b63157c616 Fixed #1403 -- 'Add' green plus sign no longer appears in admin change forms for fields whose related models don't have an admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 17:54:19 +00:00
Adrian Holovaty d31f190239 Fixed #1959 -- Fixed typo in django/contrib/admin/views/doc.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 04:47:14 +00:00
Adrian Holovaty dd55b5e98a Fixed #1835 -- FilePathField no longer breaks admin model documentation. Thanks, Adam Endicott
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:17:06 +00:00
Jacob Kaplan-Moss 20416b2972 Made a few small tweaks to admin doc pages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 15:17:42 +00:00
Adrian Holovaty 47d18514b0 Fixed #1834 -- Added docstrings to admin template tags. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 20:28:50 +00:00
Adrian Holovaty 51f6a9442c Fixed #1849 -- Slugifying now collapses consecutive hyphens to a single hyphen. Thanks, Tom Insam
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 04:20:04 +00:00
Wilson Miner f1ed2af2bd Added padding fix to container to address reported display issues in Safari.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:17:35 +00:00
Luke Plant df668ee782 Changed the admin index to sort models alphabetically.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:56:03 +00:00
Luke Plant f57e34e990 Fixed #1579 - added support for 'Q' objects in limit_choices_to.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 00:26:24 +00:00
Adrian Holovaty b301640a1b Fixed #1699 -- Fixed JavaScript error in admin site with raw_id_admin and database backend that returns integers as long ints
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:24:42 +00:00
Adrian Holovaty f2ef28fd5c Fixed #1728 -- Fixed broken nav links in password_change_done admin page. Thanks for reporting, mdt@emdete.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:02:11 +00:00
Jacob Kaplan-Moss 583dcdcede Fixed #1583: django.contrib.admin.templatetags.admin_list no longer imports from the non-existant django.parts.media.photos. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 17:09:18 +00:00
Adrian Holovaty 2b551dec40 Fixed bug in admin: raw_id_admin fields weren't displaying their old values next to the form field, due to descriptor-fields change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:09:23 +00:00
Adrian Holovaty f69cf70ed8 MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty 00b3891524 Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, Dexter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-12 13:35:31 +00:00
Adrian Holovaty b9e40b14bc Renamed OneToOne to OneToOneRel to be consistent with ManyToManyRel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 03:35:56 +00:00
Adrian Holovaty b8d8aca5fd Renamed ManyToOne to ManyToOneRel to be consistent with ManyToManyRel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 03:34:47 +00:00
Adrian Holovaty e3e271ff92 Fixed #1600 -- Renamed ManyToMany to ManyToManyRel so people get a clearer error if they use ManyToMany instead of ManyToManyField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 03:32:38 +00:00
Adrian Holovaty e72a6b194d Fixed #1431 -- Removed unneeded line in contrib.admin.templatetags.admin_list. Thanks, salmon@eight.nl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 05:07:22 +00:00
Adrian Holovaty 3daf7bde2e Fixed #1426 -- Made several admin JavaScript improvements. Thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 02:53:00 +00:00
Adrian Holovaty 92c04cb7c6 Negligible formatting change to [2417] -- changed colon use to be consistent
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 21:37:11 +00:00
Jacob Kaplan-Moss b830fa7e78 Exposed model __doc__ in admin docs views which fixes #1408. Thanks, poelzi
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 21:05:50 +00:00
Jacob Kaplan-Moss eeb848bdbd Fixed #889 (Thanks, Tom Tobin)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 19:13:41 +00:00
Jacob Kaplan-Moss 0df9fb8f9a Fixed #620 -- raw_id_admin and limit_choices_to now play well together (thanks to David Schein)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 18:52:54 +00:00
Jacob Kaplan-Moss 3723f83798 Fixed #1404 (thanks, Tom Tobin)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 18:42:25 +00:00
Adrian Holovaty a5fad0eb37 Fixed #1387 -- Fixed some XHTML errors in admin templates. Thanks, vineet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-23 19:05:40 +00:00
Adrian Holovaty c14e692952 Fixed #1250 -- Fixed NameError when trying to delete without related object permissions in admin interface. Thanks, oggie rob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:20:15 +00:00
Adrian Holovaty 97eb38b21d Fixed #1296 -- Made SlugField maxlength configurable. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:15:07 +00:00
Wilson Miner 8626c0f594 Fixed positioning of ordering widget with liquid page widths.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-02 17:09:26 +00:00
Wilson Miner 233708fb68 All admin pages except the dashboard now use liquid page widths, except in IE5.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-30 22:54:10 +00:00
Adrian Holovaty e0e5e1e43d Fixed #939 -- Added 'monospace' fieldset class for admin CSS. Thanks, Tom Tobin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 16:33:26 +00:00
Adrian Holovaty 23d2be1714 Fixed #1274 -- Fixed broken link in navigation in admin password-change template. Thanks, Brian Ray
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 15:45:10 +00:00
Wilson Miner 683c757c54 Removed example.com from default admin templates. One less thing to change in setup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 22:53:50 +00:00
Adrian Holovaty 2483ed749b Removed commented-out decorator syntax in admin template tags. It was looking a bit messy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:29:45 +00:00
Adrian Holovaty bfaff07990 Made small simplification to admin_modify template tag logic
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:25:12 +00:00