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
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
69f8840900
Fixed #882 -- Fixed bug when doing django-admin.py sqlclear with SQLite. Thanks, ye7cakf02
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 04:27:50 +00:00
Adrian Holovaty
807b406859
Added translation strings to django/core/meta/fields.py. Taken from new-admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 02:37:57 +00:00
Adrian Holovaty
9898c4ae02
Added translation strings to core/formfields.py. Taken from new-admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1422 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 02:32:37 +00:00
Adrian Holovaty
c60e323e5d
new-admin and trunk: Normalized spacing differences in bin/validate.py between trunk and new-admin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 02:26:08 +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
f57e22495f
Tiny formatting changes to templatetags/i18n.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1412 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 01:03:58 +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
Adrian Holovaty
c5e5c0fc35
Fixed #625 -- Added template-tag decorators simple_tag and inclusion_tag. Taken from new-admin. Thanks, rjwittams
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 00:54:40 +00:00
Georg Bauer
84eb80bbd7
and another little fix to the email sending stuff on password_reset - using Context works much better after importing it
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 00:20:13 +00:00
Georg Bauer
ca683d8ca5
now really fixed the source formatting. brought to you by the magics of IRC-based pair programming
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 00:04:06 +00:00
Georg Bauer
eff2a1fde2
just another small fix to the template_debug layout
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 23:35:28 +00:00
Georg Bauer
73766b1f88
fixed debug view for templates so it starts counting with 1
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 23:31:33 +00:00
Georg Bauer
798e6d5663
mail sending used Template.render, but passed only a dictionary, not a Context object
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 23:10:24 +00:00
Georg Bauer
f0fbd43a57
small fix to the template_debug stuff, it was dropping last characters and didn't split the first line correctly
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 22:57:04 +00:00
Adrian Holovaty
18c7ed74e4
Fixed #896 -- Fixed error in filesystem serve view in Windows. Thanks, Petar Marić and nesh
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 22:41:05 +00:00
Adrian Holovaty
827ebe5368
Converted django/models/__init__.py to use unix newlines, not DOS
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 21:26:04 +00:00
Adrian Holovaty
d922825156
Fixed #892 -- TemplateDoesNotExist errors now get a 'Template-loader postmortem' section on the pretty debug page. Thanks for the idea, David Ascher
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 21:15:51 +00:00
Adrian Holovaty
22746d32a5
Added a get_template_sources generator function to filesystem and app_directories template loaders, so template-loader debugger can hook into it. Refs #892 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 21:14:42 +00:00
Georg Bauer
c616d869ed
fixes #898 - updated 'sk' translation. Additional a small fix in the 'de' translation (removed a "fuzzy").
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 18:31:49 +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
Jacob Kaplan-Moss
f286461e2a
Fixed small typo in User object; thanks David Ascher
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 05:20:27 +00:00
Adrian Holovaty
28fd32318f
Updated django.utils.translation due to template changes from [1379]. From new-admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 03:32:26 +00:00
Georg Bauer
eab4a22596
changed the linebreaks_iter function to use str.find instead of re.finditer, because the latter one has problems with Python 2.3
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 00:06:36 +00:00
Adrian Holovaty
39eac9bdff
Added Wilson's HTML tweaks to the template error screen
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:15:52 +00:00
Adrian Holovaty
21f2d842fa
Added Wilson's CSS tweaks to the template error screen
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:12:24 +00:00
Adrian Holovaty
5d863f1fbd
Fixed #603 -- Added template debugging errors to pretty error-page output, if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:10:17 +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
08a494c40d
Added better error handling for trailing periods in URLconf include()s
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:44:48 +00:00
Adrian Holovaty
fce688cc74
Fixed #886 -- timesince utility now supports microseconds. Thanks, Aaron Swartz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:13:00 +00:00
Georg Bauer
87e0c2a712
updated all message files for translation hooks from [1368]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:31:52 +00:00
Georg Bauer
0e1ae73ad7
another update for the german translations file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:27:47 +00:00
Georg Bauer
8dc25efea8
updated message files for new translation targets (comments) and updated 'de' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:14:54 +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
Georg Bauer
6d6d90ce33
made the message when locale/ or conf/locale/ could not be found a bit more clear
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 16:14:24 +00:00
Adrian Holovaty
d215cbd63a
Added translation strings to django.contrib.comments. Taken from new-admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 15:42:09 +00:00
Georg Bauer
55089cc02d
updated 'sk' translations. Fixes #881
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 22:53:02 +00:00
Georg Bauer
cf84ba3b81
added translation hooks to timesince and updated message files to reflect them (and updated the 'de' translation). Additionally some smallish code changes to timesince (that weird zip thingy was just scary - and there is no need to .floor an integer division)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 21:45:54 +00:00
Georg Bauer
edad9cd687
preliminary fix for DATE_FORMAT and friends in 'cs' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 21:01:34 +00:00
Adrian Holovaty
1663623fad
Fixed grammar error in error message from [1355]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 19:41:43 +00:00
Adrian Holovaty
b58c820558
Fixed #879 -- Middleware loader now throws a better error for MIDDLEWARE_CLASSES value without a dot. Thanks, Noah Slater
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1355 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 19:41:09 +00:00
Adrian Holovaty
ceecf0f7de
Fixed #874 -- Changed debug views to use text/html mime-type instead of DEFAULT_CONTENT_TYPE. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 14:22:02 +00:00
Adrian Holovaty
57981fb2fa
Changed views.defaults page_not_found and server_error to pass in optional template_name override
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 05:47:51 +00:00
Adrian Holovaty
bedf10a98d
Fixed #598 -- Added {% include %} template tag. Added docs and unit tests. Thanks, rjwittams
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 05:44:04 +00:00
Adrian Holovaty
8a2d9fc2f4
Tiny logic tightening in core.template.loader -- taken from new-admin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 05:11:14 +00:00
Adrian Holovaty
7911173ccc
Removed trailing slash in PROFILE_DATA_DIR in profiler-hotshot to match new-admin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 05:04:56 +00:00
Jacob Kaplan-Moss
b6ddc9d3c1
Fixed use of "_" in RelaxNGCompact validator which was conflicting with gettext tag
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 03:39:39 +00:00
Georg Bauer
6c127e3883
fixes #869 - updated 'sk' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 22:34:24 +00:00
Jacob Kaplan-Moss
b4d379d5e1
Fixed #866 : static.serve view no longer opens files in text mode -- thanks, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 13:06:51 +00:00
Georg Bauer
a87d43f809
fixed a bug with some validators that used parameterized gettext_lazy strings and forced them to the default language because of the % operator. Now lazy string interpolation is used.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 11:10:19 +00:00
Georg Bauer
7b201f6e52
fixed a bug that prevented the unique validation to work
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 11:09:36 +00:00
Georg Bauer
e4e28d907a
fixes #753 - ValidationError and CriticalValidationError now accept both strings and promises from gettext_lazy
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 10:41:54 +00:00
Adrian Holovaty
a49fa746cd
Fixed #273 -- BACKWARDS-INCOMPATIBLE CHANGE -- Changed auth.User.password field to add support for other password encryption algorithms. Renamed password_md5 to password and changed field length from 32 to 128. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade information
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 03:33:22 +00:00
Adrian Holovaty
f1a8869339
Fixed #800 -- Fixed bug in treatement of underscores and percent signs in SQLite backend. In order to do this, changed OPERATOR_MAPPING in DB backends to include a format string of the field value, because ESCAPE comes after the field value.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 02:46:15 +00:00
Adrian Holovaty
270377cb37
Fixed #861 -- Model validator now validates unique_together
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 01:45:15 +00:00
Adrian Holovaty
7a80b2cc98
Fixed bug for OneToOneFields in the admin -- the manipulator_validator_unique wasn't doing the correct lookup
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 01:39:18 +00:00
Adrian Holovaty
de770472b1
Fixed #527 -- Changed method_get_related() to use rel.get_related_field() instead of rel.field_name
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1319 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 00:05:18 +00:00
Adrian Holovaty
fc0200857b
Gave formfields.EmailField a maxlength kwarg
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 23:48:36 +00:00
Adrian Holovaty
d778326c52
Gave EmailField a get_internal_type() method and removed it from DATA_TYPES in all the database backends
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 22:41:41 +00:00
Adrian Holovaty
928318faf9
Fixed #484 -- Model validator now raises an error for FloatFields without max_digits or decimal_places
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1314 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 22:28:57 +00:00
Adrian Holovaty
6f249c856b
Fixed #527 and #768 -- Fixed longstanding bug with OneToOneFields. All unit tests now pass
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 22:18:41 +00:00
Adrian Holovaty
3895a825a9
Added SESSION_SAVE_EVERY_REQUEST setting.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:16:13 +00:00
Adrian Holovaty
b5feff3963
Fixed #842 -- 500 error view no longer breaks for local variable named 'items'. Thanks, rjwittams
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 05:17:15 +00:00
Adrian Holovaty
09f32294e8
Fixed #845 -- flatpages middleware no longer throws 404 exception for DEBUG=True. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 04:55:57 +00:00
Georg Bauer
a81d16dada
fixes #837 : updated 'ru' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-18 20:11:50 +00:00
Jacob Kaplan-Moss
1da036040c
Added feed configurations for django.contrib.comments
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-18 16:20:26 +00:00
Georg Bauer
9063955384
fixes #821 - updated slovak translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 16:00:01 +00:00
Jacob Kaplan-Moss
3bbc2bd091
Fixed #825 ; thanks for the suggestions, aaronsw
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 15:27:19 +00:00
Adrian Holovaty
33ffa72e40
Fixed #827 -- For admin list_display functions without a short_description, Django now converts underscores to spaces. Thanks, Aaron Swartz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 15:26:50 +00:00
Adrian Holovaty
56e40c5884
Fixed #815 -- 'select' keyword in DB API calls is now quoted correctly. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 15:00:23 +00:00
Jacob Kaplan-Moss
bb505a87ac
Fixed #823 - cleaned up invalid HTML in debug error template. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 14:19:33 +00:00
Adrian Holovaty
b1603563a3
Fixed #822 -- Changed 500 view to use disclosure triangles instead of up/down arrows. Thanks, aaronsw
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 03:10:03 +00:00
Georg Bauer
6be0210763
fixes #728 , updated no translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 23:22:27 +00:00
Georg Bauer
6c83f8ed92
fixes #807 , #809 and #818 - updated translations for fr, zh_CN and ru.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 18:28:42 +00:00
Georg Bauer
eda3e2c99a
fixed a bug that happened only if the very first gettext call was an ngettext
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 12:13:28 +00:00
Adrian Holovaty
464e84257d
Changed 'django-admin.py startapp' application template to use views.py instead of views package, for simplicity. Updated tutorial to reflect the change.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:00:23 +00:00
Adrian Holovaty
a469d821a1
Changed FormWrapper.fields (from [1253]) to be a property, so that it's only called when needed.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 00:33:50 +00:00
Jacob Kaplan-Moss
991039dd1e
Fixed #587 - iteration through formfields in a FormWrapper is now allowed (thanks, Boffbowsh)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 23:28:43 +00:00
Georg Bauer
14695dc02a
fixes #804 - updated slovak translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 20:08:46 +00:00
Georg Bauer
29be17533a
added new danish translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 18:37:41 +00:00
Jacob Kaplan-Moss
400cf5658d
Added django.views.generic.simple.redirect_to view for issuing simple redirects. Also updated direct_to_template to use render_to_response to be consistant with coding style, and documented the simple generic views.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 17:19:33 +00:00
Jacob Kaplan-Moss
dcb5bc32e0
Added django.views.generic.simple.direct_to_template which renders a given template along with any other params from the URL pattern.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 16:55:26 +00:00
Adrian Holovaty
2c61aff523
Fixed #796 -- Gave AnonymousUser a has_module_perms method.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 14:43:56 +00:00
Jacob Kaplan-Moss
d6aa904487
Fixed #799 : any setting with "SECRET" or "PASSWORD" in the name is escaped in the debug view output (this can be expanded if there are other "naughty words" we want to strip out in the future. Thanks, Ian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 14:35:24 +00:00
Georg Bauer
705a568854
added missing docstring to the blocktrans template tag
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 13:51:31 +00:00
Jacob Kaplan-Moss
d0ec43298a
Fixed bug in postgresql backend that prevented the user of passwords with spaces in them.
...
Use pass *phrases*, folks, they're grrrrreat!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1236 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 05:52:25 +00:00
Jacob Kaplan-Moss
065dd334de
Added NOINDEX tag to debug 500 page (for robots)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 18:50:13 +00:00
Jacob Kaplan-Moss
0710243ea1
Added "pretty" error pages to be used when DEBUG is True.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 17:44:50 +00:00
Georg Bauer
1775ee7d08
fixes #790 and #791 - updated cs and sk translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 15:34:47 +00:00
Georg Bauer
5319f285a6
fixes bug with blocktrans and parameters not actually doing the translation (thx. nesh for the report)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 13:29:38 +00:00
Georg Bauer
4decd32b0e
added the missing icenlandic message file (didn't svn add last time and didn't notice)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1229 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 13:28:42 +00:00
Adrian Holovaty
74865663bb
Fixed #787 -- High-level syndication framework now picks up author details. Also updated documentation. Thanks, mattycakes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1228 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 05:15:40 +00:00
Adrian Holovaty
7626cb0581
Improved Atom feed-generating framework to output <link rel='self'>. Added a feed_url hook to feedgenerator for this purpose, and changed the syndication Feed and views to use it. Also updated docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 04:59:20 +00:00
Adrian Holovaty
7b315b47aa
Fixed #784 -- Atom feeds now use RFC3339 datetime format
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 04:28:31 +00:00
Adrian Holovaty
33b7ef290e
Fixed #786 -- Atom feeds now put links in a href element. Thanks, mattycakes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 04:16:09 +00:00
Adrian Holovaty
f6bf41e59a
Fixed #121 -- Django now quotes all names in SQL queries. Also added unit tests to confirm. Thanks, Robin Munn and Sune.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-14 01:44:35 +00:00
Adrian Holovaty
6e40d8c29f
Fixed #783 -- Added AnonymousUser.id = None. Thanks, EABinGA
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 23:33:05 +00:00
Georg Bauer
fdf2738f0e
fixes #751 , added new icelandic translation (thx Dagur), updated the serbian translation and updated .po files for updated global_settings (because of the new language)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 19:38:31 +00:00
Georg Bauer
0bff994e25
added swedish to the global settings LANGUAGES
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 18:02:55 +00:00
Georg Bauer
c9b3aa399c
fixes #751 - new swedish translation. thx Robin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 17:59:51 +00:00
Adrian Holovaty
3273c981f8
Moved db.quote_name from a model-level function to a method of DatabaseWrapper for all database backends, so quote_name will be accessible in a 'from django.core.db import db' context
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 05:11:41 +00:00
Adrian Holovaty
f7d2e9ea9f
Grammar cleanups for recent documentation and docstring changes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-13 00:19:16 +00:00
Georg Bauer
f3319e45e4
fixes #109 - added translation possibilities for date and time formats (and updated translation files for the new message IDs)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 22:08:54 +00:00
Georg Bauer
367ce0ce92
fixes #764 - the TokenParser now respects string parameters to filters that contain blanks.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 21:45:01 +00:00
Georg Bauer
5f39a6a240
fixes #750 - languages for language-selection can now be restricted by setting LANGUAGES in the projects setting file to some subset of the global_settings provided list.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 21:27:46 +00:00
Georg Bauer
9da6eb5c26
fixed #777 and #775 - updated bn and sk translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 20:57:20 +00:00
Adrian Holovaty
0a74c68eee
Fixed #778 -- Improved isExistingURL validator not to raise ValidationError for URLs that exist but require authorization. Thanks for the report, lakin wrecker.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 20:25:47 +00:00
Adrian Holovaty
1bf6dd7e0e
Added mime_type attributes to feedgenerator RssFeed and Atom1Feed, and made the syndication view use that mime_type. Thanks, James
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 18:32:12 +00:00
Adrian Holovaty
944de9e9e6
Completely refactored legacy RSS framework to the new django.contrib.syndication package. Also added Atom support, changed the way feeds are registered and added documentation for the whole lot. This is backwards-incompatible, but the RSS framework had not yet been documented, so this should only affect tinkerers and WorldOnline. Fixes #329 , #498 , #502 and #554 . Thanks for various patches/ideas to alastair, ismael, hugo, eric moritz and garthk
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 03:44:53 +00:00
Georg Bauer
d47c0a55a2
fixed the "recent actions" list not pointing to the objects detail page - backport of rjwittams fix from new_admin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 01:16:14 +00:00
Adrian Holovaty
da33b656ce
Added README.TXT to contrib.redirects and contrib.flatpages
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-12 00:09:20 +00:00
Georg Bauer
6004fe9573
fix a problem that masks errors in settings files for some users - in those cases you only got "INSTALLED_APPS not defined", but in reality your settings file was broken.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 23:34:08 +00:00
Adrian Holovaty
1873c95b31
Added INSTALLED_APPS to global_settings. It's an empty tuple by default.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 22:56:18 +00:00
Georg Bauer
bf33198f43
updated sk translation and updated all messagefiles for new filenames/linenumbers due to flatpages/redirects reorganization
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 22:10:35 +00:00
Georg Bauer
f1a0213302
added a little tool to fix message-ID duplicates after subversion merges (.po files sometimes merge in rather funny and interesting ways)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 21:35:41 +00:00
Georg Bauer
e780c71127
updated french translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 20:09:38 +00:00
Adrian Holovaty
565a194702
Implemented quote_name() for ado_mssql DB backend. Thanks, Jakub Labath and Eugene Lazutkin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 19:11:11 +00:00
Adrian Holovaty
632b63ad76
Fixed #766 -- Custom methods in admin.list_display can now have an allow_tags attribute, which doesn't strip tags in the methods' output. Thanks, plisk
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 17:15:24 +00:00
Adrian Holovaty
cb222e4d4e
Changed django-admin.py to display help if invoked with no arguments. Thanks, sopel
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 16:42:41 +00:00
Georg Bauer
1fccca25d5
fixes #765 , #767 and #770 - new sk, cs and zh_CN translations. thx vlado, Radek and limodou.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 08:06:21 +00:00
Adrian Holovaty
e0ae394e64
Small bugfix to flatpages URLconf from [1166]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 05:13:57 +00:00
Adrian Holovaty
1b035c35d9
BACKWARDS-INCOMPATIBLE CHANGE -- Moved flatpages and redirects to standalone apps in django.contrib that are NOT installed by default. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for full migration information.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 04:45:05 +00:00
Jacob Kaplan-Moss
57d2a0f62c
Entries in INSTALLED_APPS can now be of the form "django.contrib.*", which
...
means every app under "django.contrib".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-11 02:52:16 +00:00
Adrian Holovaty
8613b74367
Fixed #763 -- cache system now catches OSError for os.remove() call. Thanks, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1158 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10 16:37:45 +00:00
Georg Bauer
45cb728778
and now the actual translation files for bengali ...
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10 11:51:05 +00:00
Georg Bauer
2188f19286
fixes #762 - new bengali translation. Thx. b.ghose
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10 11:50:24 +00:00
Adrian Holovaty
e3e37ed120
Fixed #724 -- Ensured get_next_by_FOO() and get_previous_by_FOO() methods don't skip or duplicate any records in the case of duplicate values. Thanks for reporting the bug, mattycakes@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-10 05:36:41 +00:00
Adrian Holovaty
68397a3654
Fixed #686 -- django-admin.py sqlreset and sqlclear no longer assume the admin app is installed.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 23:50:32 +00:00
Adrian Holovaty
2ef937d0fd
Fixed #683 -- Lightly refactored meta.fields.Field to add an attname attribute.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 23:37:41 +00:00
Adrian Holovaty
aae50fcce0
Fixed #758 -- HTML-escaped admin log items in admin index template. Thanks, Tom Tobin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 23:04:26 +00:00
Adrian Holovaty
95cc5772c3
Factored FORM_FIELD_ID_PREFIX out into a get_id() method in formfields.py -- thanks for the idea, rjwittams
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 22:40:02 +00:00
Jacob Kaplan-Moss
31d18380f9
Fixed #761 ; thanks, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 18:29:58 +00:00
Adrian Holovaty
0b1d24c54d
Renamed enclosure_url, enclosure_length and enclosure_mime_type to give them an 'item_' prefix, in the new RSS framework
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 17:49:57 +00:00
Georg Bauer
0496c113e0
fixed german translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 10:34:30 +00:00
Georg Bauer
ed99b33b07
updated german language file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 10:32:46 +00:00
Georg Bauer
571d94fd3a
updated .po/.mo files for new message IDs and new line numbers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 10:27:41 +00:00
Georg Bauer
ce0876bcc4
added ro and cy to the LANGUAGES setting
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 10:25:02 +00:00
Georg Bauer
87bf29f3b7
fixes #747 - new welsh translation. Thx Esaj.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 08:35:22 +00:00
Georg Bauer
0639a874ed
fixes #756 - added new romanian translation (thx. tibimicu).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 08:24:49 +00:00
Adrian Holovaty
4345866965
Added django.core.rss.Feed -- the new RSS interface. Refs #329 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 00:50:01 +00:00
Adrian Holovaty
3aa236e10d
Changed RSS urlconf to accept any character for param -- not just slashes and alphanumerics
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-09 00:40:47 +00:00
Adrian Holovaty
290040f7fe
Fixed #748 -- Improved error handling in make-messages.py. It no longer clobbers files on error. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 14:21:31 +00:00
Adrian Holovaty
c767e0f4fe
Fixed #669 -- core.Site objects are now editable in the admin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 04:25:29 +00:00
Adrian Holovaty
de5ea0d879
Added Slovak (sk) translation. Thanks, Vlado
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-07 03:42:38 +00:00
Adrian Holovaty
371f63c210
Fixed #742 -- Implemented 't' dateformat. Thanks, radek.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:53:13 +00:00
Adrian Holovaty
d4df074d41
Fixed #109 -- Created DATE_FORMAT, DATETIME_FORMAT and TIME_FORMAT settings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:49:03 +00:00
Adrian Holovaty
5defabca11
Reordered MEDIA_ROOT and MEDIA_URL in global_settings so they're not in the COMMENTS section
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 23:16:24 +00:00
Adrian Holovaty
a218cf5798
Fixed #281 -- Made e-mail address validation much more strict and accurate.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:59:18 +00:00
Adrian Holovaty
0292578745
Fixed #312 -- Fixed bug when adding images in the admin when edit_inline and width field is set. Thanks, nichyoung
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:46:56 +00:00
Adrian Holovaty
4947ae42b8
Fixed #732 -- Updated de translation. Thanks, lucky@knup.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:34:16 +00:00
Adrian Holovaty
611015d858
Fixed #738 -- Updated cs translation. Thanks, radek svarz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:32:19 +00:00
Adrian Holovaty
6d1b5b3b1a
Fixed #727 -- Fixed leftover %() syntax in password_reset_email template. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:30:01 +00:00
Adrian Holovaty
557aa1572c
Fixed #741 -- Made models.core.Session.get_decoded() fault-tolerant, in case of funky pickled data. Thanks, kieranholland
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:28:05 +00:00
Adrian Holovaty
e19c9ccfcb
Reworded docstrings and settings documentation from [1068]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:22:02 +00:00
Adrian Holovaty
b14a50bb35
Fixed #729 -- prepopulate_from (urlify.js) now removes characters that aren't a-z, 0-9 or spaces
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 22:02:40 +00:00
Adrian Holovaty
7e28ba0b4c
Tiny docstring cleanup in middleware/common.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 21:55:57 +00:00
Adrian Holovaty
d5368d341c
Fixed #740 -- Abstracted hard-coded slash in utils/translation.py. Thanks, radek. Also cleaned up docstrings a bit.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 21:55:39 +00:00
Adrian Holovaty
f6ce403140
Small docstring change to django.views.static
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 21:54:37 +00:00
Adrian Holovaty
24f666656f
Fixed #737 -- Changed validators.isValidIPAddress4 to use a single regex. Thanks, mattimustang
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-06 17:55:39 +00:00
Adrian Holovaty
181ee4ae31
Added meta.Admin list_select_related option, which specifies to use select_related in the change-list query
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 18:14:17 +00:00
Adrian Holovaty
8ee33da585
Fixed #734 -- Fixed namespace bug in validators.isValidIPAddress4. Thanks, Hugo and mflanagan
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-05 17:59:16 +00:00
Adrian Holovaty
c55bb7ee40
Fixed #728 -- Updated Norwegian translation. Thanks, Espen
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 16:40:35 +00:00
Adrian Holovaty
a734759fa0
Renamed language no_NB to no
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 16:09:38 +00:00
Adrian Holovaty
9d188cf3bb
Added Norwegian translation -- Thanks Espen
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 15:30:15 +00:00
Adrian Holovaty
0ac931f38c
Companion .mo-file checkin to [1077]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:56:12 +00:00
Adrian Holovaty
9f92a2b92b
Renamed 'Traditional Chinese' to 'Simplified Chinese' and updated po files
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:53:24 +00:00
Adrian Holovaty
d35d1f1581
Fixed bug in django.utils.decorators.decorator_from_middleware -- it wasn't raising exceptions. Refs #641
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 14:48:57 +00:00
Jacob Kaplan-Moss
5cf8f68423
Merged i18n branch into the trunk! Fixes #65 , and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-04 04:59:46 +00:00
Jacob Kaplan-Moss
91a283583c
Made floatformat filter not choke on non-floats
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-02 19:01:27 +00:00
Adrian Holovaty
23bb8c4a4b
Added quote_name hook for each database backend. Refs #121 . Thanks, Robin Munn -- we miss you.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:32:54 +00:00
Adrian Holovaty
c65332d409
Updated out-of-date docstring in django/core/db/__init__.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:28:42 +00:00
Adrian Holovaty
cee6faf43e
Fixed #505 -- ssi template tag now displays a message instead of failing silently if DEBUG=True. Thanks, Manuzhai
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:11:36 +00:00
Adrian Holovaty
7136eb8f3a
Fixed #507 -- Changed MySQL backend so that it uses 'LIKE BINARY' for case-sensitive comparisons -- contains, startswith and endswith. Thanks, Simon
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:08:13 +00:00
Adrian Holovaty
390666ac2b
Fixed #508 -- Added support for 'expires' in cookies and changed session middleware to set 'expires' in addition to 'max_age'. Thanks, mark@junklight.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-01 01:02:07 +00:00
Adrian Holovaty
cbe2426369
Made several grammar fixes to cache documentation from [1020]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-31 03:14:57 +00:00
Jacob Kaplan-Moss
7e0719efa6
Fixed #675 : PasswordFields now respect length and maxlength params
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:10:51 +00:00
Jacob Kaplan-Moss
2822f71d08
Fixed #140 : memcached backends may now use multiple servers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:05:19 +00:00
Jacob Kaplan-Moss
f12e324332
Fixed #612 - added cache control headers (thanks, hugo)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-29 17:00:20 +00:00
Adrian Holovaty
67d490a61d
Fixed #701 -- contrib.admin.views.doc now uses get_internal_type()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 03:48:33 +00:00
Adrian Holovaty
b5a6ff5bdd
Fixed #488 -- removetags template filter now removes tags without a space before the final slash
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 03:45:51 +00:00
Adrian Holovaty
c6f375fd11
Fixed #700 -- urlify.js now uses hyphens instead of underscores
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 03:41:39 +00:00
Jacob Kaplan-Moss
e7c870c36e
Fixed #703 : added decorators to require that view be called with a given HTTP REQUEST_METHOD
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 01:30:30 +00:00
Jacob Kaplan-Moss
c3377c1eae
Fixed shortcut redirect handler
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-26 14:01:53 +00:00
Adrian Holovaty
d310b108f4
Changed global_settings.TEMPLATE_LOADERS to be same as default project_template.settings.TEMPLATE_LOADERS
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 02:02:58 +00:00
Adrian Holovaty
3ad82eff77
Improved autoreloader to ignore files that might be in eggs. Refs #596
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 02:01:10 +00:00
Adrian Holovaty
5c3d1ec163
Fixed #677 -- db.queries is now reset per request. Thanks, seancazzell
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 01:51:57 +00:00
Adrian Holovaty
1ed99862c6
Fixed #679 -- 'collapse' admin row class is now processed correctly when more than one tuple is in the admin.fields list. Thanks, malcolm
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 01:47:34 +00:00
Adrian Holovaty
e0d2793b7b
Fixed #687 -- Fixed bug in floatformat template filter and added unit tests. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-25 01:44:14 +00:00
Adrian Holovaty
c604de5a5d
Added 'django-admin.py installperms' command
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:43:24 +00:00
Adrian Holovaty
43ad69e24e
Fixed #684 -- Fixed login_required and user_passes_test decorators. Thanks, rjwittams
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-23 22:42:44 +00:00
Adrian Holovaty
17f62269c2
Fixed #479 -- Implemented time-zone formats in dateformat. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 21:37:59 +00:00
Adrian Holovaty
f82e64c6b2
Fixed #681 -- get_in_bulk no longer assumes PK fields are called id. Also added unit tests to confirm. Thanks, Jeremy Dunck
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 21:18:53 +00:00
Adrian Holovaty
4f47ef85f8
Added django.views.decorators.auth.user_passes_test, which is a more generic hook into authentication based on a test. Refactored login_required to use user_passes_test
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-22 00:04:55 +00:00
Adrian Holovaty
cc3635d62f
Fixed #663 -- app_directories template loader no longer assumes a dot in the app name. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 23:16:45 +00:00
Adrian Holovaty
81cbf27a13
Fixed #668 -- Changed default site from mysite.com to example.com. Thanks, Ian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 22:58:33 +00:00
Adrian Holovaty
d8b8367494
Fixed #658 -- Fixed JavaScript calendar widget in IE. Thanks for the patch, kieranholland
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@977 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 13:16:46 +00:00
Adrian Holovaty
a102942d7a
Fixed #654 -- Fixed bug in [969]. Thanks, korpios@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 13:13:55 +00:00
Adrian Holovaty
4c327b9c86
Lightly refactored django.utils.dateformat to make it use less code. Also integrated some of Sune's improvements from the #479 patch, including support for backslash escaping. Also vastly improved template docs for the {% now %} tag
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 05:30:11 +00:00
Adrian Holovaty
539e53ccf1
Fixed #317 -- SlugField now accepts hyphens. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-20 04:20:52 +00:00
Adrian Holovaty
989fcce02a
Fixed template-name bug for admin doc templates in [948]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 16:29:20 +00:00
Adrian Holovaty
9de01b157f
Removed duplicate LANGUAGE_CODE from project_template/settings. Thanks, EspenG
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@958 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 16:10:31 +00:00
Adrian Holovaty
56022ea314
Added TIME_ZONE and LANGUAGE_CODE to stock settings file created by 'django-admin startproject
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 16:03:24 +00:00
Adrian Holovaty
ed2f2419a1
Fixed #647 -- Fixed cache middleware not to expect _cache_update_cache, in case of 404s and 500s. Thanks, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 13:44:55 +00:00
Adrian Holovaty
c548955d29
Fixed admin template bug from [948]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:18:53 +00:00
Adrian Holovaty
079752fe88
Fixed #641 -- Fixed re-raise in django.core.handlers.base. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@949 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:16:57 +00:00
Adrian Holovaty
f07e5d4f5d
Fixed #627 -- BACKWARDS-INCOMPATIBLE CHANGE. Admin is now an app, not a middleware. See BackwardsIncompatibleChanges for a full list of changes and information on how to update your code.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 01:09:05 +00:00
Adrian Holovaty
fd3d579179
Added django.contrib.admin.templatetags. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 23:15:47 +00:00
Adrian Holovaty
0dc843b3c6
Added contrib.admin.models.admin, which contains LogEntry (from models.auth). It still exists in models.auth, temporarily
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 22:55:23 +00:00
Adrian Holovaty
1bb40e75c7
Removed legacy TODO comment from django.models.auth
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 15:41:45 +00:00
Adrian Holovaty
1f227df92b
Added DATA_TYPES_REVERSE to ado_mssql backend
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 14:33:32 +00:00
Adrian Holovaty
8863e5dd11
Changed get_random_function_sql for ado_mssql backend to use RAND(), which is correct. Thanks, Jakub Labath
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 14:02:46 +00:00
Adrian Holovaty
b890e37ada
Added get_table_list() to ado_mssql backend
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 13:59:58 +00:00
Adrian Holovaty
d5f32aa008
Changed contrib.admin.views.main to use staff_member_required_decorator. Refs #627 . Note that, by this point, AdminUserRequired middleware is redundant -- but nothing is backwards-incompatible yet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 05:23:07 +00:00
Adrian Holovaty
c2ffd62d89
Changed django.contrib.admin.views.main to use template.loader instead of template_loader
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 05:18:50 +00:00
Adrian Holovaty
15fb988dbc
Changed contrib.admin.views.template and doc to use staff_member_required decorator. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 05:12:45 +00:00
Adrian Holovaty
530f8d12b7
Removed django.views.admin. Everything has been moved to django.contrib.admin.views. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:59:26 +00:00
Adrian Holovaty
b4fd513f9f
Moved views.admin.main to contrib.admin.views.main. Refs #627 . Note that this is still backwards-compatible, assuming people are using django.conf.urls.admin as their admin URLconf
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:58:34 +00:00
Adrian Holovaty
055056bc31
Added django.contrib.admin.urls and django.contrib.admin.templates. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:44:24 +00:00
Adrian Holovaty
1cde1e8e59
Removed jsvalidation line in django.conf.urls.admin -- that doesn't exist
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:42:02 +00:00
Adrian Holovaty
aed1930133
Moved django.views.admin.template and django.views.admin.doc to django.contrib.admin.views. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:40:47 +00:00
Adrian Holovaty
1dc6d4b265
Changed django.views.admin.doc to use template.loader instead of template_loader
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:36:28 +00:00
Adrian Holovaty
91c67bcd45
Added django.contrib.admin, with a staff_member_required decorator and code from AdminUserRequired middleware. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:21:07 +00:00
Wilson Miner
72442152d2
Fixed #638 and cleaned up some CSS
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 20:22:12 +00:00
Adrian Holovaty
383704ac84
Fixed #634 -- Changed shortcut view to accept get_absolute_url()s that return URLs starting with http. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 13:24:29 +00:00
Adrian Holovaty
8b7ebca68a
Changed global_settings.ADMIN_FOR from [] to ()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 04:36:51 +00:00
Adrian Holovaty
57b4f231fd
Fixed #583 -- Added app_directories template loader, which searches for templates in 'templates' directory in each INSTALLED_APPS package. It's turned off by default.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 02:37:50 +00:00
Adrian Holovaty
e8fda9091a
Fixed typo in filesystem template-loader error message
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 02:18:28 +00:00
Adrian Holovaty
dc3f6e4113
Changed internal variable names in django.core.template.loaders.eggs to be consistent with filesystem
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-17 01:53:22 +00:00
Adrian Holovaty
f808d1bb8c
Removed django/conf/admin_templates/changelist_generic.html -- a leftover, legacy template that's no longer used
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-16 20:52:11 +00:00
Adrian Holovaty
a2e26150b7
Fixed #616 -- Added a process_exception() hook to middleware framework. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-15 02:20:35 +00:00
Adrian Holovaty
24154b2166
Fixed #225 -- Added first stab at MS SQL Server support (via ADO). Thanks to gmilas@gmail.com for the patch
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-15 01:37:16 +00:00
Adrian Holovaty
8254a7a7db
Fixed #628 -- Django no longer overwrites model class docstrings if they're provided
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-15 00:54:42 +00:00
Adrian Holovaty
f575a4edaa
Fixed small namespace bug in [867]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 22:29:13 +00:00
Adrian Holovaty
7aefff7833
Fixed #582 -- Added support for loading templates from Python eggs, and a TEMPLATE_LOADERS setting, which defines which loaders to use. Thanks, Sune
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 22:22:12 +00:00
Adrian Holovaty
083b4f9001
Redid [865], which got lost in [867]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 20:12:16 +00:00
Adrian Holovaty
f71f854628
Fixed #626 -- Moved template modules to django.core.template package. django.core.template_loader is deprecated, in favor of django.core.template.loader.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 20:10:13 +00:00
Jacob Kaplan-Moss
b773bf45c3
Registered default_if_none filter from [859]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 18:37:16 +00:00
Adrian Holovaty
ed1c9b2046
Fixed #622 -- Added default_if_none filter. Thanks, Eric
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:48:27 +00:00
Adrian Holovaty
f2088d456c
Fixed #618 -- Added DATABASE_PORT setting. Thanks, Esaj
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-14 03:43:01 +00:00
Adrian Holovaty
5f9fe6d403
Fixed #589 -- Added FilePathField. It's available as an ORM field and as a standalone field in django.core.formfields. Thanks, jay@skabber.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-12 04:14:21 +00:00
Wilson Miner
5f5db2c236
Added .hidden class to admin styles for future use.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 21:49:31 +00:00
Jacob Kaplan-Moss
b8f70f8c94
Updated docs to reflect changes in [824]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 20:23:53 +00:00
Jacob Kaplan-Moss
705a2c31c1
Fixed #604 - total number of objects in generic object_list view is now available as {{ hits }}
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 20:18:47 +00:00
Adrian Holovaty
29ff2bb4cb
Improved django.core.management.get_sql_delete to close database connection explicitly when it's done, to avoid locking issues
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 20:14:56 +00:00
Adrian Holovaty
b4e2d12b1f
Fixed #599 -- locmem cache now uses deepcopy() to prevent aliasing. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 13:56:39 +00:00
Adrian Holovaty
f258a8fce2
Fixed #600 -- decorator_from_middleware now handles process_view. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-10 13:51:58 +00:00
Adrian Holovaty
b6fd05e445
Added CACHE_MIDDLEWARE_KEY_PREFIX to global_settings
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 01:02:19 +00:00
Adrian Holovaty
d65526d688
Fixed #580 -- Added mega support for generating Vary headers, including some view decorators, and changed the CacheMiddleware to account for the Vary header. Also added GZipMiddleware and ConditionalGetMiddleware, which are no longer handled by CacheMiddleware itself. Also updated the cache.txt and middleware.txt docs. Thanks to Hugo and Sune for the excellent patches
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 00:55:08 +00:00
Adrian Holovaty
a5a89b5a43
Moved vary decorators from django.utils.cache to django.views.decorators.vary
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-09 00:37:56 +00:00
Adrian Holovaty
8aa98af6bb
Added django.utils.cache, from Hugo's #580 patch. Refs #580 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 23:19:21 +00:00
Adrian Holovaty
71564b4349
Added django.utils.decorators, from Hugo's #580 patch. Refs #580 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 21:44:37 +00:00
Adrian Holovaty
a933432a70
Fixed #473 -- Added a MysqlDebugWrapper to use for MySQL with DEBUG=True. It displays more informative error messages for MySQL warnings. Thanks for the patch, mlambert@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 21:00:25 +00:00
Adrian Holovaty
6beab20722
Fixed #374 -- Filtering by BooleanField now works in admin with SQLite. Thanks, davidschein
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-08 20:23:11 +00:00
Adrian Holovaty
d93c68ab5f
Fixed #586 -- Fixed bug in raw_id_admin caused by [785]. Thanks for the heads-up, slashzero
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-07 23:39:06 +00:00
Adrian Holovaty
c8930e3af4
Fixed #357 -- Added a '--pythonpath' option to django-admin. Thanks for the patch, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 17:22:23 +00:00
Adrian Holovaty
485042b74d
Fixed #595 -- Fixed error when sorting API results descending with custom 'select' parameters. Thanks for the patch, Robert Wittams
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 15:52:30 +00:00
Adrian Holovaty
9fe02e6b65
Made raw_id_admin work with non-integer primary keys
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 14:43:07 +00:00
Adrian Holovaty
cb628c0cb7
Changed django.core.management to remove a couple of hard-coded slashes from os.path.join calls. Thanks, Stuart Langridge
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 14:30:35 +00:00
Adrian Holovaty
ab9aacd4db
Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 02:27:08 +00:00
Adrian Holovaty
261ab166ce
Fixed #586 -- raw_id_admin now works with non-integer primary keys
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 01:51:30 +00:00
Adrian Holovaty
8dda2aeaa3
Improved model validator to check admin.list_filter and type-check admin.list_display
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@784 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-06 01:41:54 +00:00
Adrian Holovaty
c3fa47edb8
Added USE_FLAT_PAGES setting, which defaults to True.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-05 23:36:17 +00:00
Jacob Kaplan-Moss
837afc5a29
Changed default JING_PATH setting to be something that might actually be useful.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-04 18:05:37 +00:00
Jacob Kaplan-Moss
6b2226bab8
Fixed #447 - the RSS framework can now output pub dates
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-30 13:58:30 +00:00
Adrian Holovaty
998fc72c0d
Changed [735] so that database-agnostic SQL always gets executed, even if database-specific SQL doesn't exist.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 23:43:03 +00:00
Jacob Kaplan-Moss
27b1f69d79
Fixed #295 - added {{{forloop.revcounter}}} and {{{forloop.revcounter0}}} variables to for loops. Also updated the docs and added unit tests to verify correct behavior. Thanks, Clint.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 23:34:29 +00:00
Jacob Kaplan-Moss
151b44c89a
Fixed #363 - django-admin sqlall now uses database-specific initial data files if they exist.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 23:23:11 +00:00
Jacob Kaplan-Moss
022a03ab32
Fixed #541 - generic views now may take a {{{template_loader}}} argument so they can use a different template loader than Django's own. Thanks, Joao.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 23:16:29 +00:00
Jacob Kaplan-Moss
bab70003fe
Fixed #574 - small CSS issue in admin tables. Thanks, Hein-Pieter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 22:36:48 +00:00
Jacob Kaplan-Moss
2425907eac
Fixed #576 - popups no longer show "save & continue" buttons. Thanks, Hein-Pieter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 22:34:17 +00:00
Adrian Holovaty
277cc05462
Changed django.core.template_file to use absolute import for 'template' module
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@721 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 15:06:53 +00:00
Adrian Holovaty
38649f4c3f
Fixed #537 -- Fixed typo in [718]. Thanks, Esaj
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 14:59:49 +00:00
Jacob Kaplan-Moss
22f27949bd
Fixed #537 ; thanks, fonso
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@718 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 13:29:12 +00:00
Jacob Kaplan-Moss
152d437305
Fixed #546 - render_to_string and render_to_response may now take lists of templates and use select_template instead of get_template. Thanks, hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 13:26:49 +00:00
Jacob Kaplan-Moss
808b3f4b91
Fixed #106 - "Add another" now correctly works in IE - thanks, Paolo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 13:02:34 +00:00
Adrian Holovaty
8a7189f38f
Fixed #501 -- Fixed block.super in multi-level templates, and added unit tests to confirm. Thanks for the patch, django@kieranholland.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 04:22:09 +00:00
Adrian Holovaty
26021249a4
Fixed #573 -- Added 'Add another' link to many-to-many fields in admin. Thanks, hp@syntomax.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-29 03:19:14 +00:00
Adrian Holovaty
c1a16d54b0
Fixed #553 -- Added django.core.meta.fields.Field.get_internal_type() hook, for creating custom meta.Field subclasses. Thanks, wojtek3
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-28 23:08:47 +00:00
Jacob Kaplan-Moss
cd34c163cc
Moved JING from django.core.validators into settings where it belongs. Fixes #568 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 16:34:10 +00:00
Adrian Holovaty
8b67f5f829
Fixed #567 -- Added HttpRequest.has_key() method. Thanks, wojtek3@brandlay.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 16:33:25 +00:00
Jacob Kaplan-Moss
2d1303bd68
Added EMAIL_SUBJECT_PREFIX setting so you can customize the "[Django]" prefix
...
on emails send with mail_admins/mail_managers. Refs #568 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 16:32:21 +00:00
Adrian Holovaty
cac99144fd
Fixed #544 -- Added xmlns and lang attributes to <html> tag in admin_templates/base.html, so that the admin works when served as application/xhtml+xml. Thanks, Sune Kirkeby
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 04:28:18 +00:00
Adrian Holovaty
c084005d58
Fixed #131 -- URLconfs that are 'included' now receive captured parameters from parent URLconfs. Thanks for the idea, jcernelli@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 04:24:19 +00:00
Adrian Holovaty
d86624877d
Fixed #213 -- Improved formfields.TimeField.html2python() so that it doesn't fail for None input
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-27 03:34:58 +00:00
Jacob Kaplan-Moss
9b72153139
Quick bug fix to [699] - fixes #515 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26 16:30:14 +00:00
Jacob Kaplan-Moss
2a072999ca
Fixed type in static view URL pattern example (refs #428 )
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26 13:38:49 +00:00
Jacob Kaplan-Moss
adce221d92
Added exception handlers to take care of the bugs with the file and db backends
...
(refs #515 ). Eugene, I'm going to leave #515 open; can you check the bug fixes
in this revision and mark the ticket as closed if you're satisfied? I don't
run Django in a threaded environment, so I'm having issues reproducing your
errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26 12:38:41 +00:00
Adrian Holovaty
c44fd057fa
Subclassed models now use their own class name (or explicitly defined verbose_name) as the verbose_name, not the parent's verbose_name. See also #558 and [697].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26 05:12:22 +00:00
Adrian Holovaty
60bb739d9e
Fixed #558 -- Subclassed models now use their own class name (or explicitly defined module_name) as the module_name, not the parent's module_name
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26 05:03:40 +00:00
Jacob Kaplan-Moss
871ffbe7ee
Fixed #515 (again) - renamed "key" field in SQL cache to "cache_key" because
...
MySQL reserves "key".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26 03:14:37 +00:00
Adrian Holovaty
a978dbe779
Fixed #489 -- Changed MySQL backend to use longtext for XMLField
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-26 02:36:53 +00:00
Adrian Holovaty
9b68dbf95e
Fixed #469 -- Admin changelist no longer assumes ForeignKey has 'ordering' set when ordering by a ForeignKey field
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-25 22:27:23 +00:00