Commit Graph

980 Commits

Author SHA1 Message Date
Adrian Holovaty e449e5c805 Fixed #1227 -- Fixed problem with new {% spaceless %} tag. It now normalizes spaces to a single space rather than no spaces
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 05:18:17 +00:00
Adrian Holovaty 0eaee6f5d4 Fixed #1067 and #276 -- Added a {% spaceless %} tag, available in all templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 01:51:30 +00:00
Adrian Holovaty e260037e16 Fixed #1218 -- Improved model validator to complain for non True/False values for 'db_index' parameter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 01:15:44 +00:00
Adrian Holovaty 39639cfd22 Fixed #1176 -- Changed {% comment %} template tag not to generate a nodelist, so it's now possible to comment-out broken template tags. Thanks, Kieran Holland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 00:48:23 +00:00
Adrian Holovaty d701987fd2 Fixed #1200 -- Admin no longer assumes white default background color. Thanks, boxed at killingar.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 00:17:25 +00:00
Georg Bauer e4e2877b24 fixed #1221 - changed usage of wrong settings variable DEFAULT_ENCODING to the correct DEFAULT_CHARSET.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 20:57:30 +00:00
Georg Bauer 46517e0a57 fixes #1183 - updated 'ja' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 14:48:06 +00:00
Georg Bauer 47e79cec0c fixes #1214 - django.utils.translation doesn't look at DJANGO_SETTINGS_MODULE anymore, but now uses settings.SETTINGS_MODULE instead to construct the project path.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 10:40:09 +00:00
Georg Bauer a6404e24ec updated translation strings and added dutch to LANGUAGES
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 22:08:00 +00:00
Adrian Holovaty 5e6d6fafae Fixed #1202 -- Changed 'manage.py shell' to use IPython if present. Also added '--plain' option, which overrides IPython to use the standard Python interactive prompt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 20:56:10 +00:00
Wilson Miner 11f8bd9d9a Added a link to admin docs in the userlinks block in admin templates.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 17:35:57 +00:00
Adrian Holovaty 51a699dea9 Fixed #1203 -- Fixed two typos in cache.py. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 02:35:14 +00:00
Jacob Kaplan-Moss 353d7e33cb Removed a troublesome line of javascript that caused the many-to-many interface to break on Safari in OS X 10.4.4. Don't you just love web browsers?
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 20:50:04 +00:00
Adrian Holovaty b94d78772f Added 'shell' option to django-admin.py and manage.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 01:57:22 +00:00
Adrian Holovaty 9080d5ad74 Changed project_template so that it doesn't create an 'apps' directory
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 00:14:25 +00:00
Adrian Holovaty 7573756e18 Fixed #1195 -- Fixed formfields.TimeField bug introduced in [1872]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 05:11:13 +00:00
Adrian Holovaty 580a8eb42f Fixed #1110 -- wordwrap template filter now calls str() on input. Thanks, scum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 02:08:29 +00:00
Adrian Holovaty a5005c29be Fixed #1100 -- Admin RelatedObjectLookup JavaScript now works with OneToOneField. Thanks, Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 02:06:00 +00:00
Adrian Holovaty 326136e8a5 Fixed #1144 -- Admin form buttons no longer assume black font color. Thanks, Daniel Poelzleithner
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 02:04:21 +00:00
Adrian Holovaty 11bcc7969d Fixed #1121 -- Changed MySQL backend to use correct character set in MySQL 4.1x/5.x on Win32. Thanks, hipertracker@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:55:37 +00:00
Adrian Holovaty 9f0deae249 Fixed #1034 -- Changed get_last_insert_id to quote database table name. Thanks, rfugger
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:33:59 +00:00
Adrian Holovaty 7d0bf5f2dc Fixed #1188 -- Changed TimeField.html2python to handle microseconds. Thanks, Cheng
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 00:54:35 +00:00
Georg Bauer 928e0a180e fixes #1190 - updated 'ru' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 18:53:39 +00:00
Adrian Holovaty 6719511497 Fixed #1187 -- Added field name to error message for missing PIL. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 06:31:24 +00:00
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
Georg Bauer 491a152c11 fixes #1184 - fixed 'ru' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 01:06:49 +00:00
Georg Bauer 8d307fb8f7 fixes #1180 - added another random number to the get_new_session_key function to prevent early duplicates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-07 11:07:52 +00:00
Adrian Holovaty bbfc645337 Fixed #1181 -- get_in_bulk no longer fails on empty input. Also added unit tests. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 20:43:14 +00:00
Adrian Holovaty 170c3be4b3 Changed debug error view to escape the exception value, so that values in angle brackets aren't hidden by browsers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 16:28:25 +00:00
Georg Bauer 7332b13239 fixes #1161 - added quotes to unique-messages.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 14:09:22 +00:00
Georg Bauer d3b85e30d3 fixes #1166 - updated 'zh_CN' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 12:05:15 +00:00
Adrian Holovaty 1714e79796 Changed repr for MultiValueDict
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-04 17:09:26 +00:00
Georg Bauer b0ad54ec0b fixes #1146 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-04 11:59:46 +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 6cca806943 Added 'dummy' cache backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03 23:41:31 +00:00
Georg Bauer 839bcfe330 fixes #1161 - spaces in filenames should now be handled better (filename parameters are enclosed in "")
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03 22:29:56 +00:00
Adrian Holovaty 53aef92bf8 Fixed #1145 -- Added unit tests for default template filters and fixed two bugs in filters. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-01 18:37:33 +00:00
Adrian Holovaty 4596b1bbfd Changed project_template/settings.py to add helpful comment about forward slashes. Thanks, Michael Hipp
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-31 04:03:40 +00:00
Georg Bauer 25aacbb9f1 fixed #1138 - added 'nl' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 23:45:18 +00:00
Adrian Holovaty 528b4ebd8d Fixed #1139 -- Changed django.core.mail to raise BadHeaderError (a subclass of ValueError) and changed docs/email.txt example to use that
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 22:12:54 +00:00
Adrian Holovaty 8b5c2192e8 Fixed #1135 -- Changed django.core.mail functions not to allow newlines in headers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 20:33:56 +00:00
Adrian Holovaty f7f812cd70 Fixed #1137 -- Added a _contains_() method to SessionWrapper. Thanks, Brant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 19:17:32 +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
Adrian Holovaty 5cff7360cb Fixed #1131 -- Added repr() to MultiValueDict. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 23:11:07 +00:00
Georg Bauer 7337fe4900 added japanese and traditional chinese to the languages list in the global settings (and updated message files)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 23:02:09 +00:00
Georg Bauer e08e19604f fixes #1129 - added new 'zh-tw' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 22:58:41 +00:00
Georg Bauer 37f068ce55 fixes #1126 - new 'ja' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-27 18:47:23 +00:00
Georg Bauer 8efd0dc06d fixes #1118 - updated 'fr' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-26 18:01:15 +00:00
Georg Bauer 50a297c7cd fixes #1114 - 'fr' translations for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-26 18:00:42 +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
Georg Bauer 2a6e1ed930 fixes #1112 - 'ru' translation for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-25 00:37:25 +00:00
Adrian Holovaty b28e5e4133 Added missing context_processors module from [1773]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 04:41:10 +00:00
Adrian Holovaty 49fd163a95 Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify processesors for DjangoContext. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 04:39:59 +00:00
Georg Bauer 02e301053d fixes #1098 - 'cs' translation for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 14:59:05 +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
Adrian Holovaty 909cf0822f Fixed #1093 -- Fixed error in inspectdb from [1688]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 15:53:01 +00:00
Georg Bauer 36a7d90ab2 fixes #1091 - updated 'gl' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 10:44:43 +00:00
Georg Bauer bf5e5163c5 fixes #1087 - updated 'es' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 21:29:24 +00:00
Georg Bauer 0359a18dfd fixes #1079 and #1080 - updated 'sk' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 08:24:21 +00:00
Adrian Holovaty 3a11722860 Changed django.core.formfields.CheckboxSelectMultipleField NOT to use the '_' variable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 03:31:08 +00:00
Georg Bauer e0acc619e8 fixes #1078 - updated 'cs' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 18:16:00 +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
Adrian Holovaty 3235f0298a Fixed #1075 -- Fixed bug in edit_inline. Thanks, Eric Moritz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 19:32:15 +00:00
Adrian Holovaty e296de5500 Changed resolve_variable to resolve integers and floats as integers and floats. Added ifequal unit tests. Refs #959
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 05:33:24 +00:00
Adrian Holovaty 676830165a Fixed #646 -- inspectdb no longer fails on database tables with hyphen in the name. Thanks for reporting, jack at xiph.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 05:13:25 +00:00
Adrian Holovaty 551897b134 Fixed #937 -- autoreload no longer reloads on every request on Windows. Thanks for the patch, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 04:59:35 +00:00
Adrian Holovaty f2e5382811 Fixed #1039 -- Changed file-based cache to cache EOFErrors during pickle. Thanks for the patch, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 04:55:52 +00:00
Adrian Holovaty 5cbbd364c3 Fixed #1041 -- Generic views no longer use deprecated template_loader. Thanks for the patch, Ian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 04:54:18 +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
Georg Bauer 3c4c6e0f96 fixes #1066 - yesno used the wrong way to do translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 15:56:26 +00:00
Adrian Holovaty 2b50cb8c12 Fixed #1040 -- Gave manage.py executable permission and added shebang line. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 03:23:37 +00:00
Adrian Holovaty bf49a1a8f4 Removed django/views/rss, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:34:54 +00:00
Adrian Holovaty e6256ac614 Removed django/views/core, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:33:52 +00:00
Georg Bauer 328836208c added a missed translation to the admin (the error message when you try to add a duplicate record)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 16:30:40 +00:00
Georg Bauer 9fe3ac1322 fixes #1053 - updated 'es' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 16:21:44 +00:00
Adrian Holovaty 5c5bdddede Removed bin/validate.py -- it wasn't being used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 04:55:32 +00:00
Georg Bauer 043215d9b1 updated 'zn_CH' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-10 09:32:51 +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 f60d4eec38 fixes #1036 - updated 'es' translation for JavaScript stuff
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 23:54:51 +00:00
Georg Bauer 81365bb9ef updated javascript catalogs for new translation hooks
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 10:48:42 +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 e6745d3420 Fixed #857 -- Changed default session cookie name from hotclub to sessionid. Django is now 10% less pornish.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:39:31 +00:00
Adrian Holovaty 06a2dc42b2 Fixed #1032 -- CREATE TABLE SQL in Postgres now quotes column name in 'CHECK' clause. Thanks, exoweb adrian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:32:45 +00:00
Adrian Holovaty 7d0bcc5727 Fixed exception-handling bug in defaulttags SsiNode. Thanks, Henryk on IRC
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:30:07 +00:00
Adrian Holovaty 5fe45cb0f8 Fixed #967 -- 'tables' parameter in DB API is now only quoted if needed. Thanks, Russell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:08:51 +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 f6b90c8c2a Fixed #977 -- Fixed timesince() utility. Thanks, pgross@thoughtworks.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:52:27 +00:00
Adrian Holovaty d06a12406b Fixed #998 -- Fixed edge-case bug in debug view for templates with only one line. Thanks, andy@jadedplanet.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:35:38 +00:00
Adrian Holovaty 99f0f414d5 Fixed #1006 -- Fixed error when using ChangeManipulator in a model with raw_id_admin on ForeignKey. Thanks, Gustavo Picon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:32:59 +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 58220b17d6 Fixed #1017 -- Admin now selects single choice for ForeignKey fields if only one choice is available. Thanks for reporting, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:25:17 +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 9e2b463baf Fixed inconsistent spacing in core/meta/fields.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:15:54 +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 b625153b49 Fixed #992 -- Fixed bug in archive_month generic view leaving out the last day of the month. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 01:55:53 +00:00
Adrian Holovaty 36f1aef5ff Fixed #927 -- Non-integer primary keys save() method now works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 01:46:14 +00:00
Georg Bauer 4aedb7386a fixes #1029 - updated 'gl' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-08 15:15:10 +00:00
Georg Bauer 6e13e65568 fixes #1025 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-08 08:44:58 +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 668e8b3df9 Added 'It worked' page, in a empty_urlconf() view in views/debug.py. It's called if the URLconf is empty.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 06:02:09 +00:00
Adrian Holovaty 374a6eaa4c Fixed #1009 -- Fixed small typo in HasAllowableSize validator. Thanks, bsoltani
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:13:18 +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 cef2ffd7e1 fixes #1011 - updated 'es' translation for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 23:18:12 +00:00
Georg Bauer 48b67fe4bb fix for a problem with djangojs missing for some languages. Thx Olivier
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 20:30:56 +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
Georg Bauer f9941eca03 fixes #1005 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 17:59:52 +00:00
Georg Bauer 7119514fed fixes #1001 - new 'es' translations for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 16:49:55 +00:00
Adrian Holovaty 28263d6675 Added conf/project_template/manage.py, which is a light wrapper around django-admin.py that gets installed in each project with 'startproject'. It takes care of the PYTHONPATH and DJANGO_SETTINGS_MODULE business automatically.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:53:31 +00:00
Adrian Holovaty 17108bc190 Negligible capitalization change in django.core.management
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:38:56 +00:00
Adrian Holovaty 50cac9d276 Factored out django.core.management ACTION_MAPPING into DEFAULT_ACTION_MAPPING, so execute_from_command_line now takes an action_mapping parameter (DEFAULT_ACTION_MAPPING by default)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:35:07 +00:00
Adrian Holovaty 6d210ef403 Moved all logic from django-admin.py into django.core.management, into a new execute_from_command_line() function, so it can be called from other scripts. Also improved createproject to disallow 'django' and 'test' as project names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:17:52 +00:00
Adrian Holovaty 85c369001b Debug 400 page now displays special error message if your URLconf is empty.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:04:56 +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
Jacob Kaplan-Moss 0020326520 Fixed bug in get_next_by_FOO/get_previous_by_FOO methods that caused a database error when using those methods along with joining lookup contraints (i.e. "obj.get_next_by_pub_date(related__id__in=some_list)")
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 17:40:19 +00:00
Georg Bauer 9aa1235779 fixes #997 - updated 'sr' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 16:28:29 +00:00
Adrian Holovaty 79be9b2e7d Changed CommonMiddleware so it doesn't assume HTTP_HOST is set.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 15:25:55 +00:00
Adrian Holovaty 3cd7755ec6 Fixed #982 -- Added '__ne__' support for Django models, which apparently wasn't working on Python 2.3 (?)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 03:39:18 +00:00
Georg Bauer 74d69af4e9 fixed #995 - updated 'it' translations for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 20:53:16 +00:00
Georg Bauer 91bd17eb85 fixes #993 - updated 'cy' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 19:33:37 +00:00
Georg Bauer c464e57da9 reverted changes from [1534] and [1536] regarding ticket #966
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 18:54:44 +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 2565d41fb5 fixes #991 - updated 'sv' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 15:25:19 +00:00
Georg Bauer 4040b99b5c fixes #990 - updated 'zh_CN' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 14:12:12 +00:00
Georg Bauer 7dbff908b5 updated all message files for possible new message IDs and new line numbers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:53:26 +00:00
Georg Bauer 4ef077c593 fixes #989 - new 'no' translations for JavaScript
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:48:50 +00:00
Georg Bauer 77e8f50633 fixes #988 - new djangjs translation for 'it'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:47:13 +00:00
Georg Bauer eaed1a7ddb limit packages in javascript_catalog to settings.INSTALLED_APPS and 'django.conf'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:57:46 +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
Georg Bauer 5917fdcf2d added infrastructure code for later javascript translating (currently not active)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:06:16 +00:00
Georg Bauer 946bd1e370 again fix for the popen3 calls in make-messages.py - thx. Olivier
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 22:53:33 +00:00
Georg Bauer 90ff261fbc added 'b' modifier to popen3 calls in make-messages.py to help getting it to run with windows
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 19:04:31 +00:00
Adrian Holovaty 027c47b9b4 Fixed #983 -- Made 'django-admin.py --help' output easier to read. Thanks, Oliver
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-02 20:58:35 +00:00
Georg Bauer c75b1e2b82 fixes #976 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 14:57:54 +00:00
Georg Bauer f920559cda fixes #956, #969 and #955 - updated 'gl', 'sk' and 'es' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 10:40:07 +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 3bf29d2184 Fixed #816 -- FileFields now work in the create_update generic view. Thanks, limodou
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:36:47 +00:00
Adrian Holovaty 9ede371c85 Fixed #971 -- inspectdb for SQLite now introspects field types.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:32:25 +00:00
Adrian Holovaty 38b8d18091 Fixed #965 -- 'django-admin.py sqlsequencereset' now includes m2m tables. Thanks for reporting, exoweb adrian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:09:36 +00:00
Adrian Holovaty a58dc0dbbd Fixed #452 -- Fixed bug in generated DB API for models that have two ManyToManyFields to the same related model.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:02:45 +00:00
Adrian Holovaty 9e2eccc1ab Improved model validator to throw error if a model has two ManyToMany relationships to the same model and doesn't set 'singular'. Refs #452.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 05:46:18 +00:00
Adrian Holovaty e0f0532305 Small fix to a comment in django.core.meta.init
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 05:28:05 +00:00
Jacob Kaplan-Moss c28daf2289 Fixed #757: manually set AutoField values are now respected; also added unit test to verify the correct behavior. Thanks, cygnus.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 03:06:30 +00:00
Adrian Holovaty bf0f6ec3b4 Added allow_empty hook to archive_index date-based generic view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 22:03:50 +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 d89f041139 Fixed bug in QueryDict parse_sql() call under mod_python, which requires query_string to be an empty string, not None
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 04:13:21 +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 0ecdad8593 Moved parse_sql import in django.utils.httpwrappers to the top of the module, not inside QueryDict.__init__()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 02:36:26 +00:00
Adrian Holovaty 804154b9e0 Small importing change in django.utils.httpwrappers. Refs #736.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 02:35:06 +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 674ac13ca6 Fixed #709 -- Added a __contains__ method to MultiValueDict. Thanks, Brantley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 00:19:15 +00:00
Adrian Holovaty e2e98aff6a Fixed #962 -- Gave filter-registration decorator a return statement. Thanks, Kieran
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 00:08:56 +00:00
Jacob Kaplan-Moss ae76186a4f Added mod_python authentication handler and document on authenticating against Django's auth database from Apache
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 18:26:07 +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 29d1598cce Added a GOTCHA comment in django/core/template/init.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:53:05 +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 1ce5ef6166 Fixed error in raw_id_admin on ManyToManyFields caused by [1434] -- they weren't working.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:22:51 +00:00
Adrian Holovaty de7a336486 Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, Swaroop
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 02:05:32 +00:00
Adrian Holovaty 539e5af17c Fixed #490 -- Fixed incorrect handling of cursor.rowcount in yet-unused database_check functionality. Thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 01:04:28 +00:00
Adrian Holovaty 9e3efbecf8 Restored {% debug %} template tag, which was inadvertently removed in [1443]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 20:48:08 +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
Adrian Holovaty 496e777da9 Fixed #947 -- Corrected is_paginated variable in list_detail generic view. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 14:26:04 +00:00
Adrian Holovaty 133839b033 Fixed #943 -- Restored django-admin createsuperuser functionality with no arguments. Thanks, deric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 14:23:02 +00:00
Georg Bauer 79e710b4df fixes #946 - updated 'cs' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 11:06: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 e85b071e47 Fixed #798 and #715 -- Added optional arguments to createsuperuser, for each use in shell scripts. Thanks for the patch, bjorn@exoweb.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 02:57:38 +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 cc3660c07d Fixed #878 -- URLconf regex captures no longer have to be named groups. Old URLconfs (with named groups) still work. This is backwards-incompatible if you've defined custom middleware with a process_view function. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 22:08:51 +00:00
Adrian Holovaty 8c3b41c3e9 Removed unnecessary load_template_source() function in django/core/template/loader.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 21:37:41 +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 3cf5d034db Fixed #931 -- Fixed unordered_list template filter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 19:38:07 +00:00
Georg Bauer 7ff2c879c3 fixes #932 - updated 'cs' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 18:17:16 +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 2fb95f1de6 Changed template library system so that it looks for a module-level variable named 'register' rather than the first instance of template.Library it finds
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 16:43:56 +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
Georg Bauer 5c49a1e391 fixes #929 - updated 'sr' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 15:43:14 +00:00
Adrian Holovaty 0cb2a00369 Added robots meta tag to views.static.serve to block robots from indexing and archiving the directory-index static view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 14:07:04 +00:00
Adrian Holovaty fc102791d8 Fixed bug in [1443] -- slice filter was registered as 'slice_'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 01:55:55 +00:00
Georg Bauer 0e9081e6de loading of templates in includes now reraises the template loading exception instead of returning nothing
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 00:26:16 +00:00
Georg Bauer 53330a9274 unknown sources are now shown correctly as <unknown source> (before it was shown as a tag)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 00:01:11 +00:00
Adrian Holovaty c83fa94391 Fixed bug in [1443] -- Missing Context import in django.core.template.loader
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 23:11:19 +00:00
Adrian Holovaty adef71d2c4 Fixed bug in [1443] -- renamed compile_filters call to compile_filter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 23:10:09 +00:00
Adrian Holovaty ac91a22ec2 Fixed bug in [1443] -- a decorator call was left in
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 23:07:09 +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 5676d5b068 Fixed #923 -- Made WSGI handler tolerant of no QUERY_STRING in os.environ. Thanks, michael.mcewan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 18:41:29 +00:00
Georg Bauer 46c49a859a fixes #910, #918 and #922 - updated 'sk', 'ru' and 'zh_CN' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 17:04:35 +00:00
Adrian Holovaty 8128f440ee Fixed #903 -- Added login_url argument to user_passes_test view decorator. Didn't add it to login_required decorator because that would turn login_required into a callable decorator, which would break backwards compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 07:20:07 +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
Georg Bauer 733e5265fe updated all message files for the new_admin merge
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 23:25:59 +00:00
Adrian Holovaty f0fceb773d Merged mo/po files from new-admin branch
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 21:20:38 +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