summaryrefslogtreecommitdiff
path: root/django/contrib/admin
AgeCommit message (Collapse)Author
2006-11-20Fixed #3014 -- Admin 'now' shortcut for DateTimeFields now updates seconds, ↵Adrian Holovaty
too. Thanks for the patch, Esdras Beleza git-svn-id: http://code.djangoproject.com/svn/django/trunk@4087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2972: prepopulate_from now works with multiple slugs on the same ↵Jacob Kaplan-Moss
field. Thanks, Archatas. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07Fixed #2975: dateparse.js now correctly handles the last day of the year. ↵Jacob Kaplan-Moss
Thanks, wangbin@exoweb.net. git-svn-id: http://code.djangoproject.com/svn/django/trunk@4032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30Fixed #2968 -- Changed arguments to __import__ to use empty dictionary ↵Adrian Holovaty
instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Fixed #648 -- Added comment syntax to template system: {# #}. Thanks for the ↵Adrian Holovaty
patch, mccutchen@gmail.com and Hawkeye git-svn-id: http://code.djangoproject.com/svn/django/trunk@3931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Fixed #2925 -- Added missing exception import to admin.views.auth. Thanks, ↵Adrian Holovaty
SmileyChris git-svn-id: http://code.djangoproject.com/svn/django/trunk@3925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Fixed #2943 -- Changed admin select filter box to work properly with ↵Adrian Holovaty
multi-byte characters in verbose_name. Thanks, mtsuyuki@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24Fixed #2955 -- Fixed incorrect verbose-name display in admin delete_stage ↵Adrian Holovaty
message. Thanks for the patch, mattimustang@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29Disabled access to the admin site for inactive accounts, and clarified ↵Russell Keith-Magee
documentation regarding User.is_active. Thanks to Enrico <rico.bl@gmail.com> for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26Fixed #2587 -- Removed some escaping from the summary fields.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23Fixed #2508 -- Added back support for custom edit_inline classes. Thanks,Malcolm Tredinnick
jkocherhans. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22Fixed #2520 -- Fixed a problem with invalid SQL being generated by adminMalcolm Tredinnick
interface in certain circumstances. Patch from favo@exoweb.net. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-11Fixed #2680 -- Made small correction to DateTimeShortcuts.js that was ↵Adrian Holovaty
causing problems in newest Mozilla security update for Debian. Thanks, ant9000@netwise.it git-svn-id: http://code.djangoproject.com/svn/django/trunk@3748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-08Added staff_member_required and permission check to ↵Adrian Holovaty
django.contrib.admin.views.auth.user_add_stage() -- thanks, Robert Bunting git-svn-id: http://code.djangoproject.com/svn/django/trunk@3736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31Made extract_views_from_urlpatterns() in admin.views.doc tolerant of ↵Adrian Holovaty
URLconfs that point to views that don't exist (raise ImportError) git-svn-id: http://code.djangoproject.com/svn/django/trunk@3691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31Fixed #2529 -- Fixed TypeError in admin/doc/views. Thanks for the report and ↵Adrian Holovaty
patch, dummy@habmalnefrage.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22Fixed #2582 -- filter_interface now works on fields with verbose_name ↵Adrian Holovaty
containing quotes. Thanks for reporting, 235 git-svn-id: http://code.djangoproject.com/svn/django/trunk@3649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22Fixed #2570 -- Added 'DejaVu Sans' to admin global.css, because it is more ↵Adrian Holovaty
utf-8 friendly than Bitstream. Thanks for the patch, riklaunim@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22Fixed #2587 -- Removed unnecessary escaping from admin_doc/model_detail.html ↵Adrian Holovaty
template. Thanks for reporting, Gary Wilson git-svn-id: http://code.djangoproject.com/svn/django/trunk@3642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18Fixed bug in [3553] -- Changed admin JavaScript quoting for related-object ↵Adrian Holovaty
popup window not to use repr(), because that produces values such as 123L for longints. Refs #2500 git-svn-id: http://code.djangoproject.com/svn/django/trunk@3613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18Fixed #2540 -- Added one more i18n string to admin/views/doc.py. Thanks, ↵Adrian Holovaty
dummy@habmalnefrage.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18Fixed #2559 -- Added cool new operators for Admin.search_fields, plus ↵Adrian Holovaty
documentation. Thanks, Andy Dustman. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17Changed admin/base.html template to add a NONE,NOARCHIVE meta tag for ↵Adrian Holovaty
robots. Thanks for the idea, Ian Holsman git-svn-id: http://code.djangoproject.com/svn/django/trunk@3600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12Fixed #2533 -- Fixed XHTML error in admin edit_inline_tabular.html template. ↵Adrian Holovaty
Thanks, erikg@codepoet.no git-svn-id: http://code.djangoproject.com/svn/django/trunk@3571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12Fixed #2410 -- Added HTML ID attribute to <form> on admin change-list pages, ↵Adrian Holovaty
for easy targetting with JavaScript and CSS git-svn-id: http://code.djangoproject.com/svn/django/trunk@3568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12Fixed #2527 -- Removed /doc/views/jump/ from admin URLconf. It wasn't being usedAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11Fixed #2500 -- Fixed bug in admin related-object pop-up window when using a ↵Adrian Holovaty
primary key value that isn't an integer. Thanks, Gary Wilson and deryck@samba.org git-svn-id: http://code.djangoproject.com/svn/django/trunk@3553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11Fixed #2506 -- Added more i18n translation strings for admin docs. Thanks, ↵Adrian Holovaty
dummy@habmalnefrage.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-04Fixed #61 -- No more editing hashes when creating users via the admin. ↵Adrian Holovaty
Created a special-case 'Add user' admin view. The change form still displays the hash, for the moment. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-02Fixed #2462 -- Changed showRelatedObjectLookupPopup to open a window that's ↵Adrian Holovaty
800-pixels wide. Thanks for reporting, patrick@vonautomatisch.at git-svn-id: http://code.djangoproject.com/svn/django/trunk@3517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01Modified Calendar and Clock javascript to evaluate popup position at time of ↵Russell Keith-Magee
display, rather than time of page load. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21Part 3 of pedant day: replaced all tabs in Django with spaces. Python the ↵Jacob Kaplan-Moss
way Guido intended it, baby! git-svn-id: http://code.djangoproject.com/svn/django/trunk@3415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21Fixed a bunch of spurious imports, typos, and other small errors turned up ↵Jacob Kaplan-Moss
by a pass through PyFlakes. This covers about the first third of the errors. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21Fixed #2092: added a "is_secure()" method to HttpRequest which correctly ↵Jacob Kaplan-Moss
handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20Fixed #2342 -- Made small fix to DateFieldFilterSpec. Thanks, Alex DedulAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20Fixed #2374 -- Fixed magic-removal API changes in admin template validator. ↵Adrian Holovaty
Thanks, mattimustang@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19Fixed #2332 -- Introduced is_authenticated() method on User and ↵Malcolm Tredinnick
AnonymousUser classes. Recommended its use over is_anonymous in the docs. Changed internal Django use to match this recommendation. Thanks to SmileyChris and Gary Wilson for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-15More pre-emptive escaping of strings that should not be interpreted as HTML.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Escaped variables that should not be interpreted as HTML and which mightMalcolm Tredinnick
contain dangerous characters. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Escaped all strings that should not contain active HTML tags.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed another title string that needed escaping (these strings do needMalcolm Tredinnick
escaping, because they can be created from object strings, in part). git-svn-id: http://code.djangoproject.com/svn/django/trunk@3343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed #2346 -- Escaped string output in titles in admin interface. Thanks GaryMalcolm Tredinnick
Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed #2345 -- escaped object titles in breadcrumb display in admin. ThanksMalcolm Tredinnick
Gary Wilson. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14Fixed #2344 -- Filtered some object string representations through the escapeMalcolm Tredinnick
filter. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11Fixed #2301 -- Fixed HTML problem with list_display_links. Thanks, kilianAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10Fixed #2301 -- Added list_display_links option to 'class Admin', which ↵Adrian Holovaty
regulates which fields in the change list have links. Thanks, kilian git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2142 -- Fixed JavaScript warnings in admin JS. Thanks, ↵Adrian Holovaty
mike.capp@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@3287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2267 -- Admin docs now show help text for fields. Thanks, vidarAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07Fixed #2290 -- Escaped HTML in admin messages. Thanks, SeanAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04Changed admin/templates/admin/index.html to make <caption> translatableAdrian Holovaty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3270 bcc190cf-cafb-0310-a4f2-bffc1f526a37