Commit Graph

1087 Commits

Author SHA1 Message Date
Adrian Holovaty bd5b35069b Fixed #2025 -- Fixed some issues with URL reversal, which still isn't ready for prime time. Thanks, medhat
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:38:16 +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
Adrian Holovaty ab2fb1634f Fixed #2062 -- Added YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT settings, and added technical message IDs of the same names. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:20:32 +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 26b61aa813 Fixed #395 -- Added SESSION_EXPIRE_AT_BROWSER_CLOSE setting, which regulates whether session framework should use browser-session-length cookies.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 22:25:06 +00:00
Luke Plant dbcd2fe985 Fixed #2045 - TypeError thrown if a form does not have the correct enctype for uploading
files.  It throws a ValidationError now, as it should.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 20:47:34 +00:00
Adrian Holovaty fa9722489b Fixed #2061 -- Fixed PostgreSQL index introspection in tables that have dropped columns. Thanks, Chris Chamberlin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 16:27:41 +00:00
Adrian Holovaty 8cd32bddab Fixed bug in Model._get_next_or_previous_in_order()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 15:01:22 +00:00
Adrian Holovaty 56131d0fb9 Fixed #2052 -- Fixed some threading issues for FreeBSD. Thanks, scott@clued-in.co.uk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:57:10 +00:00
Adrian Holovaty b4be0d2487 Fixed #1454 -- Improved DB API quote_only_if_word() so that it doesn't quote 'select' parameters that are not all word characters. Thanks, dja@cdc.msbx.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:47:56 +00:00
Adrian Holovaty cb9cb2045b Fixed #720 -- Added first_on_page() and last_on_page() methods to ObjectPaginator. Thanks, m@bagai.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:29:39 +00:00
Adrian Holovaty 5077f9ceaf Fixed #697 -- Added make_object_list parameter to archive_year generic view. Thanks, jhf@hex.no
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:21:26 +00:00
Adrian Holovaty 5c5d60aa63 Fixed #411 -- CursorDebugWrapper now supports pyformat paramstyle
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:57:07 +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 a2fceea1e3 Changed auth.Permission.__str__() to use str() of self.content_type, not repr()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:33:34 +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 1bf991abb3 Fixed #2049 -- Made isValidEmail validator wider in scope. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 18:08:28 +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 9030236652 Fixed #2000 -- Added 'mimetype' parameter to generic views. Thanks, Ian Holsman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:08:06 +00:00
Adrian Holovaty 7098389fae Fixed #2020 -- <option> values are now escaped in SelectMultipleField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:58:20 +00:00
Adrian Holovaty 8623bd126d Fixed #2036 -- autoreload.py no longer fails for uninstalled 'thread' module. Thanks, plmeister@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:53:23 +00:00
Adrian Holovaty 45518a052b Fixed #2038 -- QuerySet._combine now combines where clause. Thanks, graham@darkcoding.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:52:33 +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
Jacob Kaplan-Moss eb74800b31 Added *args to get_list_or_404, too (refs #2048).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 12:36:01 +00:00
Jacob Kaplan-Moss 4a57ef8588 Fixed #2048 - get_object_or_404 now allows *args as well. Thanks, Joeboy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 12:34:05 +00:00
Adrian Holovaty 2f513e0f0e Added support to django/contrib/auth/handlers/modpython.py for setting DJANGO_SETTINGS_MODULE via a PythonOption instead of SetEnv
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 02:09:07 +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
Adrian Holovaty c86946f000 Added note to default manage.py that a 'missing settings.py' message may be caused by an ImportError in the settings file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30 02:47:33 +00:00
Adrian Holovaty d7e929a85d Fixed #2021 -- Improved Atom feed by outputting rel=alternate. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30 01:12:52 +00:00
Adrian Holovaty d3b1a9ba39 Fixed #2015 -- Fixed sqlinitialdata regexp to handle empty string insertions. Thanks, Steven Armstrong
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30 01:11:27 +00:00
Luke Plant 037f8d5804 Fixed #1584 - auto_now_add fields now work when saving multiple times.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 17:08:58 +00:00
Georg Bauer ea325adae2 fixed #1974: updated fr translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 12:18:12 +00:00
Georg Bauer 33a0aa6c73 fixed wrong encoding denotation in the greek .po file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 12:16:34 +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
Luke Plant 60c3e55b1f Fixed bug with QuerySet.exclude() failing to do negations on Q objects, and
at the same time generalised exclude/QNot so that they work for 'external'
Q objects i.e. ones that simply have 'get_sql' defined.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 23:41:43 +00:00
Adrian Holovaty c21acb6aeb Fixed #1732 -- AttributeErrors in models are no longer ignored by the model validator.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 19:28:55 +00:00
Adrian Holovaty dc378e8ca7 Improved error message if DATABASE_ENGINE is invalid.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 19:02:23 +00:00
Adrian Holovaty 8e9833f261 Fixed #1673 -- Every database backend now raises ImproperlyConfigured if the relevant Python database module raises ImportError
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 18:58:46 +00:00
Luke Plant 0c8ac0972c Made negative indexing on QuerySet instances raise an assertion error (previously
it just returned incorrect results).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 18:41:03 +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 374d02e598 Fixed #1023 -- Base handler no longer calls mail_admins() on SystemExit, in case of forked processes called from views. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 17:30:40 +00:00
Adrian Holovaty a537b8e515 Fixed #1985 -- Got CurrentSiteManager working
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 16:30:42 +00:00
Georg Bauer 674719bc8b fixed 1996: updated nl translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 11:16:58 +00:00
Georg Bauer 33f8059755 fixed broken el_GR translation, thx Jeroen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 11:14:09 +00:00
Adrian Holovaty cac7675f24 Added half of oracle backend. (The other half is all of the special-casing in django/db/models/query.py, which I will be refactoring.) Refs #1990. Thanks, Jason Huggins and tzellman
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 05:37:21 +00:00
Adrian Holovaty 0fd9eef86f Fixed #1935 -- Initial SQL data now works in SQLite if there are multiple statements. Thanks, jpellerin@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 05:20:21 +00:00
Adrian Holovaty f375b54503 Fixed #1634 -- Changed django.core.mail to include 'Date' header in e-mails. Thanks, Eric Walstad
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 04:40:48 +00:00