Commit Graph

110 Commits

Author SHA1 Message Date
Adrian Holovaty 0c548516bc Fixed #1185 -- Fixed Python 2.4 bug in Django authentication mod_python handler. Thanks, Brian Ray
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 05:10:51 +00:00
Adrian Holovaty 3234a932b2 Fixed #1117 -- Added HttpResponsePermanentRedirect
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03 23:57:14 +00:00
Adrian Holovaty 632914f188 Fixed #1102 -- Fixed some HTML validation errors in admin templates. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 23:32:56 +00:00
Georg Bauer 3e771e6f9a added missing translation hooks to the login form. thx mikael.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-26 11:52:42 +00:00
Adrian Holovaty d971b31695 Fixed #1092 -- Fixed behavior for query-string overrides in admin forms
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 03:37:31 +00:00
Wilson Miner f16033ed91 Adjusted styles on popup calendars to try to avoid clipped text.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 22:24:45 +00:00
Georg Bauer 787dea30c1 added missing translations to the file widget
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 21:27:54 +00:00
Wilson Miner 6c6feb482a Fixed misaligned icon on delete links.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 20:18:04 +00:00
Adrian Holovaty 800cac7e31 Negligible refactoring in django.core.meta.fields and django.contrib.admin.views.main. Taken from #1020. Refs #1020
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-10 05:32:05 +00:00
Georg Bauer 634209ce8e added more translation hooks to javascript code - this time it is the two-column-selection stuff used for permissions in the user admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 10:46:44 +00:00
Adrian Holovaty a8b3d67b7a Fixed #975 -- JavaScript shortcut in raw_id_admin for ManyToManyFields no longer replaces existing values.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:00:57 +00:00
Adrian Holovaty 661613e529 Fixed #1008 -- Added {{ block.super }} in change_form.html admin template. Thanks, Kieran
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:29:56 +00:00
Adrian Holovaty dc2daff31f Fixed inconsistent spacing in contrib.admin.views.main
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:16:17 +00:00
Adrian Holovaty cecd295187 Negligible quoting change to contrib/admin/templates/admin/change_form.html
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:15:23 +00:00
Adrian Holovaty 9832abf6b4 Fixed #1022 -- Fixed bug in admin when deleting models with OneToOne. Thanks, Eric Moritz.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 23:36:31 +00:00
Adrian Holovaty 7106c68e59 Fixed #985 -- Fixed admin docs behavior if docutils isn't installed. Thanks, Tim Keating
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:11:19 +00:00
Adrian Holovaty 4ed33777be Fixed #926 -- Fixed spacing in admin index template/CSS to handle wider words
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:04:07 +00:00
Georg Bauer 631d127bd2 added two more message IDs for translations to dateparse.js - month names and day names in the parser. Updated existing djangojs.po files.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 20:30:20 +00:00
Adrian Holovaty 54618dc0fe Improved django.contrib.admin.views.main to raise ImproperlyConfigured if admin app isn't in INSTALLED_APPS. This avoids one possibility of an obscure error.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 04:55:33 +00:00
Georg Bauer 9cdcef97e1 added more translation hooks for calendar (month names and day first characters where still missing) and updated translation files
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 16:24:42 +00:00
Georg Bauer a841530a13 first take at admin JavaScript translation - translation hooks for the calendar and time picker are added and the german translation is updated
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:30:14 +00:00
Adrian Holovaty b5288e732c Fixed #951 -- Admin bookmarklets no longer assume admin is rooted at '/'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 07:03:23 +00:00
Adrian Holovaty 15ea158c96 Fixed #893 -- Admin 'change password' and 'log out' links no longer assume admin lives at '/admin/'. Thanks, deric@monowerks.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:52:16 +00:00
Adrian Holovaty 9541d7a7c7 Fixed #251 -- Added OR support to queries, via the new 'complex' DB API keyword argument. Updated docs and added unit tests. Also removed old, undocumented '_or' parameter. Thanks, Hugo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 06:14:05 +00:00
Adrian Holovaty 837435a08a Small simplification to request.GET.items() call in contrib.admin.views.main. Thanks, Kieran
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 05:34:51 +00:00
Adrian Holovaty 1f611288c6 Fixed bug in [1504] admin/views/main.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 04:15:36 +00:00
Adrian Holovaty 991bb61242 Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 04:08:46 +00:00
Adrian Holovaty 3cb20c45c7 Moved Apache auth handler to django/contrib/auth/handlers/modpython.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 01:14:23 +00:00
Adrian Holovaty 5066fe528c Added django.contrib.auth, in preparation for moving stuff to it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 01:09:47 +00:00
Adrian Holovaty 2af63d3aab Fixed #954 -- Many-to-many raw_id_admin change page now displays original object(s) correctly. Thanks for reporting, mordaha
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:54:56 +00:00
Adrian Holovaty 5a54455ac8 Negligible spacing fix to admin/templates/widget/foreign.html
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:50:31 +00:00
Adrian Holovaty 467d82c16c Negligible spacing fix to admin.templatetags.admin_modify
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:50:07 +00:00
Adrian Holovaty 2e09e145c0 Fixed #950 -- Fixed typo in admin bookmarklets template. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 14:28:21 +00:00
Georg Bauer bcc02c982f added a new translation tag for the search "go" button
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 10:29:41 +00:00
Adrian Holovaty 5de6fe1b2d Fixed #938 -- Fixed bug in admin model docs with OneToOneField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 23:43:35 +00:00
Adrian Holovaty 7548bfba64 Fixed bug in contrib/admin/templates/admin_doc/model_detail.html
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 23:16:26 +00:00
Adrian Holovaty 6a36699818 Fixed #917 -- Made admin change_list view overridable by custom templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 20:25:56 +00:00
Adrian Holovaty 4cdaf74cec Moved {% extends %} tag to top of template for admin/change_list.html
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 20:22:42 +00:00
Adrian Holovaty 2e7e19e0f2 Moved parts/admin/doc.py to contrib/admin/utils.py, where it belongs. Also caught docutils ImportError in a more controlled way
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 17:20:43 +00:00
Adrian Holovaty f237936a87 Fixed #928 -- Fixed admin documentation breakage after [1443]. Thanks for reporting, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 17:14:11 +00:00
Adrian Holovaty 2564f34c2b Fixed missing {% load i18n %} in admin/templates/admin_doc/bookmarklets.html
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 16:10:49 +00:00
Adrian Holovaty 3ede006fc9 Fixed #911 -- Made template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 22:46:31 +00:00
Adrian Holovaty 37a0c110e2 Fixed #913 -- Made more helpful error for list_filter error. Thanks, Tom Tobin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 06:42:28 +00:00
Adrian Holovaty 9dda4abee1 MERGED NEW-ADMIN BRANCH (except for po/mo files, which will come in a separate commit)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 21:20:09 +00:00
Jacob Kaplan-Moss 4fe5c9b7ee Fixed #906 - thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 15:00:14 +00:00
Adrian Holovaty baba996254 Added translation strings to django/contrib/admin/views/decorators.py. Taken from new-admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1418 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 02:18:37 +00:00
Adrian Holovaty 16da4e69c4 Converted django.contrib.admin.templatetags.adminmedia to use simple_tag decorator
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 01:00:52 +00:00
Georg Bauer 834e7d3482 fixed a typo in a trans template tag. Thx David Ascher (on IRC)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 18:30:31 +00:00
Adrian Holovaty cfc5786d03 Fixed missing {% load i18n %} tag in comments FREE_COMMENT_FORM template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:56:21 +00:00
Adrian Holovaty 6303141fbb Applied translation strings from new-admin to contrib.admin.views.doc
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:02:38 +00:00