Commit Graph

1010 Commits

Author SHA1 Message Date
Adrian Holovaty aa6b13c96b Fixed #1830 -- MySQL inspectdb now detects tinyint field properly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 20:41:37 +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
Georg Bauer a8455bba92 updated translation files - new message IDs from magic removal
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 08:07:45 +00:00
Georg Bauer 3f627e8efa switched el translation to iso-8859-1 to prevent compile-messages and make-messasges abort. The el translation is still broken!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 08:02:21 +00:00
Georg Bauer 947de22e3e updated german translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:48:17 +00:00
Georg Bauer be66d0a5ab fixed #1854: updated icelandic translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:43:39 +00:00
Georg Bauer d2ba1c3cca fixed #1831: added hungarian translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:41:39 +00:00
Georg Bauer 25816ea383 fixed #1817: added translation hooks for 3-letter month names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:38:23 +00:00
Georg Bauer ca197739d9 fixed #1660: added support functions and tags for bidi language support
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:35:20 +00:00
Adrian Holovaty d9c4af6b37 Added first stab at reverse matching to urlresolvers.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 04:05:55 +00:00
Adrian Holovaty 3cef18cb51 Fixed #1884 -- Made django.db.models.options.get_verbose_name smarter. Thanks, Alex Dedul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 18:50:54 +00:00
Adrian Holovaty 55c9e98d86 Fixed #1852 -- Improved TemplateSyntaxError to display the original exception if str() of the exception raises an exception in itself. Thanks, nnorwitz@google.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 04:24:48 +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
Adrian Holovaty fe257d49da Fixed #1864 -- Changed ContentType repr to str
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 04:01:23 +00:00
Malcolm Tredinnick 785ada1bc8 Fixed #1858 : typo in get_FIELD_size() method. Thanks, tom@jerakeen.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 00:15:20 +00:00
Malcolm Tredinnick 1006d6eb06 Fixed #1530 -- make count() respect distinct() on QuerySets. Create some
tests for this as well. Thanks to Adam Endicott for the original patch on which
this is based.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@2902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-14 23:49:29 +00:00
Jacob Kaplan-Moss aa11b3ea50 Fixed #1235: email sent from {{{django.core.mail}}} will now be encoded using
the value of the {{{DEFAULT_CHARSET}}} setting. Thanks, igor@goryachev.org and akaihola.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@2901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-13 17:18:42 +00:00
Luke Plant 5c0e4f3908 Fixed CsrfMiddleware post processing so that it in the presence of multiple
POST <form>s, only one <input> tag is added with an id, for HTML validity.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@2900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 22:32:47 +00:00
Luke Plant c26553c4f9 Fixed #1827 - added 'id' attribute to generated CSRF hidden field. Good call, Ian Holsman.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 21:55:53 +00:00
Adrian Holovaty edce4128e1 Changed Site model to use str, not repr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 17:51:30 +00:00
Adrian Holovaty 412db6c929 Fixed #1837 -- Gave FlatPage a str
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 14:38:27 +00:00
Adrian Holovaty de3edb74c5 Added Model.__str__() default fallback, and changed Model.__repr__() to embed Model.__str__() within it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-10 16:10:07 +00:00
Adrian Holovaty 3248a28b20 Fixed #1743 -- Updated Norwegian translations. Thanks, espen.grindhaug
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:21:37 +00:00
Adrian Holovaty 6917a9b49a Fixed #1757 -- Updated Dutch translation. Thanks, Rudolph
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:19:14 +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
Adrian Holovaty 2ad386f3b3 Fixed #1804 -- Updated fr translation. Thanks, gael.dev@4now.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:16:54 +00:00
Adrian Holovaty 9869a8ed31 Fixed #1806 -- Updated ja translation. Thanks, mtsuyuki@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:15:35 +00:00
Adrian Holovaty 9cec2928ed Fixed #1752 -- Updated cs translations. Thanks, radek
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:13:14 +00:00
Adrian Holovaty 0627ad320c Fixed #1477 -- Made maxlength overridablef for URLField formfield
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:04:03 +00:00
Adrian Holovaty 05fd735afe Fixed #1797 -- Fixed NameError in ado_mssql backend. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:45:09 +00:00
Adrian Holovaty c63372f3c4 Fixed #1819 -- inspectdb no longer puts null=True for TextField and CharField. Thanks, mir@noris.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:36:14 +00:00
Adrian Holovaty ad181e21c2 Fixed #1818 -- Added better error message for FieldDoesNotExist error. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:29:53 +00:00
Luke Plant 8eecb95ec8 Added CsrfMiddleware to contrib, and documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-08 23:03:08 +00:00
Adrian Holovaty 885dd85b5f Fixed #1785 -- debug view no longer assumes _get_lines_from_file returns None. Thanks, django@binaryfeed.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 23:18:22 +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 d09ae12632 Removed unused code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:47:28 +00:00
Luke Plant 7a62bac56e Made QuerySet slicing return IndexError instead of DoesNotExist (and related changes).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:46:53 +00:00
Adrian Holovaty 71f4568613 Fixed #1776 -- Fixed bug in DateQuerySet when the field is null. Thanks, Christopher Lenz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:35:51 +00:00
Luke Plant 0b73811e26 Fixed QuerySet __getitem__ corner case so that it throws exceptions consistently
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 12:15:19 +00:00
Adrian Holovaty 058ab898b0 Improved runserver to display 'CONTROL-C' vs. 'CTRL-BREAK' based on the current platform
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:29:22 +00:00
Adrian Holovaty eb4bbbb6f3 Fixed #1777 -- Fixed bug in date conversion in SQLite backend. Thanks, dart@google.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:27:49 +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 a0872543a7 Fixed #1722 -- Fixed bug in CommentManager.user_is_moderator(). Thanks, Jure Cuhalev
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 12:52:15 +00:00
Adrian Holovaty cca0e7346d Fixed #1762 -- Fixed Windows error in django.core.management. Thanks, ross.lazarus@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 04:08:14 +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 503a27d212 Fixed #1707 -- LocaleMiddleware now sets Content-Language header. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:19:16 +00:00
Adrian Holovaty 427a54b4a3 Fixed #1719 -- Added rlcompleter autocompletion to 'manage.py shell' if IPython is not used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:17:51 +00:00
Adrian Holovaty f94f0555bc Fixed #1726 -- Made django/contrib/auth/create_superuser.py a command-line function, and added docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:08:29 +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
Adrian Holovaty 775c06a959 Fixed #1729 -- Changed get_FIELD_filename() to return an empty string when field fiel's value is null. Thanks, rhettg@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:59:58 +00:00