Adrian Holovaty
d592ca487a
Fixed #2541 -- Added helpful error message for CacheMiddleware in the case of CACHE_ANONYMOUS_ONLY=True and uninstalled/unordered AuthenticationMiddleware. Thanks, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3603 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:31:13 +00:00
Adrian Holovaty
8f065bba6b
Fixed #2552 -- Added SetRemoteAddrFromForwardedFor middleware and documentation. Thanks, Ian Holsman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:12:36 +00:00
Adrian Holovaty
efa19ae8a7
Fixed #2559 -- Added cool new operators for Admin.search_fields, plus documentation. Thanks, Andy Dustman.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 02:48:34 +00:00
Adrian Holovaty
eefe35c7fa
Changed admin/base.html template to add a NONE,NOARCHIVE meta tag for robots. Thanks for the idea, Ian Holsman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 23:05:42 +00:00
Adrian Holovaty
518d406e53
Fixed small security hole in bin/compile-messages.py by escaping the .po filename in os.system() call. Announcement forthcoming
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16 06:28:13 +00:00
Adrian Holovaty
7c79f2affa
Small error-message formatting change to compile-messages.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-16 04:27:42 +00:00
Georg Bauer
d07c2e9111
fixed #2542 : updated 'ru' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-14 15:18:21 +00:00
Adrian Holovaty
f13e70fae5
Small formatting change to compile-messages.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-13 03:45:43 +00:00
Adrian Holovaty
0f000b7ae5
Fixed incorrect error message in django.template.loaders.filesystem if you pass in template_dirs=None. Thanks, Martin Glueck
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-13 01:49:11 +00:00
Adrian Holovaty
3e51dac933
Fixed #2533 -- Fixed XHTML error in admin edit_inline_tabular.html template. Thanks, erikg@codepoet.no
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 17:42:02 +00:00
Adrian Holovaty
45be33a632
Fixed #2523 -- Added SESSION_COOKIE_SECURE setting. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 06:02:28 +00:00
Adrian Holovaty
20070d9117
Fixed #2372 -- manage.py runfcgi no longer ignore LANGUAGE_CODE. Thanks, ludo@qix.it
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:55:28 +00:00
Adrian Holovaty
9354cfb6ce
Fixed #2410 -- Added HTML ID attribute to <form> on admin change-list pages, for easy targetting with JavaScript and CSS
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:42:48 +00:00
Adrian Holovaty
54ea309a1d
Fixed #2513 -- Changed LazyDate.__get_value__() to return date objects, not datetime objects
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:18:25 +00:00
Adrian Holovaty
9cd0c333d6
Fixed #2514 -- Improved psycopg2 backend to save/load Unicode strings correctly. Thanks, crankycoder@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:15:25 +00:00
Adrian Holovaty
9ce3273127
Fixed #2527 -- Removed /doc/views/jump/ from admin URLconf. It wasn't being used
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:10:51 +00:00
Adrian Holovaty
74f5d2b9b0
Fixed #2528 -- Fixed 'time' template filter for midnight time value. Thanks, django@dougma.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 05:09:12 +00:00
Adrian Holovaty
6f8e9be24a
Fixed #2525 -- Fixed typo in contrib/flatpages/README.TXT. Thanks, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 22:04:42 +00:00
Adrian Holovaty
a8705cec47
Fixed #2524 -- Added i18n hooks in create_update generic views. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 19:17:46 +00:00
Adrian Holovaty
e5bf574678
Changed inspectdb to *not* trim trailing 's' from database table name to create class name, because Django no longer does that as of magic-removal
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 15:32:35 +00:00
Adrian Holovaty
0b71ffacab
Improved urlresolvers so that URLconfs can be passed objects instead of strings
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 07:01:29 +00:00
Adrian Holovaty
4805675f9d
Fixed #2500 -- Fixed bug in admin related-object pop-up window when using a primary key value that isn't an integer. Thanks, Gary Wilson and deryck@samba.org
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 05:31:08 +00:00
Adrian Holovaty
23964a7b9a
Fixed #2458 -- DB API now properly escapes backslashes, so you don't have to double-escape them. Thanks, tom@eggdrop.ch
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 05:20:31 +00:00
Adrian Holovaty
3e22c8ff52
Fixed #2506 -- Added more i18n translation strings for admin docs. Thanks, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 05:07:07 +00:00
Malcolm Tredinnick
01983c8fc3
Moved the space check from r3549 to before the Python keyword check so that
...
perverse column names like "fin ally" don't fall through the cracks.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 02:22:42 +00:00
Adrian Holovaty
caa51f4444
Fixed #2517 -- Improved inspectdb to handle table column names that contain spaces. Thanks, Karen Tracey
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-10 16:58:26 +00:00
Malcolm Tredinnick
a6a402a7db
Fixed #2512 -- Fixed SQL error when saving existing empty models.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-10 03:55:03 +00:00
Malcolm Tredinnick
cba451c940
Fixed #2469 -- Fixed the constraint names in the sqlreset output (again!).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-10 03:48:34 +00:00
Malcolm Tredinnick
ffb6ecc335
Fixed #2484 -- Handle num_in_admin and num_extra_on_change being 0 for the
...
admin interface. Thanks, Joseph Kocherhans.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3546 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-10 03:44:11 +00:00
Adrian Holovaty
925c711cf7
Fixed #2503 -- Fixed HttpResponse.delete_cookie() to work properly. It now takes path and domain as optional keyword arguments.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09 15:40:24 +00:00
Adrian Holovaty
2c370e1a08
Fixed #2502 -- Fixed typo in db.models.permalink function. Thanks, adurdin@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09 14:40:29 +00:00
Malcolm Tredinnick
7a22a5194c
Fixed #2469 -- Made the "drop index" constraint names match those we create in the first place.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3543 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09 11:22:14 +00:00
Malcolm Tredinnick
5ca28474f9
Fixed #2260 -- fixed a problem where some foreign key references were being
...
omitted during a "reset" or "sqlreset". Thanks, marcink@elksoft.pl .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-09 07:16:35 +00:00
Adrian Holovaty
d9d44d718b
Negligible style change in django.db.models.loading
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-08 21:17:59 +00:00
Adrian Holovaty
19c48c9005
Fixed #2494 -- Django development server no longer does reverse DNS. As a side effect, the server no longer sets the REMOVE_HOST environment variable
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-07 14:41:57 +00:00
Malcolm Tredinnick
ae83871580
Fixed #2491 -- Pass the project directory back from setup_environ so that we
...
can set up the "startapp" command. Thanks, marcink@elksoft.pl .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-06 10:35:25 +00:00
Malcolm Tredinnick
27bf70dcb9
Moved the environment setup into a method that can be called from other scripts.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-06 02:29:38 +00:00
Adrian Holovaty
320c10cb19
Fixed #2485 -- Added comment to project_template/settings.py that says to use absolute paths, not relative paths
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-05 01:48:33 +00:00
Georg Bauer
243912b255
fixed #2171 : updated 'ru' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-04 14:28:10 +00:00
Adrian Holovaty
fd5d923c6b
Fixed #61 -- No more editing hashes when creating users via the admin. Created a special-case 'Add user' admin view. The change form still displays the hash, for the moment.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-04 04:18:12 +00:00
Adrian Holovaty
9c8c39be1e
Fixed #2462 -- Changed showRelatedObjectLookupPopup to open a window that's 800-pixels wide. Thanks for reporting, patrick@vonautomatisch.at
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-02 15:07:46 +00:00
Adrian Holovaty
350a4a4592
Fixed #2467 -- Improved model validator to check date_hierarchy. Thanks, Simon Greenhill
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-02 15:05:51 +00:00
Malcolm Tredinnick
fa5e0562dc
Fixed #2257 -- make constraint names unique across all table/column
...
combinations (for the benefit of MySQL).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 21:46:51 +00:00
Malcolm Tredinnick
d03bc77716
Refs #1796 -- Fixed a problem when creating models with relations to
...
themselves: more than one instance was being created.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 21:15:41 +00:00
Adrian Holovaty
ad39bb1620
Fixed #2463 -- Fixed temporarily broken many-to-many fields in admin interface due to [3507]. Thanks, Nesh
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 14:20:01 +00:00
Adrian Holovaty
97e820ab3a
Fixed #2269 -- limit_choices_to now works properly with a custom ForeignKey.to_field. Thanks for reporting, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 04:05:25 +00:00
Adrian Holovaty
1a428ec9b8
Fixed #2370 -- It's now possible to pass default URLconf arguments to include(). Added docs, as well. Thanks for the patch, martin.glueck@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 02:57:08 +00:00
Russell Keith-Magee
97aa9b2843
Modified Calendar and Clock javascript to evaluate popup position at time of display, rather than time of page load.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-01 00:19:04 +00:00
Jacob Kaplan-Moss
77f1b8a50d
Fixed #2449 -- gzip middleware no longer gzips Javascript. Thanks for the prob, ubernostrum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-31 21:31:35 +00:00
Jacob Kaplan-Moss
2e598fb571
Fixed #2460 -- JSON serializer now correctly handles datetime objects. Thanks, siniy and jyrki.pulliainen@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3501 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-31 14:59:53 +00:00
Georg Bauer
f6fbdf575a
fixed #2446 : updated 'sl' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-31 12:49:51 +00:00
Adrian Holovaty
7b0c3d4a11
Changed django.VERSION from 0.95 to to 0.96-pre
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-30 00:59:59 +00:00
Malcolm Tredinnick
9e957485bd
Seed the global app cache in a call to db.models.get_model() except when we are
...
constructing a model class. Refs #2348 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-29 21:04:41 +00:00
Adrian Holovaty
1bf811e28d
Fixed #2330 -- Added hack to stop KeyErrors from being thrown by the autoreloading development server if USE_I18N=False
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 22:13:34 +00:00
Adrian Holovaty
1cf552dcec
Changed django.VERSION to (0, 95, None) to signify final 0.95 release
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 21:53:54 +00:00
Adrian Holovaty
954050c196
Removed bug from [3461] -- __name__ is not assignable
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 21:24:19 +00:00
Adrian Holovaty
1707f79b74
Added django.db.models.permalink decorator, which decorates a function that returns a viewname, viewargs and viewkwargs. The decorator returns the result of a reverse URL lookup on those parameters. Documentation is forthcoming.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:09:38 +00:00
Adrian Holovaty
36ee8f5ad2
Added leading slash to output of core.urlresolvers.reverse(), and made 'urlconf' a keyword argument
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:08:17 +00:00
Jacob Kaplan-Moss
a55fa029f7
Fixed #1767 -- boolean fields may now have validators! Thanks, Joseph.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 00:13:10 +00:00
Jacob Kaplan-Moss
847b1ed54e
Fixed #1650 : the {% extends %} tag now can extend a Template object passed into the context. Thanks, clelland@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 23:23:55 +00:00
Adrian Holovaty
2a0af00524
Fixed #2375 -- Changed password_reset auth view to make e-mail template name variable. Thanks, treborhudson@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 17:48:35 +00:00
Adrian Holovaty
c7fa1fa56f
Fixed #2388 -- login_required decorator now preserves docstring and name of decorated function. Thanks, derekgr@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 17:41:28 +00:00
Adrian Holovaty
aaa3cc0ea3
Changed output of django-admin.py --version to use a hyphen instead of parenthesis, to be clearer
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 17:03:35 +00:00
Adrian Holovaty
e433e07a8d
Fixed #2408 -- Added get_language_from_request() to trans_null.py. Thanks, ubernostrum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:38:32 +00:00
Adrian Holovaty
ecdd6ae6de
Fixed #2433 -- Added allow_future option to date-based generic views
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:36:02 +00:00
Adrian Holovaty
22b63bb5be
Made correction to a comment in django/template/loader_tags.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-25 18:54:13 +00:00
Adrian Holovaty
065b9aed67
Negligible formatting change to django/template/__init__.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-25 18:53:27 +00:00
Adrian Holovaty
3d02de2713
Added resolve() and reverse() helper functions to django.core.urlresolvers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-25 07:30:22 +00:00
Adrian Holovaty
564d556519
Fixed #2405 -- Fixed recursion error in auth.views.logout(), caused by [3402]. Thanks, Jay Skabber
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-23 23:14:36 +00:00
Malcolm Tredinnick
20831e0d2f
Fixed #2399 -- restored HttpResponse (overly enthusiastic pruning in r3414).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 06:13:49 +00:00
Jacob Kaplan-Moss
1687b025dc
Part 3 of pedant day: replaced all tabs in Django with spaces. Python the way Guido intended it, baby!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 20:48:17 +00:00
Jacob Kaplan-Moss
a926046ba6
Second half of little cleanup tweaks suggested by pyflakes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 20:39:17 +00:00
Jacob Kaplan-Moss
5c5ca53b70
Fixed bug in comment feed turned up by pyflakes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 19:12:51 +00:00
Jacob Kaplan-Moss
17d0bd1512
Fixed a bunch of spurious imports, typos, and other small errors turned up by a pass through PyFlakes. This covers about the first third of the errors.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 17:11:13 +00:00
Jacob Kaplan-Moss
e9a236d86c
Fixed #2092 : added a "is_secure()" method to HttpRequest which correctly handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 16:20:22 +00:00
Adrian Holovaty
8bdd19beea
Fixed #1961 -- Made feed_url dynamic in syndication framework
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 15:57:50 +00:00
Georg Bauer
f3e3869e09
fixed #2371 : added tamil translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 14:47:14 +00:00
Adrian Holovaty
27c49b69b8
Fixed #2392 -- Fixed CACHE_MIDDLEWARE_ANONYMOUS_ONLY to use attribute access to django.conf.settings
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 14:41:38 +00:00
Russell Keith-Magee
bb1cb76dfb
Fixed keyboard slip that was accidentally committed
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 03:56:06 +00:00
Russell Keith-Magee
edf68bede5
Cleanup of management.py; replaced uses of 'klass' with 'model', and normalized some variable naming in get_sql_create()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 03:55:07 +00:00
Adrian Holovaty
b26331d6ee
Fixed #2342 -- Made small fix to DateFieldFilterSpec. Thanks, Alex Dedul
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:31:59 +00:00
Adrian Holovaty
c19ef69c5c
Fixed #2368 -- Fixed KeyError when trying to log out more than once. Thanks, Gary Wilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:26:10 +00:00
Adrian Holovaty
c4679bb83f
Fixed #2374 -- Fixed magic-removal API changes in admin template validator. Thanks, mattimustang@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:16:03 +00:00
Adrian Holovaty
be2524182b
Fixed #2379 -- Fixed 'search' DB lookup parameter, which was broken by [3248]. Thanks, Tim Keating
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:13:35 +00:00
Adrian Holovaty
6ab20c5475
Small style fixes to docs from [3395]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 15:45:16 +00:00
Jacob Kaplan-Moss
3e95ef5374
Oops, fixed small typo in [3395]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 15:37:51 +00:00
Jacob Kaplan-Moss
2a8a32c449
Added a CACHE_MIDDLEWARE_ANONYMOUS_ONLY setting which makes the cache ignore pages served to authenticated users. Fixes #1509 (thanks, Matt).
...
Also added a FAQ entry about using this setting to avoid caching of the admin interface.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 15:37:12 +00:00
Russell Keith-Magee
9b6d1efe77
Clarified debug naming of WSGIRequests
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 05:04:45 +00:00
Russell Keith-Magee
740a8d20f1
Fixed formatting of comments.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 03:32:24 +00:00
Malcolm Tredinnick
c072c8dcd3
Fixed #2377 -- Imported ImproperlyConfigured exception into django.auth.models.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 12:48:30 +00:00
Malcolm Tredinnick
466b90c788
Fixed #1647 -- Included slightly more information in template syntax error
...
displays in DebugNodeList.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 12:32:32 +00:00
Malcolm Tredinnick
271093d3b3
Fixed #2323 -- Made it possible to run make-messages without needing a
...
DJANGO_SETTINGS_FILE setting.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 12:09:53 +00:00
Malcolm Tredinnick
0016547e9b
Fixed #2257 -- MySQL wants constraint names to be unique per-database, so fixed
...
the SQL generation to ensure this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 10:14:43 +00:00
Russell Keith-Magee
ab4ffe5d78
Modified BooleanField's to_python method to play nice with encode()ed strings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 05:50:33 +00:00
Russell Keith-Magee
59bf8dd310
Modified to_python method for BooleanField so that the to_python(str(bool_val)) round trip works. This was causing problems with the serializers.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 04:17:24 +00:00
Malcolm Tredinnick
51705f60b1
Fixed #2332 -- Introduced is_authenticated() method on User and AnonymousUser classes. Recommended its use over is_anonymous in the docs. Changed internal Django use to match this recommendation. Thanks to SmileyChris and Gary Wilson for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-19 02:09:26 +00:00
Malcolm Tredinnick
f8a277bc7f
Fixed a small typo in the wordwrap filter's docstring.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-15 11:47:09 +00:00
Malcolm Tredinnick
6d104115d1
More pre-emptive escaping of strings that should not be interpreted as HTML.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-15 01:07:13 +00:00
Malcolm Tredinnick
ebc6f90d44
Escaped variables that should not be interpreted as HTML and which might
...
contain dangerous characters.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 11:48:25 +00:00
Malcolm Tredinnick
1725db5a35
Escaped all strings that should not contain active HTML tags.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 11:04:33 +00:00
Russell Keith-Magee
8c705f02a9
Added command line flag to disable use of auto-reloader on development server.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3348 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 05:43:26 +00:00
Russell Keith-Magee
9bea530c33
Disable use of terminal colors when django-admin is run on a Pocket PC.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 05:26:55 +00:00
Malcolm Tredinnick
bd13190499
Fixed #2325 -- fix the authentication framework to work with new-style classes.
...
Patch from Joseph Kocherhans.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 03:09:02 +00:00
Adrian Holovaty
dba1f95e12
Added check_for_language and to_locale to utils.translation.trans_null
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 02:55:42 +00:00
Malcolm Tredinnick
04e83a0517
Fixed another title string that needed escaping (these strings do need
...
escaping, because they can be created from object strings, in part).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 01:17:17 +00:00
Malcolm Tredinnick
24fa22883a
Fixed #2346 -- Escaped string output in titles in admin interface. Thanks Gary
...
Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3342 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 01:03:01 +00:00
Malcolm Tredinnick
49bb884d0b
Fixed #2345 -- escaped object titles in breadcrumb display in admin. Thanks
...
Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3341 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 01:00:09 +00:00
Malcolm Tredinnick
2175c99825
Fixed #2344 -- Filtered some object string representations through the escape
...
filter.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3339 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-14 00:49:18 +00:00
Adrian Holovaty
0a2e8daaaf
Fixed bug in manipulator_valid_rel_key -- it assumed the related object was related by the primary-key field, whereas this didn't work with ForeignKeys to non-primary-key fields
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3338 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-13 21:31:53 +00:00
Adrian Holovaty
085b74406f
Fixed #2301 -- Fixed HTML problem with list_display_links. Thanks, kilian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 19:08:24 +00:00
Adrian Holovaty
78adbd9434
Added get_language_bidi to django.utils.translation.trans_nuill. Refs #2203
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:08:42 +00:00
Adrian Holovaty
f3a586a557
Fixed #2326 -- Fixed exception catching in django.contrib.auth.models. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 14:03:24 +00:00
Adrian Holovaty
33f47ae30a
Added local 'qn' variable for backend.quote_name in django.db.models.query.delete_objects
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3327 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 04:11:40 +00:00
Adrian Holovaty
cfcd4a5875
Added local 'qn' variable for backend.quote_name in django.db.models.query.fill_table_cache
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3326 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:35:17 +00:00
Adrian Holovaty
98597be786
Removed references to LOOKUP_SEPARATOR in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:29:12 +00:00
Adrian Holovaty
9a0e56dbb5
Removed unnecessary 'except: raise' in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:27:29 +00:00
Adrian Holovaty
a17a9d1474
Added local 'qn' variable for backend.quote_name in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:27:10 +00:00
Adrian Holovaty
c262e19670
Renamed 'clause' variable to 'lookup_type' in django.db.models.query.lookup_inner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 03:21:59 +00:00
Adrian Holovaty
b4b9edc5e5
Fixed #1614 -- get_sql(), lookup_inner() and parse_lookup() no longer return a 'tables' parameter, because 'tables' was never getting assigned, anywhere.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3317 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-11 02:32:53 +00:00
Georg Bauer
8c399ba5b6
fixed #2302 : added arabic translation. thx Ahmad Alhashemi.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3310 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 14:14:00 +00:00
Malcolm Tredinnick
927d87d732
Fixed #2320 -- corrected numerous errors in the custom tag examples in
...
python_templates.txt. Also fixed an argument parsing error for such tags.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 10:48:08 +00:00
Adrian Holovaty
c1847294b8
Fixed #2301 -- Added list_display_links option to 'class Admin', which regulates which fields in the change list have links. Thanks, kilian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:16:26 +00:00
Adrian Holovaty
5ce4a56a7c
Fixed bug in utils.translation.trans_null -- get_date_formats and get_partial_date_formats weren't returning tuples properly
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 04:08:45 +00:00
Adrian Holovaty
b98972e1c9
Fixed #2312 -- E-mail validator now accepts TLDs up to 6 characters long
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3305 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-10 02:32:54 +00:00
Adrian Holovaty
9a588aa4b4
Fixed #2317 -- Fixed help_text for FlatPage.template_name field to match magic-removal template names. Thanks, md@hudora.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-09 22:35:08 +00:00
Adrian Holovaty
78c91dd7df
Made two small changes to comments in django.db.models.query
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 14:17:45 +00:00
Adrian Holovaty
18eb7ecb13
Fixed #2310 -- Changed trans_null.py to use settings.LANGUAGE_CODE instead of hard-coded 'en'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-08 13:58:33 +00:00
Adrian Holovaty
df4331f3e9
Fixed #2303 -- Fixed bug in [3269] with regard to True and False special-casing in template system
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 22:20:07 +00:00
Adrian Holovaty
83c6fff22a
Fixed #2142 -- Fixed JavaScript warnings in admin JS. Thanks, mike.capp@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:11:10 +00:00
Adrian Holovaty
de9630c60e
Fixed #2258 -- Accounted for the case of a missing threading library in django.utils.synch. Thanks, scott@clued-in.co.uk
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:07:41 +00:00
Adrian Holovaty
49e5f5450d
Fixed #2272 -- Improved SQLite database introspection. Thanks, dne@mayonnaise.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:06:00 +00:00
Adrian Holovaty
84dda1990f
Fixed #2267 -- Admin docs now show help text for fields. Thanks, vidar
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:00:44 +00:00
Adrian Holovaty
4b11b43d0b
Fixed #2283 -- Fixed XHTML-strict validation error in comment templates
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3283 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 03:57:50 +00:00
Adrian Holovaty
16c5cec9c1
Fixed #2290 -- Escaped HTML in admin messages. Thanks, Sean
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 03:56:15 +00:00
Malcolm Tredinnick
c63dcdda37
Fixed another problem where we were creating a class twice via two import
...
paths. Self-referential relations (e.g. ForeignKey('self')) were still slipping
through the net. Refs #1796 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-06 13:25:12 +00:00
Malcolm Tredinnick
e8ef80c130
Fixed #2278 -- Fixed some argument parsing problems with the PostgreSQL
...
dbshell. Also added in the process name to the arg list so that the output of
'ps' looks sensible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3278 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-05 10:12:58 +00:00
Malcolm Tredinnick
c2556874d4
Fixed #1980 , #2155 -- made date, time and datetime html2python methods a bit
...
more consistent in their return values. All three now return None when the
passed in string cannot be converted to the required object (this is assumed
elsewhere).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3277 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-05 07:09:53 +00:00
Malcolm Tredinnick
5404e6e93b
Fixed #2285 -- Tweaked the error message after model errors at "syncdb" time so
...
that we don't report an app name of "None".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-05 05:11:20 +00:00
Malcolm Tredinnick
a778c9de47
Fixed #1578 -- fixed a corner-case where we still wanting core=True attributes
...
on a model that was not being edited inline.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 10:48:07 +00:00
Russell Keith-Magee
4a30eff1ff
Trivial indentation fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3274 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 06:44:01 +00:00
Russell Keith-Magee
5ac919b711
Refs #2202 -- Cleaned up technique of splitting arguments, based upon a suggestion from SmileyChris.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 06:31:26 +00:00
Russell Keith-Magee
b9d9351e85
Fixes #2202 -- Added ability to customize output of pluralize filter to handle irregular cases (walrus/walruses, cherry/cherries). Thanks to gid for the suggestion and the initial patch
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 06:18:39 +00:00
Adrian Holovaty
ec4a143a40
Made django/utils/translation.py into a package django/utils/translation, which is loaded lazily depending on the value of settings.USE_I18N.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 03:58:45 +00:00
Adrian Holovaty
a25fe3b65e
Changed admin/templates/admin/index.html to make <caption> translatable
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3270 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 03:57:07 +00:00
Russell Keith-Magee
4d29cae467
Refs #1400 -- Variable resolver now converts literal strings 'False' and 'True' into booleans when used as template arguments. This is point 2 from ticket #1400 . Thanks Kieren Holland.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 03:44:56 +00:00
Russell Keith-Magee
6b383afd39
Fixes #1338 , Refs #1400 , #2237 -- Modified variable resolution to allow template 'if' statements to work if TEMPLATE_STRING_IF_INVALID is set. Modified unit tests to force the use of this variable, so that returning '' isn't confused with an actual failure.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3268 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-04 03:21:44 +00:00
Georg Bauer
009f224e57
fixed #2241 : typos in french translation (manually snarfed from the diff, please send .po files next time!)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-03 16:07:37 +00:00
Georg Bauer
86b340656c
fixed #2279 : updated galician translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-03 16:05:54 +00:00
Adrian Holovaty
435e8910ae
Small edits to comments in contrib/auth/__init__.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3257 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-03 02:12:59 +00:00
Russell Keith-Magee
08cac47ba0
Removed stray references to (now deprecated) !__ne query type.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 05:41:48 +00:00
Adrian Holovaty
cc26eb49a8
Removed unneeded import of ngettext from django.db.models.fields.__init__
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:51:03 +00:00
Adrian Holovaty
ec23edfc7f
Formatting fix for [3248]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:21:32 +00:00
Adrian Holovaty
31eb140b5a
Optimized JavaScript in django/views/i18n.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:17:18 +00:00
Russell Keith-Magee
cd7b54aab0
Fixes #2271 -- Added code to imply !__exact on any query argument that doesn't finish with a known query term.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3248 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:14:33 +00:00
Adrian Holovaty
4a324ba7ac
Added USE_I18N setting, which lets you turn off internationalization overhead with a single setting. Defaults to True. Currently only affects the admin i18n JavaScript, but I'll be adding other optimizations.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 03:09:14 +00:00
Russell Keith-Magee
c81d69354a
Fixed #2217 -- Allowed raw objects to be used in __exact and __in query terms. Existing use of primary keys in query terms is preserved.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-01 01:14:41 +00:00
Jacob Kaplan-Moss
0ad8863692
restructuredtext filter now passes settings from {{{RESTRUCTUREDTEXT_FILTER_SETTINGS}}} into docutils. See http://docutils.sourceforge.net/docs/user/config.html#html4css1-writer for what these settings are.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-30 20:19:05 +00:00
Adrian Holovaty
2673aa366a
Fixed #2275 -- Added footer hook to admin base.html template
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3244 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-30 19:21:02 +00:00
Adrian Holovaty
127a3f002d
Negligible spacing change to django/db/models/loading.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3243 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-30 19:13:00 +00:00
Adrian Holovaty
0d14498ee0
Improved DateField.to_python() to catch invalid dates like Feb. 31
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-30 18:57:23 +00:00
Jacob Kaplan-Moss
c9032ab07f
Added a JSON serializer, a few more tests, and a couple more lines of docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-29 16:42:49 +00:00
Jacob Kaplan-Moss
f44e7acb17
Added Bob Ippolito's simplejson ( http://undefined.org/python/#simplejson ) as {{{django.auth.simplejson}}}. This is version 1.3 of simplejson. Thanks to Bob for his code and his permission to include it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3232 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 20:59:49 +00:00
Jacob Kaplan-Moss
aab3a418ac
Merged multi-auth branch to trunk. See the authentication docs for the ramifications of this change. Many, many thanks to Joseph Kocherhans for the hard work!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 16:37:02 +00:00
Jacob Kaplan-Moss
4ea7a11659
Added initial cut at serialization framework, along with some basic tests and a stab at some docs. This is all a bit rough right now, so expect some bumps.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 16:00:37 +00:00
Malcolm Tredinnick
414bc24e81
Fixed #1754 , #2211 , #2192 -- allow date filtering comparisons to use strings as
...
well as date objects. Fixed a couple of admin crashes as well.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 11:37:17 +00:00
Malcolm Tredinnick
d6c95e93a7
Fixed #1812 -- permit apps without models (without disguising other errors).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 01:53:30 +00:00
Adrian Holovaty
54e5b9aa21
Fixed #2196 -- Fixed AttributeError in method_set_order. Thanks, fonso
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 01:16:32 +00:00
Adrian Holovaty
5d7af7b1a9
Fixed #2246 -- Changed textile templatetag in contrib.markup to use DEFAULT_CHARSET setting
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-28 01:08:04 +00:00
Jacob Kaplan-Moss
48562965b9
Added {{{Manager.create()}}} method to create and save an object in a single step.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-27 20:36:25 +00:00
Russell Keith-Magee
2adbe11678
Fixes #2216 -- Added extra tests for model validity, and cleaned up warning messages for existing tests. Models are now invalid if the query string required to access a field (or related object) would clash with the name of another field (or related object). Previous tests only checked the accessor names, not the query string.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-27 15:21:43 +00:00
Adrian Holovaty
e923ed2a83
Fixed #2158 -- Added title_template and description_template hooks to Feed class in syndication framework.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 23:19:03 +00:00
Adrian Holovaty
6dc719312d
Fixed #2157 -- Admin doc views now work if django.contrib.sites isn't installed
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 23:01:46 +00:00
Malcolm Tredinnick
919df8b8c7
Fixed another path where imports were creating two instances of a model's
...
class. Refs #1796 , #2232 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 16:20:58 +00:00
Georg Bauer
e19112b47c
fixed #2198 : updated argentinan translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:24:22 +00:00
Georg Bauer
b5a8169f8e
fixed #1560 : javascript translations for zh_CN
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 12:22:04 +00:00
Malcolm Tredinnick
db366b4a78
Fixed #1796 -- implemented more robust normalisation for module filenames
...
before comparing them. Ivan Saglaev found a case where r3202 did not work
properly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 09:01:07 +00:00
Adrian Holovaty
2837455878
Fixed #2168 -- Made comment templates more accessible
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 00:48:12 +00:00
Malcolm Tredinnick
fd702fe034
Fixed #1796 -- only load a single copy of each model, even when it is
...
referenced via different import paths. Solves a problem with many-to-many
relations being set up incorrectly. Thanks to Curtis Thompson, Luke Plant and
Simon Willison for some excellent debugging of the problem. Refs #2232 (may
also have fixed that).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-25 14:49:34 +00:00
Russell Keith-Magee
23c24fc08b
Fixes #1812 -- Added model validity checks to ensure that models.py exists, and has been successfully imported for all INSTALLED_APPS. Previous behaviour was to silently ignore empty/problem models, which resulted in the display of an admin page that doesn't display a supposedly installed model. Thanks to Ian Holsman for the original report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-25 04:24:15 +00:00
Russell Keith-Magee
dc473309ef
Fixed #1661 -- Added logic for string-form model references in the 'to' argument of OneToOneFields. Includes regression test.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-23 08:16:36 +00:00
Russell Keith-Magee
6cbdbffc80
Added comments to clarify the string->field name resolution logic.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-23 07:43:33 +00:00
Russell Keith-Magee
0d4b5b9b4a
Fixed #1662 -- Added resolver for string-form model references for models that have already been loaded, with tests to validate both forward and backward referenced model names. Light refactoring of model loading to make regression tests behave more like normal model loading. Also clarifies the text of some validation errors.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-23 04:37:00 +00:00
Jacob Kaplan-Moss
bc2d8cdbc6
Fixed #2199 : deleting objects with generic foreign keys in the admin now works. Thanks, Jay Parlar
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-22 18:44:06 +00:00
Adrian Holovaty
10229c4a1e
Changed default 500 view NOT to use RequestContext, to lessen the chance that the 500 view would raise an error in itself
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-22 16:28:40 +00:00
Malcolm Tredinnick
ae1234f2a2
Fixed #2163 -- Corrected typo when handling datetimes with timezones in the timesince filter. Thanks, Alex Dedul.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3186 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 11:11:03 +00:00
Malcolm Tredinnick
239adf83d3
Fixed #2053 -- added an optional comparison argument to the "timesince" filter.
...
Added a "timeuntil" filter that works analogously. Thanks, john@sneeu.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 06:56:08 +00:00
Malcolm Tredinnick
b70a687777
Fixed #2031 -- Don't try to remove microseconds on date objects (only datetime)
...
for MySQL. Refs #316 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 04:13:48 +00:00
Malcolm Tredinnick
ba22f55aa2
Fixed #1928 -- Correctly create foreign key references when there are multiple
...
keys on multiple models. Based on a patch from Geert Vanderkelen and some
diagnosis from hornero.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-21 03:39:47 +00:00
Adrian Holovaty
dc4f726df9
Fixed #688 -- Changed default 404 and 500 views to use RequestContext
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 14:07:48 +00:00
Malcolm Tredinnick
92571b0d48
Fixed #2119 -- fixed problems with splitting SQL statements into separate
...
statements. Uses a patch from eaw@woudy.org and some contributions from
jpellerin@gmail.com . Also fixes #2034 and #1935 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 08:00:44 +00:00
Malcolm Tredinnick
3e97535907
Fixed #2161 -- handle trailing newlines in initial SQL data. Includes
...
regression test. Thanks to russellm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 07:12:45 +00:00
Adrian Holovaty
32228d2031
Added django/core/servers/fastcgi.py and manage.py 'runfcgi' option. Thanks, jcrasta@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 05:24:19 +00:00
Adrian Holovaty
a4b11826a7
Tightened up code in django.contrib.contenttypes.models.ContentTypeManager.get_for_model() to use get_or_create()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 04:47:07 +00:00
Adrian Holovaty
fb1c01b103
Fixed #1802 -- Fixed database integrity error when creating permission objects after renaming a model
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 04:44:27 +00:00
Adrian Holovaty
37addba352
Converted request.META['REQUEST_METHOD'] calls to request.method, throughout the Django codebase
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 04:34:13 +00:00
Adrian Holovaty
f67b629ada
Fixed comma splice in auth.User model docstring
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 04:14:10 +00:00
Adrian Holovaty
f2aab5b913
Fixed #1964 -- Fixed bug in fetching the dimensions of an ImageField. Thanks, Armin Ronacher
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 04:12:27 +00:00
Malcolm Tredinnick
b2e5c4ef02
Fixed #1422 -- Docstring improvements for the models in the admin app. Thanks
...
akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 04:07:32 +00:00
Adrian Holovaty
7aec348677
Fixed #2078 -- Improved HttpResponseRedirect and HttpResponsePermanentRedirect to percent-encode non-ASCII characters in the Location header. Thanks, Andrey
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 04:06:16 +00:00
Adrian Holovaty
6b730e1e92
Fixed #2102 -- Template system 'for' loops now support generators. Thanks, dbm-django@mclachlan.com.au
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 03:58:16 +00:00
Adrian Holovaty
136752ca9a
Added 'method' attribute to HttpRequest objects
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 03:48:31 +00:00
Adrian Holovaty
a09682fd63
Fixed #2185 -- Changed django.views.decorators.http.require_http_methods decorator to use HttpResponseNotAllowed instead of HttpResponseForbidden
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 03:17:57 +00:00
Adrian Holovaty
551a0272e6
Fixed #2189 -- Optimized auth.User.get_all_permissions() to use select_related behind the scenes to avoid multiple queries. Thanks, konrad@gwu.edu
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 03:08:48 +00:00
Adrian Holovaty
496d651546
Fixed #2190 -- Now allowing NullBooleanField to be given None
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 03:06:14 +00:00
Malcolm Tredinnick
a8a133cc6c
Fixed #1857 -- Fixed get_previous_by_FIELD and get_next_by_FIELD to work
...
properly with keyword arguments. Patch from tom@jerakeen.org .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-20 02:17:14 +00:00
Georg Bauer
1a1b1aa5db
fixed #2172 : updated russian translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3151 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 13:48:11 +00:00
Georg Bauer
9496c2be83
fixed #2180 : updated polish translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 13:45:58 +00:00
Georg Bauer
3213f84e59
fixed #2165 : updated hebrew translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 13:45:04 +00:00
Malcolm Tredinnick
2da4c4111e
Fixed #1856 -- install content-type entries and auth permissions for
...
models regardless of the presence of an inner Admin class. Patch from Mathew
Flanagan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 12:50:53 +00:00
Malcolm Tredinnick
c6dc7089a1
Refs #1834 -- Documented include_admin_script tag in admin interface. Thanks to
...
Matias Hermanrud Fjeld.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 12:35:38 +00:00
Malcolm Tredinnick
271083cf7c
Fixed #1756 -- Permit selecting no file in a FilePathField with blank = True.
...
Thanks to Adam Endicott for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 12:30:43 +00:00
Malcolm Tredinnick
1fc3b3229a
Fixed #1683 -- Permit initialising models using settable properties as well as
...
field names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 02:34:32 +00:00
Malcolm Tredinnick
214d88ce86
Fixed #1646 -- Added HttpResponseNotAllowed, as suggested by Ian Holsman.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 02:04:37 +00:00
Malcolm Tredinnick
a93b1f7ac3
Fixed #1473 -- Added support for categories back into syndication feeds
...
(was accidently removed in r1994). Thanks, k.shaposhnikov@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 01:38:06 +00:00
Malcolm Tredinnick
c0ea3284d7
Fixed #1088 - Correctly detect when a float with too many digits before the
...
decimal point is passed in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-19 01:09:00 +00:00
Adrian Holovaty
c8f1d0a84e
Fixed #2186 -- Fixed i18n variable substitution in admin/templates/registration/password_reset_email.html. Thanks, md@hudora.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18 17:32:15 +00:00
Malcolm Tredinnick
75a8a32f86
Fixed #2181 -- allow '{' and '}' to be escaped via {% templatetag ... %}.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-18 04:12:55 +00:00
Adrian Holovaty
d599052a15
Added AllValuesFilterSpec to admin changelist filters, which lets you put any arbitrary field in Admin.list_filter. To determine the list of all available choices, Django does a SELECT DISTINCT. Note this is backwards-incompatible for people who have defined and registered their own FilterSpecs, because each FilterSpec now takes a 'model' parameter.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3136 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16 19:42:06 +00:00
Adrian Holovaty
72307a6eee
Fixed typo in docstring in db/transaction.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16 19:35:57 +00:00
Jacob Kaplan-Moss
bca5327b21
Added generic foreign key support to Django. Much thanks to Ian Holsman and
...
Luke Plant -- most of this code is theirs. Documentation is to follow; for now
see the example/unit test. Fixes #529 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3134 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-16 19:18:30 +00:00
Malcolm Tredinnick
062bae3bb3
Fixed the detection of when a custom manager is required because an 'objects'
...
field already exists.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-15 14:05:33 +00:00
Malcolm Tredinnick
28e643743f
Fixed #2164 -- Create correct SQL when pk column name is not the same as the
...
attribute name. Thanks, Russell Cloran.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-15 11:28:28 +00:00
Adrian Holovaty
8938d5eeb3
Fixed #2152 -- Now HTML-escaping user.first_name in admin/base.html template
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 14:56:19 +00:00
Malcolm Tredinnick
d5377fc813
Fixed #2153 -- display debugging template even if no stack frame is found.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-14 11:44:56 +00:00
Adrian Holovaty
93974e00d3
Fixed #2148 -- Now escaping ForeignKey fields correctly in Django admin change-list pages. Thanks, rushman@mail.ru
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-13 23:18:15 +00:00
Jacob Kaplan-Moss
efcb5912e4
Fixed #2147 : file uploads within the update_object generic view now works. Thanks, parlar.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3123 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-13 21:47:40 +00:00
Adrian Holovaty
15437d7a88
Fixed #2139 -- Changed Redirect repr to str
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3122 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12 16:20:05 +00:00
Georg Bauer
4fcb72d306
fixed #2128 : updated BiDi support
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12 14:52:51 +00:00
Georg Bauer
ece252ed0f
fixed #2113 : fixed 'pl' translation of date formats
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3120 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12 14:49:05 +00:00
Georg Bauer
395cc62c78
fixed #2018 : updated 'sk' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3119 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12 14:45:28 +00:00
Malcolm Tredinnick
686c5a2f88
Fixed the empty model saving case so that it retrieves the primary key id. Also
...
updated the tests to test this case.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-12 12:49:14 +00:00
Malcolm Tredinnick
bff39bfb8c
Fixed #2127 -- Made datetime filters fail silently when passed empty strings or
...
None. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3117 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-11 00:33:44 +00:00
Malcolm Tredinnick
7e2b888a2d
Fixed #2108 -- allow saving of empty models, rather than just dropping them.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 15:14:06 +00:00
Adrian Holovaty
29f55c8dbb
Fixed #2106 -- Made collapse-block JavaScript translatable. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 05:04:10 +00:00
Adrian Holovaty
2abfd5dd58
Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 05:00:13 +00:00
Adrian Holovaty
5edd1335b2
Added django.template.Token.split_contents() and used it to add support for strings with spaces in {% ifchanged %}
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 04:29:10 +00:00
Adrian Holovaty
0f0560a9ac
Changed django.utils.text.smart_split to return strings, not tuples
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 04:26:23 +00:00
Adrian Holovaty
a88e0ec5c6
Fixed #2116 -- Added ul_class parameter to CheckboxSelectMultipleField. Thanks, Jorge Gajon
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 04:08:17 +00:00
Adrian Holovaty
3aa6b0556f
Solved the POST-data-lost-after-redirect problem by raising RuntimeError when DEBUG=True in the CommonMiddleware
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 03:47:18 +00:00
Adrian Holovaty
e5cd46d6d1
Fixed #2026 -- Added support for 'and' in template 'if' tags, added dozens of unit tests and updated docs. Thanks, ckknight
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 03:33:21 +00:00
Malcolm Tredinnick
89920e058f
Fixed #2108 -- do not try to save an empty model.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-08 00:13:52 +00:00
Adrian Holovaty
a1c9c52533
Added django.utils.text.smart_split. Thanks, ckknight
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 06:08:23 +00:00
Adrian Holovaty
22da62f239
Fixed #1503 -- Improved model validator to throw an error if a model doesn't manually define a primary key and has a field named 'id', which conflicts with the auto-primary-key convention. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 04:22:42 +00:00
Adrian Holovaty
0b92bd11db
Removed legacy deprecated_args check from django.core.management
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 04:15:18 +00:00
Adrian Holovaty
b78b1b98ff
Small improvement to django.template.resolve_variable -- isdigit() instead of 0123456789
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 04:12:39 +00:00
Adrian Holovaty
3db34ce73e
Fixed #2100 -- Made some remaining parts of the admin changelist translatable. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 03:17:58 +00:00
Adrian Holovaty
1926428a55
Fixed #2098 -- Loosened validation for model 'ordering' parameter by allowing periods. Thanks, Alex Dedul
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:47:53 +00:00
Adrian Holovaty
f3f002b161
Fixed #1697 and #2095 -- Made 'choices' parameter accept any iterable
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 02:46:08 +00:00
Adrian Holovaty
b3a6348bc2
Added Manager.get_or_create()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-07 00:09:29 +00:00
Georg Bauer
7e88ec5271
fixed #2089 : added language bidirectional support and updated the admin to use it. thanks meir@mksoft!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 15:22:53 +00:00
Georg Bauer
05b1a70dab
fixed #2090 : fixed bad charset header in po file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 15:13:16 +00:00
Jacob Kaplan-Moss
86d585a0a1
Backed out [3088] which was a premature commit with a message meant for another term window :)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 12:30:26 +00:00
Jacob Kaplan-Moss
0909c97e60
BNW: Added modpython handler to autosettings
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 12:20:45 +00:00
Adrian Holovaty
6dfea737f6
Made template names in django.contrib.auth.views passable as template_name argument to the view
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-06 05:16:05 +00:00
Wilson Miner
6cd0125745
Added more visible borders to form buttons.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05 16:27:05 +00:00
Jacob Kaplan-Moss
42a34423f2
Fixed stupid bug in [3802]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05 15:25:12 +00:00
Jacob Kaplan-Moss
55b6559b0e
Small refactoring of django.core.management to allow a custom argv to be passed into execute_manager(). This makes custom manage scripts with extra options possible
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3082 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05 15:20:47 +00:00
Adrian Holovaty
643c7b23a9
Fixed #2079 -- Fixed bug introduced in [3070] in django.utils.datastructures
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3081 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05 00:46:18 +00:00
Adrian Holovaty
066dac168d
Fixed #2084 -- Removed admin-site 'documentation / change password / log out' links on login page for users who are logged in but don't have staff status. Thanks, rudolphfroger
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-05 00:21:12 +00:00
Adrian Holovaty
b5adf70c6c
Fixed #2081 -- Fixed typo in django.conf.urls.registration. Thanks, erikankrom
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 18:49:37 +00:00
Adrian Holovaty
b8fd9a44e5
Fixed #1684 -- Added apnumber template filter in django.contrib.humanize. Thanks, ubernostrum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 01:03:48 +00:00
Adrian Holovaty
fb537e177d
Added django.contrib.humanize, a set of template tags for adding a 'human touch' to data. They're documented in add_ons.txt.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 00:58:39 +00:00
Adrian Holovaty
a5b7c29816
Changed all model unit tests to use __str__() instead of __repr__(). Also slightly changed related-object DoesNotExist exception message to use repr instead of str
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-04 00:23:51 +00:00
Adrian Holovaty
168429d597
Fixed #593 -- Added 'search' DB-API lookup type, which does full-text index searches in MySQL
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 23:28:24 +00:00
Adrian Holovaty
fc2a02f966
Fixed #2075 -- Added 'page' parameter to object_list generic view. Thanks, kanashii@kanashii.ca
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 22:06:48 +00:00
Luke Plant
9b86db9bf2
Eliminated lots of mutable default arguments (since they are bugs
...
waiting to happen and are memory leaks too).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-03 13:37:34 +00:00
Adrian Holovaty
88d215f702
Fixed #2073 -- Improved 'manage.py shell' not to pass argv to IPython if it's installed. Thanks, jpellerin@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 19:04:09 +00:00
Adrian Holovaty
688cd55708
Fixed #1635 -- Admin-site related-object popup no longer fails for edit_inline objects in IE/Win. Thanks, Christopher Lenz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3066 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 17:53:00 +00:00
Wilson Miner
06edf11a03
Fixed #1999 -- Sidebar widths are now specified in ems and will scale up with increasing font size.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 15:33:30 +00:00
Wilson Miner
cfc546fde6
Fixed #2072 -- Moved IE hacks out of changelists.css into patch-iewin.css to avoid confusion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3064 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 15:17:10 +00:00
Georg Bauer
cdee1fc9da
fixed #2010 : updated 'nl' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 10:56:34 +00:00
Adrian Holovaty
16a07fe95b
Fixed #1991 -- Changed AuthenticationForm to disallow users with is_active=False from logging in. Thanks, dave@rightround.com and germish@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:42:10 +00:00
Adrian Holovaty
bd5b35069b
Fixed #2025 -- Fixed some issues with URL reversal, which still isn't ready for prime time. Thanks, medhat
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3057 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:38:16 +00:00
Adrian Holovaty
927d4fb1e1
Fixed #2063 -- Made admin date_hierarchy i18n-friendly by using the new YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT technical message IDs. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3056 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:26:07 +00:00
Adrian Holovaty
ab2fb1634f
Fixed #2062 -- Added YEAR_MONTH_FORMAT and MONTH_DAY_FORMAT settings, and added technical message IDs of the same names. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3055 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 04:20:32 +00:00
Wilson Miner
8b38cff1b0
Fixed #2055 -- Lengthened form labels on login screen to accommodate longer translated strings.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3051 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 03:32:46 +00:00
Wilson Miner
9ac29dd784
Fixed #744 -- Added icon to display null boolean values in admin changelists.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-02 03:17:29 +00:00
Adrian Holovaty
26b61aa813
Fixed #395 -- Added SESSION_EXPIRE_AT_BROWSER_CLOSE setting, which regulates whether session framework should use browser-session-length cookies.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 22:25:06 +00:00
Luke Plant
dbcd2fe985
Fixed #2045 - TypeError thrown if a form does not have the correct enctype for uploading
...
files. It throws a ValidationError now, as it should.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 20:47:34 +00:00
Adrian Holovaty
fa9722489b
Fixed #2061 -- Fixed PostgreSQL index introspection in tables that have dropped columns. Thanks, Chris Chamberlin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 16:27:41 +00:00
Adrian Holovaty
8cd32bddab
Fixed bug in Model._get_next_or_previous_in_order()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3046 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 15:01:22 +00:00
Adrian Holovaty
56131d0fb9
Fixed #2052 -- Fixed some threading issues for FreeBSD. Thanks, scott@clued-in.co.uk
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:57:10 +00:00
Adrian Holovaty
b4be0d2487
Fixed #1454 -- Improved DB API quote_only_if_word() so that it doesn't quote 'select' parameters that are not all word characters. Thanks, dja@cdc.msbx.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3044 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:47:56 +00:00
Adrian Holovaty
cb9cb2045b
Fixed #720 -- Added first_on_page() and last_on_page() methods to ObjectPaginator. Thanks, m@bagai.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:29:39 +00:00
Adrian Holovaty
5077f9ceaf
Fixed #697 -- Added make_object_list parameter to archive_year generic view. Thanks, jhf@hex.no
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 04:21:26 +00:00
Adrian Holovaty
5c5d60aa63
Fixed #411 -- CursorDebugWrapper now supports pyformat paramstyle
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3038 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:57:07 +00:00
Adrian Holovaty
350c360776
Negligible spacing change to admin/templates/admin/field_line.html
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:37:59 +00:00
Adrian Holovaty
5099424975
Negligible spacing change to admin/views/main.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3036 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:35:23 +00:00
Adrian Holovaty
a2fceea1e3
Changed auth.Permission.__str__() to use str() of self.content_type, not repr()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 03:33:34 +00:00
Adrian Holovaty
f10af2de24
Fixed #2056 -- Escaped history messages in admin. Thanks, SmileyChris
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-01 02:10:44 +00:00
Adrian Holovaty
1bf991abb3
Fixed #2049 -- Made isValidEmail validator wider in scope. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3026 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 18:08:28 +00:00
Adrian Holovaty
2543d0ae93
Fixed bug in admin where it would redirect infinitely if invalid lookup parameters were given in the URL. Refs #2024
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3024 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:25:23 +00:00
Adrian Holovaty
ea59344d72
Fixed #2006 -- Admin now quotes strings in breadcrumbs and filters. Thanks, mhf@hex.no
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:10:01 +00:00
Adrian Holovaty
9030236652
Fixed #2000 -- Added 'mimetype' parameter to generic views. Thanks, Ian Holsman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3022 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 15:08:06 +00:00
Adrian Holovaty
7098389fae
Fixed #2020 -- <option> values are now escaped in SelectMultipleField
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3021 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:58:20 +00:00
Adrian Holovaty
8623bd126d
Fixed #2036 -- autoreload.py no longer fails for uninstalled 'thread' module. Thanks, plmeister@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:53:23 +00:00
Adrian Holovaty
45518a052b
Fixed #2038 -- QuerySet._combine now combines where clause. Thanks, graham@darkcoding.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:52:33 +00:00
Adrian Holovaty
192c726ee6
Fixed #2050 -- Fixed raw_id_admin display in admin. Thanks, Christopher Lenz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 14:37:57 +00:00
Jacob Kaplan-Moss
eb74800b31
Added *args to get_list_or_404, too (refs #2048 ).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 12:36:01 +00:00
Jacob Kaplan-Moss
4a57ef8588
Fixed #2048 - get_object_or_404 now allows *args as well. Thanks, Joeboy
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3014 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 12:34:05 +00:00
Adrian Holovaty
2f513e0f0e
Added support to django/contrib/auth/handlers/modpython.py for setting DJANGO_SETTINGS_MODULE via a PythonOption instead of SetEnv
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 02:09:07 +00:00
Adrian Holovaty
85ba40f4e2
Fixed #2023 -- 'View on site' now works with non-integer primary keys.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-31 01:59:16 +00:00
Adrian Holovaty
c86946f000
Added note to default manage.py that a 'missing settings.py' message may be caused by an ImportError in the settings file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30 02:47:33 +00:00
Adrian Holovaty
d7e929a85d
Fixed #2021 -- Improved Atom feed by outputting rel=alternate. Thanks, Ned Batchelder
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30 01:12:52 +00:00
Adrian Holovaty
d3b1a9ba39
Fixed #2015 -- Fixed sqlinitialdata regexp to handle empty string insertions. Thanks, Steven Armstrong
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-30 01:11:27 +00:00
Luke Plant
037f8d5804
Fixed #1584 - auto_now_add fields now work when saving multiple times.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 17:08:58 +00:00
Georg Bauer
ea325adae2
fixed #1974 : updated fr translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3001 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 12:18:12 +00:00
Georg Bauer
33a0aa6c73
fixed wrong encoding denotation in the greek .po file
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3000 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 12:16:34 +00:00
Luke Plant
e9c8a9e136
Fixed #2029 - models now sorted by verbose_name_plural in get_admin_app_list - thanks Alex Dedul.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-29 11:02:32 +00:00
Luke Plant
60c3e55b1f
Fixed bug with QuerySet.exclude() failing to do negations on Q objects, and
...
at the same time generalised exclude/QNot so that they work for 'external'
Q objects i.e. ones that simply have 'get_sql' defined.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2997 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 23:41:43 +00:00
Adrian Holovaty
c21acb6aeb
Fixed #1732 -- AttributeErrors in models are no longer ignored by the model validator.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 19:28:55 +00:00
Adrian Holovaty
dc378e8ca7
Improved error message if DATABASE_ENGINE is invalid.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 19:02:23 +00:00
Adrian Holovaty
8e9833f261
Fixed #1673 -- Every database backend now raises ImproperlyConfigured if the relevant Python database module raises ImportError
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2993 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 18:58:46 +00:00
Luke Plant
0c8ac0972c
Made negative indexing on QuerySet instances raise an assertion error (previously
...
it just returned incorrect results).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 18:41:03 +00:00
Adrian Holovaty
b63157c616
Fixed #1403 -- 'Add' green plus sign no longer appears in admin change forms for fields whose related models don't have an admin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2991 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 17:54:19 +00:00
Adrian Holovaty
374d02e598
Fixed #1023 -- Base handler no longer calls mail_admins() on SystemExit, in case of forked processes called from views. Thanks, Hugo
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 17:30:40 +00:00
Adrian Holovaty
a537b8e515
Fixed #1985 -- Got CurrentSiteManager working
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 16:30:42 +00:00
Georg Bauer
674719bc8b
fixed 1996: updated nl translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 11:16:58 +00:00
Georg Bauer
33f8059755
fixed broken el_GR translation, thx Jeroen
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 11:14:09 +00:00
Adrian Holovaty
cac7675f24
Added half of oracle backend. (The other half is all of the special-casing in django/db/models/query.py, which I will be refactoring.) Refs #1990 . Thanks, Jason Huggins and tzellman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2986 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 05:37:21 +00:00
Adrian Holovaty
0fd9eef86f
Fixed #1935 -- Initial SQL data now works in SQLite if there are multiple statements. Thanks, jpellerin@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 05:20:21 +00:00
Adrian Holovaty
f375b54503
Fixed #1634 -- Changed django.core.mail to include 'Date' header in e-mails. Thanks, Eric Walstad
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2984 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 04:40:48 +00:00
Adrian Holovaty
fd16f1468a
Fixed #1981 -- Fixed bug in feeds.py for comments
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2983 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 04:21:36 +00:00
Adrian Holovaty
7f2ca03c0e
Fixed #1997 -- Changed comments.py views to use relative URL for redirects. Thanks, phil@produxion.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 04:06:46 +00:00
Adrian Holovaty
be25b661b1
Fixed #1998 -- Changed double quotes to single quotes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-26 04:05:02 +00:00
Georg Bauer
b6b64737fc
fixed #1915 : new argentinean spanish (es_AR) translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-24 14:22:05 +00:00
Georg Bauer
31037f83e3
fixed #1948 : updated cs translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-24 14:19:13 +00:00
Georg Bauer
6306e7f6ea
fixed #1976 : updated sk translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-24 14:18:09 +00:00
Georg Bauer
b6c9a908c8
fixed #1984 : updated it translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2973 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-24 14:16:53 +00:00
Georg Bauer
a49f5f026e
fixed #1937 : updated no translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-24 14:13:44 +00:00
Georg Bauer
4b44848286
fixed #1974 : updated french translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2971 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-24 14:05:58 +00:00
Luke Plant
a666b98783
Fixed bug with Meta.ordering being ignored when slicing a single item off a QuerySet. Thanks, Gábor Fawkes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-23 19:55:30 +00:00
Luke Plant
23269289be
Negligible code cleanup for the sake of clarity.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-23 19:34:43 +00:00
Adrian Holovaty
4cb7a2753f
Fixed some bugs in django/contrib/sites/managers and added some error checking
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2961 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 05:17:25 +00:00
Adrian Holovaty
a9039dc6b3
Added django.contrib.sites.managers, which contains CurrentSiteManager. Thanks, Ian Holsman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 04:59:22 +00:00
Adrian Holovaty
d31f190239
Fixed #1959 -- Fixed typo in django/contrib/admin/views/doc.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 04:47:14 +00:00
Adrian Holovaty
be57a7fd1a
Fixed #849 -- Improved login_required view decorator to save query-string parameters. Also added documentation on the django.contrib.auth.views.login view to docs/authentication.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:46:55 +00:00
Adrian Holovaty
dd55b5e98a
Fixed #1835 -- FilePathField no longer breaks admin model documentation. Thanks, Adam Endicott
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:17:06 +00:00
Adrian Holovaty
d9aaa1ca86
Fixed #1931 -- update_object generic view no longer assumes the object's get_absolute_url() doesn't change. Thanks, marcink@elksoft.pl
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:02:23 +00:00
Malcolm Tredinnick
e57e06d40b
Fixed #1901 -- removed typos from calls to _get_image_dimensions and
...
_get_FIELD_filename. Thanks to tom@jerakeen.org for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 09:41:40 +00:00
Malcolm Tredinnick
816b65f260
Prevent people from using "startapp" to create apps with the same name as their project. Might stop some of the accidents.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-19 07:40:06 +00:00
Jacob Kaplan-Moss
20416b2972
Made a few small tweaks to admin doc pages.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 15:17:42 +00:00
Georg Bauer
98d6eac81c
fixed #1909 : updated japanese translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 11:00:35 +00:00
Georg Bauer
9c07d20cd4
fixed #1893 : updated hebrew translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 10:59:29 +00:00
Adrian Holovaty
0ed64fe329
Fixed #1904 -- Got postgresql_psycopg2 backend working. Thanks for the patch, germish@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 03:36:58 +00:00
Georg Bauer
bccc0fb5e6
fixed #1906 : updated zh_CN translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-17 08:13:17 +00:00
Adrian Holovaty
268462d686
Added comment explaining nonobvious self.__dict__ assignment in django.conf.__init__.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-17 02:02:26 +00:00
Adrian Holovaty
88ca662e75
Added postgresql_psycopg2 backend, which is untested, just for a starting point
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 23:27:07 +00:00
Adrian Holovaty
c643e12faf
Fixed #1321 -- Made DJANGO_SETTINGS_MODULE optional. You can now call django.conf.settings.configure() to set settings manually if you don't have a settings module. Thanks, Malcolm Tredinnick, Luke Plant, Fredrik Lundh
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 21:28:06 +00:00
Adrian Holovaty
aa6b13c96b
Fixed #1830 -- MySQL inspectdb now detects tinyint field properly
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 20:41:37 +00:00
Adrian Holovaty
47d18514b0
Fixed #1834 -- Added docstrings to admin template tags. Thanks, ubernostrum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 20:28:50 +00:00
Georg Bauer
a8455bba92
updated translation files - new message IDs from magic removal
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 08:07:45 +00:00
Georg Bauer
3f627e8efa
switched el translation to iso-8859-1 to prevent compile-messages and make-messasges abort. The el translation is still broken!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 08:02:21 +00:00
Georg Bauer
947de22e3e
updated german translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2915 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:48:17 +00:00
Georg Bauer
be66d0a5ab
fixed #1854 : updated icelandic translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2914 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:43:39 +00:00
Georg Bauer
d2ba1c3cca
fixed #1831 : added hungarian translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:41:39 +00:00
Georg Bauer
25816ea383
fixed #1817 : added translation hooks for 3-letter month names
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:38:23 +00:00
Georg Bauer
ca197739d9
fixed #1660 : added support functions and tags for bidi language support
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2911 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 07:35:20 +00:00
Adrian Holovaty
d9c4af6b37
Added first stab at reverse matching to urlresolvers.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-16 04:05:55 +00:00
Adrian Holovaty
3cef18cb51
Fixed #1884 -- Made django.db.models.options.get_verbose_name smarter. Thanks, Alex Dedul
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2909 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 18:50:54 +00:00
Adrian Holovaty
55c9e98d86
Fixed #1852 -- Improved TemplateSyntaxError to display the original exception if str() of the exception raises an exception in itself. Thanks, nnorwitz@google.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2906 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 04:24:48 +00:00
Adrian Holovaty
51f6a9442c
Fixed #1849 -- Slugifying now collapses consecutive hyphens to a single hyphen. Thanks, Tom Insam
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 04:20:04 +00:00
Adrian Holovaty
fe257d49da
Fixed #1864 -- Changed ContentType repr to str
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 04:01:23 +00:00
Malcolm Tredinnick
785ada1bc8
Fixed #1858 : typo in get_FIELD_size() method. Thanks, tom@jerakeen.org.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-15 00:15:20 +00:00
Malcolm Tredinnick
1006d6eb06
Fixed #1530 -- make count() respect distinct() on QuerySets. Create some
...
tests for this as well. Thanks to Adam Endicott for the original patch on which
this is based.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-14 23:49:29 +00:00
Jacob Kaplan-Moss
aa11b3ea50
Fixed #1235 : email sent from {{{django.core.mail}}} will now be encoded using
...
the value of the {{{DEFAULT_CHARSET}}} setting. Thanks, igor@goryachev.org and akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-13 17:18:42 +00:00
Luke Plant
5c0e4f3908
Fixed CsrfMiddleware post processing so that it in the presence of multiple
...
POST <form>s, only one <input> tag is added with an id, for HTML validity.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 22:32:47 +00:00
Luke Plant
c26553c4f9
Fixed #1827 - added 'id' attribute to generated CSRF hidden field. Good call, Ian Holsman.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 21:55:53 +00:00
Adrian Holovaty
edce4128e1
Changed Site model to use str, not repr
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 17:51:30 +00:00
Adrian Holovaty
412db6c929
Fixed #1837 -- Gave FlatPage a str
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2894 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-11 14:38:27 +00:00
Adrian Holovaty
de3edb74c5
Added Model.__str__() default fallback, and changed Model.__repr__() to embed Model.__str__() within it
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2893 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-10 16:10:07 +00:00
Adrian Holovaty
3248a28b20
Fixed #1743 -- Updated Norwegian translations. Thanks, espen.grindhaug
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:21:37 +00:00
Adrian Holovaty
6917a9b49a
Fixed #1757 -- Updated Dutch translation. Thanks, Rudolph
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:19:14 +00:00
Wilson Miner
f1ed2af2bd
Added padding fix to container to address reported display issues in Safari.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:17:35 +00:00
Adrian Holovaty
2ad386f3b3
Fixed #1804 -- Updated fr translation. Thanks, gael.dev@4now.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:16:54 +00:00
Adrian Holovaty
9869a8ed31
Fixed #1806 -- Updated ja translation. Thanks, mtsuyuki@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2876 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:15:35 +00:00
Adrian Holovaty
9cec2928ed
Fixed #1752 -- Updated cs translations. Thanks, radek
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:13:14 +00:00
Adrian Holovaty
0627ad320c
Fixed #1477 -- Made maxlength overridablef for URLField formfield
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 16:04:03 +00:00
Adrian Holovaty
05fd735afe
Fixed #1797 -- Fixed NameError in ado_mssql backend. Thanks, pb
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:45:09 +00:00
Adrian Holovaty
c63372f3c4
Fixed #1819 -- inspectdb no longer puts null=True for TextField and CharField. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:36:14 +00:00
Adrian Holovaty
ad181e21c2
Fixed #1818 -- Added better error message for FieldDoesNotExist error. Thanks, Christopher Lenz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-09 15:29:53 +00:00
Luke Plant
8eecb95ec8
Added CsrfMiddleware to contrib, and documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-08 23:03:08 +00:00
Adrian Holovaty
885dd85b5f
Fixed #1785 -- debug view no longer assumes _get_lines_from_file returns None. Thanks, django@binaryfeed.org
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 23:18:22 +00:00
Luke Plant
df668ee782
Changed the admin index to sort models alphabetically.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:56:03 +00:00
Luke Plant
d09ae12632
Removed unused code.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:47:28 +00:00
Luke Plant
7a62bac56e
Made QuerySet slicing return IndexError instead of DoesNotExist (and related changes).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:46:53 +00:00
Adrian Holovaty
71f4568613
Fixed #1776 -- Fixed bug in DateQuerySet when the field is null. Thanks, Christopher Lenz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 18:35:51 +00:00
Luke Plant
0b73811e26
Fixed QuerySet __getitem__ corner case so that it throws exceptions consistently
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 12:15:19 +00:00
Adrian Holovaty
058ab898b0
Improved runserver to display 'CONTROL-C' vs. 'CTRL-BREAK' based on the current platform
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:29:22 +00:00
Adrian Holovaty
eb4bbbb6f3
Fixed #1777 -- Fixed bug in date conversion in SQLite backend. Thanks, dart@google.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 03:27:49 +00:00
Luke Plant
f57e34e990
Fixed #1579 - added support for 'Q' objects in limit_choices_to.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-06 00:26:24 +00:00
Adrian Holovaty
a0872543a7
Fixed #1722 -- Fixed bug in CommentManager.user_is_moderator(). Thanks, Jure Cuhalev
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 12:52:15 +00:00
Adrian Holovaty
cca0e7346d
Fixed #1762 -- Fixed Windows error in django.core.management. Thanks, ross.lazarus@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 04:08:14 +00:00
Adrian Holovaty
b301640a1b
Fixed #1699 -- Fixed JavaScript error in admin site with raw_id_admin and database backend that returns integers as long ints
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:24:42 +00:00
Adrian Holovaty
503a27d212
Fixed #1707 -- LocaleMiddleware now sets Content-Language header. Thanks, ubernostrum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:19:16 +00:00
Adrian Holovaty
427a54b4a3
Fixed #1719 -- Added rlcompleter autocompletion to 'manage.py shell' if IPython is not used.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:17:51 +00:00
Adrian Holovaty
f94f0555bc
Fixed #1726 -- Made django/contrib/auth/create_superuser.py a command-line function, and added docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2841 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:08:29 +00:00
Adrian Holovaty
f2ef28fd5c
Fixed #1728 -- Fixed broken nav links in password_change_done admin page. Thanks for reporting, mdt@emdete.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 03:02:11 +00:00
Adrian Holovaty
775c06a959
Fixed #1729 -- Changed get_FIELD_filename() to return an empty string when field fiel's value is null. Thanks, rhettg@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2839 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:59:58 +00:00
Adrian Holovaty
9fec605d8d
Fixed #1766 -- Fixed bug in syncdb where it allowed two models to have the same database table. Thanks, Ian Clelland
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-05 02:38:32 +00:00
Jacob Kaplan-Moss
583dcdcede
Fixed #1583 : django.contrib.admin.templatetags.admin_list no longer imports from the non-existant django.parts.media.photos. Thanks, ubernostrum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2831 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 17:09:18 +00:00
Adrian Holovaty
1f57fcac98
Removed ManyToManyRel.singular, which wasn't being used anymore.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:59:22 +00:00
Adrian Holovaty
2b551dec40
Fixed bug in admin: raw_id_admin fields weren't displaying their old values next to the form field, due to descriptor-fields change
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2827 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-04 04:09:23 +00:00
Jacob Kaplan-Moss
ceecba2973
Fixed #1740 -- django.contrib.comments no longer uses old-style DB API (thanks, ubernostrum)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-03 19:23:44 +00:00
Adrian Holovaty
69d6bd7af3
Fixed #1745 -- Accessing many-to-many relationships without a PK value now throws an exception. Thanks, Luke
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 19:51:41 +00:00
Adrian Holovaty
cc4196a407
Fixed #1059 -- Fixed off-by-one line number in heading of debug error pages.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 18:44:22 +00:00
Adrian Holovaty
f69cf70ed8
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Georg Bauer
d4c38fa8f7
fixed #1526 : updated slovak (sk) translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-13 11:16:28 +00:00
Adrian Holovaty
00b3891524
Fixed #1626 -- Fixed a bunch of typos in comments and docs. Thanks, Dexter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-12 13:35:31 +00:00
Adrian Holovaty
853ee34191
Fixed #1531 -- Fixed eager exception catching that caused the template system to report a base template didn't exist when indeed it does exist but contains an {% include %} of a nonexisting template
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-12 03:31:03 +00:00
Adrian Holovaty
c862e43f7f
Negligible spacing change to core/template/loader.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-12 03:29:41 +00:00
Adrian Holovaty
63e7f20595
Fixed #1569 -- Made streaming HttpResponse unicode-aware
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-11 13:43:29 +00:00
Adrian Holovaty
8ac114c017
Removed unneeded 'import sys' from base.py handler
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-11 03:30:10 +00:00
Adrian Holovaty
51a6d81d72
Fixed #1551 -- Improved base handler to not lose track of important exception in case of exceptions within repr(). Thanks, Ned
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-11 03:29:01 +00:00
Adrian Holovaty
8d70ed4b25
Fixed #1555 -- Added EMAIL_PORT setting. Thanks, bde3
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-11 03:23:03 +00:00
Adrian Holovaty
cd7dbd8f00
Converted django.core.mail to use 'from django.conf import settings' instead of importing specific settings directly
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-11 03:19:57 +00:00
Georg Bauer
30c72faa9c
refs #1607 - updated hebrew translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 11:55:52 +00:00
Adrian Holovaty
b9e40b14bc
Renamed OneToOne to OneToOneRel to be consistent with ManyToManyRel
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 03:35:56 +00:00
Adrian Holovaty
b8d8aca5fd
Renamed ManyToOne to ManyToOneRel to be consistent with ManyToManyRel
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 03:34:47 +00:00
Adrian Holovaty
e3e271ff92
Fixed #1600 -- Renamed ManyToMany to ManyToManyRel so people get a clearer error if they use ManyToMany instead of ManyToManyField
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 03:32:38 +00:00
Adrian Holovaty
0162a3b54f
Fixed #1590 -- Changed MySQL get_last_insert_id() implementation to use cursor.lastrowid instead of a separate SELECT statement. Thanks, Andy Dustman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 00:32:42 +00:00
Adrian Holovaty
bb2a38cecc
Fixed syntax error in [2639]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 00:12:56 +00:00
Adrian Holovaty
3bb340271c
Changed settings imports from [2639] to use 'from django.conf import settings', to make it easier to merge to magic-removal
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-10 00:01:59 +00:00
Adrian Holovaty
bc4638d722
Fixed #1569 -- HttpResponse now accepts iterators. Thanks, Maniac
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-09 23:54:34 +00:00
Georg Bauer
158aeb7b97
fixed #1581 - added new hebrew translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-06 09:58:05 +00:00
Georg Bauer
3d8094f898
fixed #1587 - added new ukrainian translation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-04-06 09:52:06 +00:00
Adrian Holovaty
b1599e56b8
Fixed #1557 in trunk
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-30 04:43:55 +00:00
Adrian Holovaty
341d1eb022
Fixed #1550 -- Changed MatchesRegularExpression validator to use .search(), not .match(). Thanks, Gary Wilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28 21:39:15 +00:00
Adrian Holovaty
b353103cb6
Fixed #1500 -- Changed MySQL AutoField to be integer, not mediumint. Thanks, ejf-django
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-03-28 17:46:53 +00:00
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
Adrian Holovaty
e449e5c805
Fixed #1227 -- Fixed problem with new {% spaceless %} tag. It now normalizes spaces to a single space rather than no spaces
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 05:18:17 +00:00
Adrian Holovaty
0eaee6f5d4
Fixed #1067 and #276 -- Added a {% spaceless %} tag, available in all templates
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 01:51:30 +00:00
Adrian Holovaty
e260037e16
Fixed #1218 -- Improved model validator to complain for non True/False values for 'db_index' parameter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1966 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 01:15:44 +00:00
Adrian Holovaty
39639cfd22
Fixed #1176 -- Changed {% comment %} template tag not to generate a nodelist, so it's now possible to comment-out broken template tags. Thanks, Kieran Holland
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 00:48:23 +00:00
Adrian Holovaty
d701987fd2
Fixed #1200 -- Admin no longer assumes white default background color. Thanks, boxed at killingar.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-15 00:17:25 +00:00
Georg Bauer
e4e2877b24
fixed #1221 - changed usage of wrong settings variable DEFAULT_ENCODING to the correct DEFAULT_CHARSET.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 20:57:30 +00:00
Georg Bauer
46517e0a57
fixes #1183 - updated 'ja' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 14:48:06 +00:00
Georg Bauer
47e79cec0c
fixes #1214 - django.utils.translation doesn't look at DJANGO_SETTINGS_MODULE anymore, but now uses settings.SETTINGS_MODULE instead to construct the project path.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-13 10:40:09 +00:00
Georg Bauer
a6404e24ec
updated translation strings and added dutch to LANGUAGES
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 22:08:00 +00:00
Adrian Holovaty
5e6d6fafae
Fixed #1202 -- Changed 'manage.py shell' to use IPython if present. Also added '--plain' option, which overrides IPython to use the standard Python interactive prompt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 20:56:10 +00:00
Wilson Miner
11f8bd9d9a
Added a link to admin docs in the userlinks block in admin templates.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 17:35:57 +00:00
Adrian Holovaty
51a699dea9
Fixed #1203 -- Fixed two typos in cache.py. Thanks, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-12 02:35:14 +00:00
Jacob Kaplan-Moss
353d7e33cb
Removed a troublesome line of javascript that caused the many-to-many interface to break on Safari in OS X 10.4.4. Don't you just love web browsers?
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1913 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 20:50:04 +00:00
Adrian Holovaty
b94d78772f
Added 'shell' option to django-admin.py and manage.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 01:57:22 +00:00
Adrian Holovaty
9080d5ad74
Changed project_template so that it doesn't create an 'apps' directory
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1899 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-11 00:14:25 +00:00
Adrian Holovaty
7573756e18
Fixed #1195 -- Fixed formfields.TimeField bug introduced in [1872]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 05:11:13 +00:00
Adrian Holovaty
580a8eb42f
Fixed #1110 -- wordwrap template filter now calls str() on input. Thanks, scum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1882 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 02:08:29 +00:00
Adrian Holovaty
a5005c29be
Fixed #1100 -- Admin RelatedObjectLookup JavaScript now works with OneToOneField. Thanks, Joseph Kocherhans
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1881 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 02:06:00 +00:00
Adrian Holovaty
326136e8a5
Fixed #1144 -- Admin form buttons no longer assume black font color. Thanks, Daniel Poelzleithner
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1880 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 02:04:21 +00:00
Adrian Holovaty
11bcc7969d
Fixed #1121 -- Changed MySQL backend to use correct character set in MySQL 4.1x/5.x on Win32. Thanks, hipertracker@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1878 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:55:37 +00:00
Adrian Holovaty
9f0deae249
Fixed #1034 -- Changed get_last_insert_id to quote database table name. Thanks, rfugger
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 01:33:59 +00:00
Adrian Holovaty
7d0bf5f2dc
Fixed #1188 -- Changed TimeField.html2python to handle microseconds. Thanks, Cheng
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-09 00:54:35 +00:00
Georg Bauer
928e0a180e
fixes #1190 - updated 'ru' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 18:53:39 +00:00
Adrian Holovaty
6719511497
Fixed #1187 -- Added field name to error message for missing PIL. Thanks, akaihola
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 06:31:24 +00:00
Adrian Holovaty
0c548516bc
Fixed #1185 -- Fixed Python 2.4 bug in Django authentication mod_python handler. Thanks, Brian Ray
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 05:10:51 +00:00
Georg Bauer
491a152c11
fixes #1184 - fixed 'ru' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1852 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-08 01:06:49 +00:00
Georg Bauer
8d307fb8f7
fixes #1180 - added another random number to the get_new_session_key function to prevent early duplicates
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-07 11:07:52 +00:00
Adrian Holovaty
bbfc645337
Fixed #1181 -- get_in_bulk no longer fails on empty input. Also added unit tests. Thanks, akaihola
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-06 20:43:14 +00:00
Adrian Holovaty
170c3be4b3
Changed debug error view to escape the exception value, so that values in angle brackets aren't hidden by browsers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 16:28:25 +00:00
Georg Bauer
7332b13239
fixes #1161 - added quotes to unique-messages.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 14:09:22 +00:00
Georg Bauer
d3b85e30d3
fixes #1166 - updated 'zh_CN' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-05 12:05:15 +00:00
Adrian Holovaty
1714e79796
Changed repr for MultiValueDict
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-04 17:09:26 +00:00
Georg Bauer
b0ad54ec0b
fixes #1146 - updated 'sk' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-04 11:59:46 +00:00
Adrian Holovaty
3234a932b2
Fixed #1117 -- Added HttpResponsePermanentRedirect
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03 23:57:14 +00:00
Adrian Holovaty
6cca806943
Added 'dummy' cache backend
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03 23:41:31 +00:00
Georg Bauer
839bcfe330
fixes #1161 - spaces in filenames should now be handled better (filename parameters are enclosed in "")
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-03 22:29:56 +00:00
Adrian Holovaty
53aef92bf8
Fixed #1145 -- Added unit tests for default template filters and fixed two bugs in filters. Thanks, Luke Plant
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1811 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-01-01 18:37:33 +00:00
Adrian Holovaty
4596b1bbfd
Changed project_template/settings.py to add helpful comment about forward slashes. Thanks, Michael Hipp
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-31 04:03:40 +00:00
Georg Bauer
25aacbb9f1
fixed #1138 - added 'nl' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 23:45:18 +00:00
Adrian Holovaty
528b4ebd8d
Fixed #1139 -- Changed django.core.mail to raise BadHeaderError (a subclass of ValueError) and changed docs/email.txt example to use that
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 22:12:54 +00:00
Adrian Holovaty
8b5c2192e8
Fixed #1135 -- Changed django.core.mail functions not to allow newlines in headers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 20:33:56 +00:00
Adrian Holovaty
f7f812cd70
Fixed #1137 -- Added a _contains_() method to SessionWrapper. Thanks, Brant
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1793 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-29 19:17:32 +00:00
Adrian Holovaty
632914f188
Fixed #1102 -- Fixed some HTML validation errors in admin templates. Thanks, Luke Plant
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 23:32:56 +00:00
Adrian Holovaty
5cff7360cb
Fixed #1131 -- Added repr() to MultiValueDict. Thanks, Simon
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 23:11:07 +00:00
Georg Bauer
7337fe4900
added japanese and traditional chinese to the languages list in the global settings (and updated message files)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 23:02:09 +00:00
Georg Bauer
e08e19604f
fixes #1129 - added new 'zh-tw' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-28 22:58:41 +00:00
Georg Bauer
37f068ce55
fixes #1126 - new 'ja' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-27 18:47:23 +00:00
Georg Bauer
8efd0dc06d
fixes #1118 - updated 'fr' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1782 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-26 18:01:15 +00:00
Georg Bauer
50a297c7cd
fixes #1114 - 'fr' translations for JavaScript
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1781 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-26 18:00:42 +00:00
Georg Bauer
3e771e6f9a
added missing translation hooks to the login form. thx mikael.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-26 11:52:42 +00:00
Georg Bauer
2a6e1ed930
fixes #1112 - 'ru' translation for JavaScript
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1778 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-25 00:37:25 +00:00
Adrian Holovaty
b28e5e4133
Added missing context_processors module from [1773]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 04:41:10 +00:00
Adrian Holovaty
49fd163a95
Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify processesors for DjangoContext. Thanks, Luke Plant
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-24 04:39:59 +00:00
Georg Bauer
02e301053d
fixes #1098 - 'cs' translation for JavaScript
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 14:59:05 +00:00
Adrian Holovaty
d971b31695
Fixed #1092 -- Fixed behavior for query-string overrides in admin forms
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-21 03:37:31 +00:00
Wilson Miner
f16033ed91
Adjusted styles on popup calendars to try to avoid clipped text.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1749 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 22:24:45 +00:00
Adrian Holovaty
909cf0822f
Fixed #1093 -- Fixed error in inspectdb from [1688]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1744 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 15:53:01 +00:00
Georg Bauer
36a7d90ab2
fixes #1091 - updated 'gl' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-20 10:44:43 +00:00
Georg Bauer
bf5e5163c5
fixes #1087 - updated 'es' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1742 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 21:29:24 +00:00
Georg Bauer
0359a18dfd
fixes #1079 and #1080 - updated 'sk' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 08:24:21 +00:00
Adrian Holovaty
3a11722860
Changed django.core.formfields.CheckboxSelectMultipleField NOT to use the '_' variable
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-19 03:31:08 +00:00
Georg Bauer
e0acc619e8
fixes #1078 - updated 'cs' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-18 18:16:00 +00:00
Georg Bauer
787dea30c1
added missing translations to the file widget
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1719 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 21:27:54 +00:00
Adrian Holovaty
3235f0298a
Fixed #1075 -- Fixed bug in edit_inline. Thanks, Eric Moritz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-17 19:32:15 +00:00
Adrian Holovaty
e296de5500
Changed resolve_variable to resolve integers and floats as integers and floats. Added ifequal unit tests. Refs #959
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 05:33:24 +00:00
Adrian Holovaty
676830165a
Fixed #646 -- inspectdb no longer fails on database tables with hyphen in the name. Thanks for reporting, jack at xiph.org
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1688 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 05:13:25 +00:00
Adrian Holovaty
551897b134
Fixed #937 -- autoreload no longer reloads on every request on Windows. Thanks for the patch, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 04:59:35 +00:00
Adrian Holovaty
f2e5382811
Fixed #1039 -- Changed file-based cache to cache EOFErrors during pickle. Thanks for the patch, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 04:55:52 +00:00
Adrian Holovaty
5cbbd364c3
Fixed #1041 -- Generic views no longer use deprecated template_loader. Thanks for the patch, Ian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-16 04:54:18 +00:00
Wilson Miner
6c6feb482a
Fixed misaligned icon on delete links.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 20:18:04 +00:00
Georg Bauer
3c4c6e0f96
fixes #1066 - yesno used the wrong way to do translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 15:56:26 +00:00
Adrian Holovaty
2b50cb8c12
Fixed #1040 -- Gave manage.py executable permission and added shebang line. Thanks, pb
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 03:23:37 +00:00
Adrian Holovaty
bf49a1a8f4
Removed django/views/rss, which was empty
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:34:54 +00:00
Adrian Holovaty
e6256ac614
Removed django/views/core, which was empty
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-15 00:33:52 +00:00
Georg Bauer
328836208c
added a missed translation to the admin (the error message when you try to add a duplicate record)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 16:30:40 +00:00
Georg Bauer
9fe3ac1322
fixes #1053 - updated 'es' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 16:21:44 +00:00
Adrian Holovaty
5c5bdddede
Removed bin/validate.py -- it wasn't being used
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-14 04:55:32 +00:00
Georg Bauer
043215d9b1
updated 'zn_CH' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1593 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-10 09:32:51 +00:00
Adrian Holovaty
800cac7e31
Negligible refactoring in django.core.meta.fields and django.contrib.admin.views.main. Taken from #1020 . Refs #1020
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-10 05:32:05 +00:00
Georg Bauer
f60d4eec38
fixes #1036 - updated 'es' translation for JavaScript stuff
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 23:54:51 +00:00
Georg Bauer
81365bb9ef
updated javascript catalogs for new translation hooks
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1589 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 10:48:42 +00:00
Georg Bauer
634209ce8e
added more translation hooks to javascript code - this time it is the two-column-selection stuff used for permissions in the user admin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 10:46:44 +00:00
Adrian Holovaty
e6745d3420
Fixed #857 -- Changed default session cookie name from hotclub to sessionid. Django is now 10% less pornish.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1584 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:39:31 +00:00
Adrian Holovaty
06a2dc42b2
Fixed #1032 -- CREATE TABLE SQL in Postgres now quotes column name in 'CHECK' clause. Thanks, exoweb adrian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1583 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:32:45 +00:00
Adrian Holovaty
7d0bcc5727
Fixed exception-handling bug in defaulttags SsiNode. Thanks, Henryk on IRC
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:30:07 +00:00
Adrian Holovaty
5fe45cb0f8
Fixed #967 -- 'tables' parameter in DB API is now only quoted if needed. Thanks, Russell Keith-Magee
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:08:51 +00:00
Adrian Holovaty
a8b3d67b7a
Fixed #975 -- JavaScript shortcut in raw_id_admin for ManyToManyFields no longer replaces existing values.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 03:00:57 +00:00
Adrian Holovaty
f6b90c8c2a
Fixed #977 -- Fixed timesince() utility. Thanks, pgross@thoughtworks.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:52:27 +00:00
Adrian Holovaty
d06a12406b
Fixed #998 -- Fixed edge-case bug in debug view for templates with only one line. Thanks, andy@jadedplanet.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:35:38 +00:00
Adrian Holovaty
99f0f414d5
Fixed #1006 -- Fixed error when using ChangeManipulator in a model with raw_id_admin on ForeignKey. Thanks, Gustavo Picon
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1577 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:32:59 +00:00
Adrian Holovaty
661613e529
Fixed #1008 -- Added {{ block.super }} in change_form.html admin template. Thanks, Kieran
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:29:56 +00:00
Adrian Holovaty
58220b17d6
Fixed #1017 -- Admin now selects single choice for ForeignKey fields if only one choice is available. Thanks for reporting, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:25:17 +00:00
Adrian Holovaty
dc2daff31f
Fixed inconsistent spacing in contrib.admin.views.main
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1574 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:16:17 +00:00
Adrian Holovaty
9e2b463baf
Fixed inconsistent spacing in core/meta/fields.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1573 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:15:54 +00:00
Adrian Holovaty
cecd295187
Negligible quoting change to contrib/admin/templates/admin/change_form.html
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 02:15:23 +00:00
Adrian Holovaty
b625153b49
Fixed #992 -- Fixed bug in archive_month generic view leaving out the last day of the month. Thanks, ubernostrum
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 01:55:53 +00:00
Adrian Holovaty
36f1aef5ff
Fixed #927 -- Non-integer primary keys save() method now works
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-09 01:46:14 +00:00
Georg Bauer
4aedb7386a
fixes #1029 - updated 'gl' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-08 15:15:10 +00:00
Georg Bauer
6e13e65568
fixes #1025 - updated 'sk' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-08 08:44:58 +00:00
Adrian Holovaty
9832abf6b4
Fixed #1022 -- Fixed bug in admin when deleting models with OneToOne. Thanks, Eric Moritz.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 23:36:31 +00:00
Adrian Holovaty
668e8b3df9
Added 'It worked' page, in a empty_urlconf() view in views/debug.py. It's called if the URLconf is empty.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 06:02:09 +00:00
Adrian Holovaty
374a6eaa4c
Fixed #1009 -- Fixed small typo in HasAllowableSize validator. Thanks, bsoltani
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:13:18 +00:00
Adrian Holovaty
7106c68e59
Fixed #985 -- Fixed admin docs behavior if docutils isn't installed. Thanks, Tim Keating
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:11:19 +00:00
Adrian Holovaty
4ed33777be
Fixed #926 -- Fixed spacing in admin index template/CSS to handle wider words
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-07 05:04:07 +00:00
Georg Bauer
cef2ffd7e1
fixes #1011 - updated 'es' translation for JavaScript
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 23:18:12 +00:00
Georg Bauer
48b67fe4bb
fix for a problem with djangojs missing for some languages. Thx Olivier
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 20:30:56 +00:00
Georg Bauer
631d127bd2
added two more message IDs for translations to dateparse.js - month names and day names in the parser. Updated existing djangojs.po files.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 20:30:20 +00:00
Georg Bauer
f9941eca03
fixes #1005 - updated 'sk' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1558 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 17:59:52 +00:00
Georg Bauer
7119514fed
fixes #1001 - new 'es' translations for JavaScript
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 16:49:55 +00:00
Adrian Holovaty
28263d6675
Added conf/project_template/manage.py, which is a light wrapper around django-admin.py that gets installed in each project with 'startproject'. It takes care of the PYTHONPATH and DJANGO_SETTINGS_MODULE business automatically.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:53:31 +00:00
Adrian Holovaty
17108bc190
Negligible capitalization change in django.core.management
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:38:56 +00:00
Adrian Holovaty
50cac9d276
Factored out django.core.management ACTION_MAPPING into DEFAULT_ACTION_MAPPING, so execute_from_command_line now takes an action_mapping parameter (DEFAULT_ACTION_MAPPING by default)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:35:07 +00:00
Adrian Holovaty
6d210ef403
Moved all logic from django-admin.py into django.core.management, into a new execute_from_command_line() function, so it can be called from other scripts. Also improved createproject to disallow 'django' and 'test' as project names.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:17:52 +00:00
Adrian Holovaty
85c369001b
Debug 400 page now displays special error message if your URLconf is empty.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 05:04:56 +00:00
Adrian Holovaty
54618dc0fe
Improved django.contrib.admin.views.main to raise ImproperlyConfigured if admin app isn't in INSTALLED_APPS. This avoids one possibility of an obscure error.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-06 04:55:33 +00:00
Jacob Kaplan-Moss
0020326520
Fixed bug in get_next_by_FOO/get_previous_by_FOO methods that caused a database error when using those methods along with joining lookup contraints (i.e. "obj.get_next_by_pub_date(related__id__in=some_list)")
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 17:40:19 +00:00
Georg Bauer
9aa1235779
fixes #997 - updated 'sr' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 16:28:29 +00:00
Adrian Holovaty
79be9b2e7d
Changed CommonMiddleware so it doesn't assume HTTP_HOST is set.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 15:25:55 +00:00
Adrian Holovaty
3cd7755ec6
Fixed #982 -- Added '__ne__' support for Django models, which apparently wasn't working on Python 2.3 (?)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-05 03:39:18 +00:00
Georg Bauer
74d69af4e9
fixed #995 - updated 'it' translations for JavaScript
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1544 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 20:53:16 +00:00
Georg Bauer
91bd17eb85
fixes #993 - updated 'cy' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 19:33:37 +00:00
Georg Bauer
c464e57da9
reverted changes from [1534] and [1536] regarding ticket #966
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 18:54:44 +00:00
Georg Bauer
9cdcef97e1
added more translation hooks for calendar (month names and day first characters where still missing) and updated translation files
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 16:24:42 +00:00
Georg Bauer
2565d41fb5
fixes #991 - updated 'sv' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1538 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 15:25:19 +00:00
Georg Bauer
4040b99b5c
fixes #990 - updated 'zh_CN' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 14:12:12 +00:00
Georg Bauer
7dbff908b5
updated all message files for possible new message IDs and new line numbers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:53:26 +00:00
Georg Bauer
4ef077c593
fixes #989 - new 'no' translations for JavaScript
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:48:50 +00:00
Georg Bauer
77e8f50633
fixes #988 - new djangjs translation for 'it'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 13:47:13 +00:00
Georg Bauer
eaed1a7ddb
limit packages in javascript_catalog to settings.INSTALLED_APPS and 'django.conf'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:57:46 +00:00
Georg Bauer
a841530a13
first take at admin JavaScript translation - translation hooks for the calendar and time picker are added and the german translation is updated
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:30:14 +00:00
Georg Bauer
5917fdcf2d
added infrastructure code for later javascript translating (currently not active)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-04 12:06:16 +00:00
Georg Bauer
946bd1e370
again fix for the popen3 calls in make-messages.py - thx. Olivier
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1528 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 22:53:33 +00:00
Georg Bauer
90ff261fbc
added 'b' modifier to popen3 calls in make-messages.py to help getting it to run with windows
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-03 19:04:31 +00:00
Adrian Holovaty
027c47b9b4
Fixed #983 -- Made 'django-admin.py --help' output easier to read. Thanks, Oliver
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-02 20:58:35 +00:00
Georg Bauer
c75b1e2b82
fixes #976 - updated 'sk' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 14:57:54 +00:00
Georg Bauer
f920559cda
fixes #956 , #969 and #955 - updated 'gl', 'sk' and 'es' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1523 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 10:40:07 +00:00
Adrian Holovaty
b5288e732c
Fixed #951 -- Admin bookmarklets no longer assume admin is rooted at '/'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 07:03:23 +00:00
Adrian Holovaty
15ea158c96
Fixed #893 -- Admin 'change password' and 'log out' links no longer assume admin lives at '/admin/'. Thanks, deric@monowerks.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1521 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:52:16 +00:00
Adrian Holovaty
3bf29d2184
Fixed #816 -- FileFields now work in the create_update generic view. Thanks, limodou
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:36:47 +00:00
Adrian Holovaty
9ede371c85
Fixed #971 -- inspectdb for SQLite now introspects field types.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1518 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:32:25 +00:00
Adrian Holovaty
38b8d18091
Fixed #965 -- 'django-admin.py sqlsequencereset' now includes m2m tables. Thanks for reporting, exoweb adrian
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:09:36 +00:00
Adrian Holovaty
a58dc0dbbd
Fixed #452 -- Fixed bug in generated DB API for models that have two ManyToManyFields to the same related model.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1516 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 06:02:45 +00:00
Adrian Holovaty
9e2eccc1ab
Improved model validator to throw error if a model has two ManyToMany relationships to the same model and doesn't set 'singular'. Refs #452 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 05:46:18 +00:00
Adrian Holovaty
e0f0532305
Small fix to a comment in django.core.meta.init
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1512 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 05:28:05 +00:00
Jacob Kaplan-Moss
c28daf2289
Fixed #757 : manually set AutoField values are now respected; also added unit test to verify the correct behavior. Thanks, cygnus.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 03:06:30 +00:00
Adrian Holovaty
bf0f6ec3b4
Added allow_empty hook to archive_index date-based generic view.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 22:03:50 +00:00
Adrian Holovaty
9541d7a7c7
Fixed #251 -- Added OR support to queries, via the new 'complex' DB API keyword argument. Updated docs and added unit tests. Also removed old, undocumented '_or' parameter. Thanks, Hugo.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1508 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 06:14:05 +00:00
Adrian Holovaty
837435a08a
Small simplification to request.GET.items() call in contrib.admin.views.main. Thanks, Kieran
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 05:34:51 +00:00
Adrian Holovaty
1f611288c6
Fixed bug in [1504] admin/views/main.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 04:15:36 +00:00
Adrian Holovaty
d89f041139
Fixed bug in QueryDict parse_sql() call under mod_python, which requires query_string to be an empty string, not None
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 04:13:21 +00:00
Adrian Holovaty
991bb61242
Fixed #736 -- Changed behavior of QueryDict items() to be more consistent, fixed mutability holes, gave MultiValueDict many more dictionary methods and added unit tests. Thanks, Kieran Holland. This is slightly backwards-incompatible if you happened to rely on the behavior of QueryDict.items(), which is highly unlikely.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 04:08:46 +00:00
Adrian Holovaty
0ecdad8593
Moved parse_sql import in django.utils.httpwrappers to the top of the module, not inside QueryDict.__init__()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 02:36:26 +00:00
Adrian Holovaty
804154b9e0
Small importing change in django.utils.httpwrappers. Refs #736 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1502 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 02:35:06 +00:00
Adrian Holovaty
3cb20c45c7
Moved Apache auth handler to django/contrib/auth/handlers/modpython.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 01:14:23 +00:00
Adrian Holovaty
5066fe528c
Added django.contrib.auth, in preparation for moving stuff to it
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1499 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 01:09:47 +00:00
Adrian Holovaty
674ac13ca6
Fixed #709 -- Added a __contains__ method to MultiValueDict. Thanks, Brantley
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1498 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 00:19:15 +00:00
Adrian Holovaty
e2e98aff6a
Fixed #962 -- Gave filter-registration decorator a return statement. Thanks, Kieran
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-30 00:08:56 +00:00
Jacob Kaplan-Moss
ae76186a4f
Added mod_python authentication handler and document on authenticating against Django's auth database from Apache
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1495 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 18:26:07 +00:00
Adrian Holovaty
2af63d3aab
Fixed #954 -- Many-to-many raw_id_admin change page now displays original object(s) correctly. Thanks for reporting, mordaha
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:54:56 +00:00
Adrian Holovaty
29d1598cce
Added a GOTCHA comment in django/core/template/init.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1488 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:53:05 +00:00
Adrian Holovaty
5a54455ac8
Negligible spacing fix to admin/templates/widget/foreign.html
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:50:31 +00:00
Adrian Holovaty
467d82c16c
Negligible spacing fix to admin.templatetags.admin_modify
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:50:07 +00:00
Adrian Holovaty
1ce5ef6166
Fixed error in raw_id_admin on ManyToManyFields caused by [1434] -- they weren't working.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 05:22:51 +00:00
Adrian Holovaty
de7a336486
Fixed #460 -- Added 'django-admin.py inspectdb' support for SQLite. Thanks, Swaroop
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1484 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 02:05:32 +00:00
Adrian Holovaty
539e5af17c
Fixed #490 -- Fixed incorrect handling of cursor.rowcount in yet-unused database_check functionality. Thanks, Eugene
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1483 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-29 01:04:28 +00:00
Adrian Holovaty
9e3efbecf8
Restored {% debug %} template tag, which was inadvertently removed in [1443]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1481 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 20:48:08 +00:00
Adrian Holovaty
2e09e145c0
Fixed #950 -- Fixed typo in admin bookmarklets template. Thanks, nesh
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1479 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 14:28:21 +00:00
Adrian Holovaty
496e777da9
Fixed #947 -- Corrected is_paginated variable in list_detail generic view. Thanks, nesh
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 14:26:04 +00:00
Adrian Holovaty
133839b033
Fixed #943 -- Restored django-admin createsuperuser functionality with no arguments. Thanks, deric
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 14:23:02 +00:00
Georg Bauer
79e710b4df
fixes #946 - updated 'cs' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 11:06:21 +00:00
Georg Bauer
bcc02c982f
added a new translation tag for the search "go" button
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 10:29:41 +00:00
Adrian Holovaty
e85b071e47
Fixed #798 and #715 -- Added optional arguments to createsuperuser, for each use in shell scripts. Thanks for the patch, bjorn@exoweb.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1474 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-28 02:57:38 +00:00
Adrian Holovaty
5de6fe1b2d
Fixed #938 -- Fixed bug in admin model docs with OneToOneField
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 23:43:35 +00:00
Adrian Holovaty
7548bfba64
Fixed bug in contrib/admin/templates/admin_doc/model_detail.html
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 23:16:26 +00:00
Adrian Holovaty
cc3660c07d
Fixed #878 -- URLconf regex captures no longer have to be named groups. Old URLconfs (with named groups) still work. This is backwards-incompatible if you've defined custom middleware with a process_view function. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 22:08:51 +00:00
Adrian Holovaty
8c3b41c3e9
Removed unnecessary load_template_source() function in django/core/template/loader.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 21:37:41 +00:00
Adrian Holovaty
6a36699818
Fixed #917 -- Made admin change_list view overridable by custom templates
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 20:25:56 +00:00
Adrian Holovaty
4cdaf74cec
Moved {% extends %} tag to top of template for admin/change_list.html
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 20:22:42 +00:00
Adrian Holovaty
3cf5d034db
Fixed #931 -- Fixed unordered_list template filter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 19:38:07 +00:00
Georg Bauer
7ff2c879c3
fixes #932 - updated 'cs' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 18:17:16 +00:00
Adrian Holovaty
2e7e19e0f2
Moved parts/admin/doc.py to contrib/admin/utils.py, where it belongs. Also caught docutils ImportError in a more controlled way
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 17:20:43 +00:00
Adrian Holovaty
f237936a87
Fixed #928 -- Fixed admin documentation breakage after [1443]. Thanks for reporting, nesh
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 17:14:11 +00:00
Adrian Holovaty
2fb95f1de6
Changed template library system so that it looks for a module-level variable named 'register' rather than the first instance of template.Library it finds
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 16:43:56 +00:00
Adrian Holovaty
2564f34c2b
Fixed missing {% load i18n %} in admin/templates/admin_doc/bookmarklets.html
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 16:10:49 +00:00
Georg Bauer
5c49a1e391
fixes #929 - updated 'sr' translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 15:43:14 +00:00
Adrian Holovaty
0cb2a00369
Added robots meta tag to views.static.serve to block robots from indexing and archiving the directory-index static view.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 14:07:04 +00:00
Adrian Holovaty
fc102791d8
Fixed bug in [1443] -- slice filter was registered as 'slice_'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 01:55:55 +00:00
Georg Bauer
0e9081e6de
loading of templates in includes now reraises the template loading exception instead of returning nothing
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1448 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 00:26:16 +00:00
Georg Bauer
53330a9274
unknown sources are now shown correctly as <unknown source> (before it was shown as a tag)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1447 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 00:01:11 +00:00
Adrian Holovaty
c83fa94391
Fixed bug in [1443] -- Missing Context import in django.core.template.loader
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1446 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 23:11:19 +00:00
Adrian Holovaty
adef71d2c4
Fixed bug in [1443] -- renamed compile_filters call to compile_filter
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 23:10:09 +00:00
Adrian Holovaty
ac91a22ec2
Fixed bug in [1443] -- a decorator call was left in
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 23:07:09 +00:00
Adrian Holovaty
3ede006fc9
Fixed #911 -- Made template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to {% load %} tag. Thanks, rjwittams. This is a backwards-incompatible change for people who've created custom template tags or filters. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for upgrade instructions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 22:46:31 +00:00
Adrian Holovaty
5676d5b068
Fixed #923 -- Made WSGI handler tolerant of no QUERY_STRING in os.environ. Thanks, michael.mcewan
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1442 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 18:41:29 +00:00
Georg Bauer
46c49a859a
fixes #910 , #918 and #922 - updated 'sk', 'ru' and 'zh_CN' translations
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1441 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 17:04:35 +00:00
Adrian Holovaty
8128f440ee
Fixed #903 -- Added login_url argument to user_passes_test view decorator. Didn't add it to login_required decorator because that would turn login_required into a callable decorator, which would break backwards compatibility.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 07:20:07 +00:00
Adrian Holovaty
37a0c110e2
Fixed #913 -- Made more helpful error for list_filter error. Thanks, Tom Tobin
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-26 06:42:28 +00:00
Georg Bauer
733e5265fe
updated all message files for the new_admin merge
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 23:25:59 +00:00
Adrian Holovaty
f0fceb773d
Merged mo/po files from new-admin branch
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 21:20:38 +00:00
Adrian Holovaty
9dda4abee1
MERGED NEW-ADMIN BRANCH (except for po/mo files, which will come in a separate commit)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 21:20:09 +00:00
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