1
0
mirror of https://github.com/django/django.git synced 2024-11-19 07:54:07 +00:00
Commit Graph

995 Commits

Author SHA1 Message Date
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
9347f748b0 Added an EmailField to the many_to_one API tests
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1315 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 22:40:46 +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
887ed3ad2c Changed one_to_one unit test to use %r instead of %s in repr method
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 22:17:00 +00:00
Adrian Holovaty
b4bb345b94 Another change to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:36:16 +00:00
Adrian Holovaty
c472b1471d Small improvement to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:35:29 +00:00
Adrian Holovaty
2bb18eddbe Added 'Executing custom SQL' section to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:33:40 +00:00
Adrian Holovaty
16493e135c Added note to docs/sessions.txt about only being available in development version
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 17:18:25 +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
cd01d6d381 Fixed #848 -- Made auth docs more clear on permission handling.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 16:35:44 +00:00
Adrian Holovaty
58f95c3a6a Fixed #850 -- Made clarification in docs/tutorial02.txt. Thanks, Daniel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 16:20:24 +00:00
Adrian Holovaty
85c50d4fdf Fixed #839 -- Fixed typo in docs/cache.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 05:17:55 +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
Adrian Holovaty
72d8e07de4 Fixed #846 -- Fixed bug in docs/syndication_feeds.txt. Thanks, deric
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 04:53:28 +00:00
Adrian Holovaty
34560e0776 Fixed typo in docs/model-api.txt. Thanks, anl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-19 20:20:13 +00:00
Adrian Holovaty
c5068ff4ac Fixed ReST bugs in [1291]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-19 18:28:08 +00:00
Adrian Holovaty
f125fb0afc Beefed up docs/url_dispatch.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1291 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-19 18:20:30 +00:00
Adrian Holovaty
cdbc94dbd2 Fixed #838 -- Removed unused link in tutorial01.txt. Thanks, paolo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-18 21:42:45 +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
Georg Bauer
3478fb51d6 fixed two failing i18n tests - they only failed when using ./runtests, now they work both ways. And template tests give tracebacks when they fail.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-17 15:55:04 +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
674c0b353c Added official-version information to docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 05:35:59 +00:00
Adrian Holovaty
17d54d1d9e Fixed #808 -- Fixed typo in docs/forms.txt. Thanks, limodou
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1263 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 03:37:01 +00:00
Adrian Holovaty
6b870c136b Changed tutorial02 not to say redirects and flatpages are included
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1262 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 03:09:50 +00:00
Adrian Holovaty
93519513a1 Added links to auth docs in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:59:22 +00:00
Adrian Holovaty
b2424a391a Updated setup.py to include locales and *.TXT in package_data. Changed version to 0.90.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:57:38 +00:00
Adrian Holovaty
3301999387 Upgraded ez_setup.py from 0.6a5 to 0.6a7
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 02:57:03 +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
Adrian Holovaty
2d49f70b0d Small style cleanup of docs/generic_views.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1256 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-16 00:25:48 +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
9b3b250291 added danish translation to the settings documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-15 18:40:10 +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