Commit Graph

16056 Commits

Author SHA1 Message Date
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 10ca90a2fd Added unit tests to verify OneToOne deletion works
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 02:34:05 +00:00
Adrian Holovaty db94402ea6 Added unit tests to verify #800. Refs #800
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 02:33:46 +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 b96f6059f0 Added clarification to TIME_ZONE setting docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-21 00:27:48 +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 acdd24f526 Added 'Should I use the official version or development version?' question to the FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-20 23:49:35 +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 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