Commit Graph

980 Commits

Author SHA1 Message Date
Adrian Holovaty 1d64709080 Added missing file from [2579]. Refs #1442
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28 17:40:19 +00:00
Adrian Holovaty 67cbb5c248 Fixed #1442 -- Fixed multithreading problem with various database backends. Thanks, Eugene Lazutkin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28 17:39:53 +00:00
Adrian Holovaty 3ff5b993d3 Fixed #1539 in trunk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28 17:31:04 +00:00
Adrian Holovaty 1edef8ede9 Fixed #1548 -- Improved caching of related objects, so when clist = poll.get_choice_list(), each choice in clist has its poll cache filled. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28 16:51:17 +00:00
Adrian Holovaty 332c4bd695 Removed stray 'print' statement in ManyToManyField.flatten_data(). Thanks, burivuh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-24 19:13:21 +00:00
Adrian Holovaty fe24eca81a Fixed #1529 -- Added support for authenticated SMTP to django.core.mail. Thanks, Bruce Kroeze
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-22 19:47:15 +00:00
Georg Bauer 732210320a fixed #1520 - added new greek translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 10:38:41 +00:00
Georg Bauer f21b75a280 fixed #1521 - new slovenian translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 10:35:14 +00:00
Adrian Holovaty 401b83f172 Fixed bug in [2531]. Thanks, Ned
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-20 01:04:09 +00:00
Adrian Holovaty 33c4e307f2 Simplified two unnecessary list comprehensions in core/meta/__init__.py. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-19 23:41:59 +00:00
Adrian Holovaty 426e7223fb Changed django.utils.cache.patch_response_headesr to move unnecessary calculation of 'expires' into the 'if' statement
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-17 17:21:26 +00:00
Adrian Holovaty 5beb39b896 Fixed #1457 -- Added support for if-modified-since header in django.views.static. Thanks, Shannon -jj Behrens
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-03 04:53:04 +00:00
Georg Bauer cffd184daf fixed #1446: updated traditional chinese translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 13:51:43 +00:00
Adrian Holovaty e4b48a8b92 Fixed #1058 -- Fixed typo in wordwrap filter documentation. Thanks, kieranholland.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 05:53:58 +00:00
Adrian Holovaty e72a6b194d Fixed #1431 -- Removed unneeded line in contrib.admin.templatetags.admin_list. Thanks, salmon@eight.nl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-02 05:07:22 +00:00
Georg Bauer 517b4a93e5 fixed #1432: updated russian translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 16:54:59 +00:00
Adrian Holovaty 6d9f4e4ef6 Fixed #1213 -- Changed value of NOT_PROVIDED so that it's not a string, to prevent possible (but highly unlikely) collisions. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 03:51:55 +00:00
Adrian Holovaty 6330e286c3 Fixed #1399 -- Added template_object_name hook to generic views. Thanks, ChaosKCW
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 03:37:57 +00:00
Adrian Holovaty ace140662b Added note to mysql backend about DATE_FORMAT not working. Refs #1423
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 03:17:24 +00:00
Adrian Holovaty 3daf7bde2e Fixed #1426 -- Made several admin JavaScript improvements. Thanks, anonymous
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-01 02:53:00 +00:00
Adrian Holovaty 074299db83 Fixed #1420 -- Added copy-and-paste (pastebin-friendly) toggle for debug view. Thanks, jpaulofarias
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-28 15:52:57 +00:00
Jacob Kaplan-Moss f15a983d88 Fixed #1336 -- made USStateField work correctly when data is None (thanks, chrisb)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2427 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 23:45:17 +00:00
Jacob Kaplan-Moss da310cff67 Fixed #1033 -- pagination in object_list generic views now use 1-indexed page numbers in the URL. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 23:34:39 +00:00
Adrian Holovaty 47f040d2eb Fixed #1059 -- Fixed line numbers off-by-one error in debug output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 22:23:24 +00:00
Adrian Holovaty 92c04cb7c6 Negligible formatting change to [2417] -- changed colon use to be consistent
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 21:37:11 +00:00
Jacob Kaplan-Moss b830fa7e78 Exposed model __doc__ in admin docs views which fixes #1408. Thanks, poelzi
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 21:05:50 +00:00
Jacob Kaplan-Moss eeb848bdbd Fixed #889 (Thanks, Tom Tobin)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 19:13:41 +00:00
Jacob Kaplan-Moss 0df9fb8f9a Fixed #620 -- raw_id_admin and limit_choices_to now play well together (thanks to David Schein)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 18:52:54 +00:00
Jacob Kaplan-Moss 3723f83798 Fixed #1404 (thanks, Tom Tobin)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 18:42:25 +00:00
Adrian Holovaty 250281361d Changed get_object() not to use 'ordering' parameter from the model. Thanks, Ned Batchelder. Also updated some unit tests to show correct DoesNotExist output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-25 17:24:17 +00:00
Adrian Holovaty de66a3a7da Rolled back [2390] temporarily to test against some other edge cases
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-25 17:18:27 +00:00
Adrian Holovaty 79633b280c Changed get_object() not to use 'ordering' parameter from the model. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-25 17:14:49 +00:00
Adrian Holovaty c5073320a7 Refactored cache from django/core/cache.py into django/core/cache package, with each backend getting a separate module. This keeps things cleaner and uses less memory, because the backend module is only loaded if it's needed.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-24 06:07:01 +00:00
Adrian Holovaty 9a74e89ef0 Fixed #1385 -- Allowed timesince filter to accept datetime.date objects. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-23 20:27:03 +00:00
Adrian Holovaty a5fad0eb37 Fixed #1387 -- Fixed some XHTML errors in admin templates. Thanks, vineet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-23 19:05:40 +00:00
Adrian Holovaty 0bf0b6d896 Fixed #1275 and #1288 -- Change e-mail address validator regular expression to be faster, simpler and accept subdomains
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-22 17:13:08 +00:00
Georg Bauer 760badab98 fixed #1382 - new polish translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-21 13:12:23 +00:00
Adrian Holovaty f86004a4d3 Fixed #1376 -- Undid [2358], which broke flatpages. Thanks, Tom Tobin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-20 04:36:17 +00:00
Adrian Holovaty c72afb811b Changed 'runserver' to display the Django version, and massaged the wording a little bit.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 23:48:11 +00:00
Adrian Holovaty 2c443df341 Fixed #894 -- Moved response middleware call to base.py so that exceptions in that middleware get processed by the standard exception handling. As a nice side effect, this cuts down on a bit of redundant code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 23:41:17 +00:00
Adrian Holovaty 53ca15cd78 Fixed #1289 -- Improved 'inspectdb' to introspect decimal_places and max_digits for FloatFields. Thanks, gandalf@owca.info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 23:04:09 +00:00
Adrian Holovaty cf528aa420 Fixed #721 -- isAlphaNumericURL validator now allows dashes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 22:36:16 +00:00
Adrian Holovaty 72a83f872c Fixed #1369 -- Changed shebang lines in unique-messages.py, compile-messages.py and make-message.py to use /usr/bin/env
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 22:21:31 +00:00
Adrian Holovaty 4d1bb30480 Reworded comment atop inspectdb-generated models to imply primary_key may now be introspected
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 22:06:42 +00:00
Adrian Holovaty 64153ef4d5 Implemented get_indexes() for Postgres backend, which means 'inspectdb' can introspect primary keys and unique indexes for Postgres now.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 22:04:52 +00:00
Adrian Holovaty 5710c6e2db Changed get_indexes() hook from [2346] to return 'primary_key' instead of 'keyname'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 21:57:38 +00:00
Adrian Holovaty 27b41fd9de Added better docstring to get_indexes() for MySQL backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 21:28:19 +00:00
Adrian Holovaty ac97cf54af Fixed #1286 -- Improved 'inspectdb' so that it introspects primary_key=True and unique=True for MySQL. Thanks, gandalf@owca.info
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 21:26:28 +00:00
Adrian Holovaty b46128225d Removed unnecessary line in d.c.meta.fields, due to [2342]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 20:55:59 +00:00
Adrian Holovaty 40809bdee4 Fixed #1038 -- Changed ForeignKey to calculate verbose_name by looking at its field name rather than the model of the related object. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 20:44:09 +00:00
Adrian Holovaty bb8500449b Fixed #1046 -- Made syndication feed framework not swallow TypeErrors in functions. Thanks, junzhang.jn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 20:34:14 +00:00
Adrian Holovaty 25b149a2a5 Fixed #1148 -- Fixed off-by-one error for some databases in get_DATEFIELD_list() at the edge of a year. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 20:18:45 +00:00
Adrian Holovaty 73ddfd8bd2 Fixed #1229 -- Added allow_empty argument to archive_year and archive_month date-based generic views
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-18 20:13:46 +00:00
Adrian Holovaty a10e8153f3 Fixed #1177 -- Added django.VERSION and '--version' command to django-admin.py/manage.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:33:09 +00:00
Adrian Holovaty c14e692952 Fixed #1250 -- Fixed NameError when trying to delete without related object permissions in admin interface. Thanks, oggie rob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:20:15 +00:00
Adrian Holovaty e9c3efe7f3 Fixed #1348 -- {% ifchanged %} tag no longer renders content twice. Thanks, j.rademaker
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:18:03 +00:00
Adrian Holovaty 97eb38b21d Fixed #1296 -- Made SlugField maxlength configurable. Thanks, Matt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:15:07 +00:00
Adrian Holovaty 6b694097dc Fixed #1302 -- Added next_month and previous_month to template context in archive_month date-based generic view. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:03:54 +00:00
Adrian Holovaty b3f99ec9fe Fixed #1366 -- Static-file view now escapes file names. Thanks, Kieran Holland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 17:56:46 +00:00
Adrian Holovaty 15f57d8c55 Fixed #1357 and #614 -- <select> formfields now escape values
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2321 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 17:55:41 +00:00
Adrian Holovaty bf16befc43 Fixed #1339 -- Added keys() and items() methods to session objects. Thanks, Ned Batchelder
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-10 21:33:07 +00:00
Adrian Holovaty d8b4d29004 Improved url_re in django.core.validators to accept https. Thanks, Eric Hsu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-10 15:38:54 +00:00
Adrian Holovaty e0c915ec39 Added TEMPLATE_STRING_IF_INVALID setting, which specifies what the template system should output in case of invalid variables. Default is empty string (to match current behavior)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-09 00:31:51 +00:00
Georg Bauer ba8f23424b fixed #1333 - updated 'ja' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-06 16:01:50 +00:00
Adrian Holovaty c59901a467 Improved 'inspectdb' handling of Python keywords from [2271] to use the 'keywords' module rather than hard-coding the list of keywords.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-04 20:18:18 +00:00
Adrian Holovaty 9423c4e4a8 Fixed #1328 -- Improved 'inspectdb' to handle Python reserved words as field names. Also updated docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-04 20:08:30 +00:00
Adrian Holovaty 567e4e4411 Fixed #1323 -- Added ENABLE_PSYCO. Thanks, Wojtek.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2239 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-03 15:18:20 +00:00
Wilson Miner 8626c0f594 Fixed positioning of ordering widget with liquid page widths.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-02 17:09:26 +00:00
Adrian Holovaty aae4f9701c Removed use of deprecated template_loader from [2230]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-02 15:00:34 +00:00
Georg Bauer fa80e70e13 fixed #1317 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2231 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-02 11:52:35 +00:00
Georg Bauer 1d6a56dae2 fixed #1287 - comment forms are now translateable and overrideable
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-02 10:25:15 +00:00
Adrian Holovaty 2549b31970 Fixed #1292 -- Fixed potential circular-import problem in template loader. Thanks, Kieran Holland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-02 05:07:12 +00:00
Adrian Holovaty 9789766508 Fixed #1311 -- manage.py sqlclear no longer assumes database connection is available. Thanks, jakamkon@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-02 04:50:16 +00:00
Wilson Miner 233708fb68 All admin pages except the dashboard now use liquid page widths, except in IE5.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2192 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-30 22:54:10 +00:00
Adrian Holovaty b4af15e66c Made small improvement to function_get_date_list
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-30 04:13:00 +00:00
Georg Bauer ee350b09dd fixed #1269: new and updated 'pt_BR' translations
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 22:23:42 +00:00
Adrian Holovaty e0e5e1e43d Fixed #939 -- Added 'monospace' fieldset class for admin CSS. Thanks, Tom Tobin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 16:33:26 +00:00
Adrian Holovaty e15567bf58 Fixed #1070 -- Improved date validation to limit it to dates 1900 and up.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 16:05:00 +00:00
Adrian Holovaty 1dc65cb6ab Fixed #1271 -- Added a 'request' template context processor, which is not activated by default.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2133 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 15:55:04 +00:00
Adrian Holovaty e35655081f Fixed #1244 -- Renamed templateize to templatize in django.utils.translation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 15:49:50 +00:00
Adrian Holovaty 23d2be1714 Fixed #1274 -- Fixed broken link in navigation in admin password-change template. Thanks, Brian Ray
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-27 15:45:10 +00:00
Wilson Miner 683c757c54 Removed example.com from default admin templates. One less thing to change in setup.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-23 22:53:50 +00:00
Adrian Holovaty 2483ed749b Removed commented-out decorator syntax in admin template tags. It was looking a bit messy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:29:45 +00:00
Adrian Holovaty bfaff07990 Made small simplification to admin_modify template tag logic
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 03:25:12 +00:00
Adrian Holovaty c12c225a66 Fixed a bunch of errors detected by pychecker -- unneeded imports and shadows of builtin variable names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 01:06:12 +00:00
Adrian Holovaty ce40c4a9e2 Changed unique-messages.py, compile-messages.py and make-messages.py to use 'if name == main' so they can be imported and won't mess up utilities such as pychecker
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-19 00:54:15 +00:00
Adrian Holovaty 6f3f25e733 Fixed bug in spaceless template-tag documentation. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 21:44:10 +00:00
Adrian Holovaty f1f2005c05 Fixed #1231 -- Added documentation for {% spaceless %} tag to the auto-generated template-tag docs in the admin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 18:59:43 +00:00
Adrian Holovaty d5a5f0f790 Fixed #1234 -- Fixed admin problem with login status getting out of sync with multiple windows/tabs. Thanks, oggie rob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 18:54:41 +00:00
Adrian Holovaty c4ab08a7a5 Added missing 'staff_member_required' decorator to change_stage() admin view
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-16 18:49:24 +00:00
Georg Bauer 946b1a5cd2 fixed #1228 - updated 'sr' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 19:39:49 +00:00
Georg Bauer 9bee9a8cf1 fixed #1226 - updated 'sk' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 19:37:58 +00:00
Adrian Holovaty 09da166609 Fixed #615 -- Admin views now use escape() instead of strip_tags(). Thanks, Sune Kirkeby
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1982 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 06:28:41 +00:00
Adrian Holovaty d862908b67 Fixed #920 -- Fixed patch_response_headers() behavior when content is Unicode. Thanks, Sune Kirkeby
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 06:22:24 +00:00
Adrian Holovaty 44e6ce6552 Fixed #1048 -- Fixed AttributeError in sessions framework when SESSION_SAVE_EVERY_REQUEST is True and no cookie has been set yet. Thanks, Jiri Barton
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 06:18:03 +00:00
Adrian Holovaty e0af20fb0f Fixed #1064 -- Fixed bug in set_many_to_many() for ManyToManyField pointing at a OneToOneField. Thanks, bruce@cubik.org and Luminosity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 06:10:02 +00:00
Adrian Holovaty 60e3d1352d Fixed #1090 -- Added {% block content_title %} hook to admin base.html template. Thanks, Joseph Kocherhans
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 06:07:43 +00:00
Adrian Holovaty ceb558c277 Fixed #1196 -- Admin deletion step no longer assumes related objects have primary key named 'id'. Thanks, oggie rob
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 06:01:35 +00:00
Adrian Holovaty 6e50a2ef5d Fixed #1062 -- Fixed database typecasting bug for DateTimeFields in SQLite. Thanks, Nesh and cmaloney
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 05:54:47 +00:00
Adrian Holovaty 2667ead885 Fixed #1165 -- Fixed bug in generated CREATE TABLE statements where a primary key related to a PositiveIntegerField or PositiveSmallIntegerField. Thanks, avandorp@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 05:48:13 +00:00