Adrian Holovaty
44dabecf6e
Fixed #2628 -- Added django.contrib.sitemap. Thanks for the patch, Dan Watson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:13:59 +00:00
Adrian Holovaty
1d8db5ad89
Fixed #2441 -- Improved MultiValueDict.update() to take keyword args, like Python 2.4 built-in dict. Thanks for the patch, Pete Shinners
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 21:51:19 +00:00
Adrian Holovaty
93b1f9ad6e
Made extract_views_from_urlpatterns() in admin.views.doc tolerant of URLconfs that point to views that don't exist (raise ImportError)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 21:35:36 +00:00
Adrian Holovaty
d39b5cae68
Fixed #2529 -- Fixed TypeError in admin/doc/views. Thanks for the report and patch, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 21:32:50 +00:00
Russell Keith-Magee
fc2d5f461f
Refs #2333 - Added more documentation for testing framework, and clarified some code as a result of trying to describe it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 14:29:47 +00:00
Adrian Holovaty
22303d6c7d
Fixed #2611 -- Fixed XML serializer to handle null datetime fields. Thanks for reporting, csdurfee@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 04:11:46 +00:00
Adrian Holovaty
401b15d853
Fixed #2632 -- Made django.db.backends.util._dict_helper more efficient. Thanks for the patch, Andy Dustman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 03:45:08 +00:00
Adrian Holovaty
a4bd32770c
Fixed #2624 -- Fixed typo in docstring for Permission model. Thanks, david@dawninglight.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-30 16:39:18 +00:00
Russell Keith-Magee
a619b2b871
Refs #1400 - Reverted r3269. Template variable evalution should follow Python norms.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-30 00:54:08 +00:00
Jacob Kaplan-Moss
f89b9c8654
Fixed verbosity check in installing initial data
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28 20:44:35 +00:00
Jacob Kaplan-Moss
0e577430e9
Made psycopg2 backend behave the same as the other backends when it comes to unicode and datetime time zone info. See [ http://groups.google.com/group/django-developers/browse_frm/thread/4575a3fe0d78e2e4/d607d96f7b422620#d607d96f7b422620 the django-dev thread] for details.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28 20:00:47 +00:00
Jacob Kaplan-Moss
56264160a2
Test database creation/deletion now correctly quotes database names when creating/dropping them.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28 18:59:54 +00:00
Adrian Holovaty
a547ef0d62
Fixed #2604 -- Got compile-messages.py working on win32. Thanks for the patch, Jarosław Zabiełło
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28 18:43:58 +00:00
Adrian Holovaty
e7424f0619
Fixed #2607 -- Fixed incorrect ordering of super() arguments in DateTimeAwareJSONEncoder. Thanks for the patch, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-28 18:39:30 +00:00
Adrian Holovaty
2c2653db9f
Reverted [3659], the 'name' field on Template objects and the signal emitted whenever a template is rendered. Refs #2333 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 18:10:32 +00:00
Russell Keith-Magee
77ab11be45
Refs #2333 - Added 'test' target to django-admin script. Includes addition of --verbosity and --noinput options to django-admin, and a new TEST_RUNNER setting to control the tool used to execute tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 12:46:39 +00:00
Russell Keith-Magee
89fa97b837
Refs #2333 - Added a signal that is emitted whenever a template is rendered, and added a 'name' field to Template to allow easy identification of templates.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 12:35:07 +00:00
Russell Keith-Magee
7dce86ce02
Refs #2333 - Added test framework. This includes doctest and unittest finders, Django-specific doctest and unittest wrappers, and a pseudo-client that can be used to stimulate and test views.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 12:24:59 +00:00
Adrian Holovaty
34609438bb
Fixed #2581 -- Added populate_xheaders() call to flatpage view. Thanks for the patch, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 02:05:05 +00:00
Adrian Holovaty
3cfc8bb5d9
Fixed #2582 -- filter_interface now works on fields with verbose_name containing quotes. Thanks for reporting, 235
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 17:45:21 +00:00
Adrian Holovaty
5ddd0e0498
Fixed #2570 -- Added 'DejaVu Sans' to admin global.css, because it is more utf-8 friendly than Bitstream. Thanks for the patch, riklaunim@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:58:16 +00:00
Adrian Holovaty
513ae3a3f4
Fixed #2587 -- Removed unnecessary escaping from admin_doc/model_detail.html template. Thanks for reporting, Gary Wilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:53:43 +00:00
Adrian Holovaty
cccbe23006
Fixed #2577 -- Made isSlug() validator translation-aware. Thanks for the patch, henrik_kroeger@arcor.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 17:43:34 +00:00
Adrian Holovaty
ff5e01db5d
Fixed #2471 -- Got date-based generic views working with SQLite DateFields. Thanks for the patch, Steven Armstrong
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-21 17:40:54 +00:00
Adrian Holovaty
64cf4b95a6
Fixed bug in [3553] -- Changed admin JavaScript quoting for related-object popup window not to use repr(), because that produces values such as 123L for longints. Refs #2500
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 21:39:29 +00:00
Adrian Holovaty
eef88a6d2c
Fixed #2561 -- memcached cache backend no longer ignores default timeout. Thanks for the report and patch, Christopher Lenz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 15:10:08 +00:00
Adrian Holovaty
53348672c9
Added USE_I18N setting to default settings.py created for startproject command
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:42:28 +00:00
Adrian Holovaty
8b8f452055
Fixed #2540 -- Added one more i18n string to admin/views/doc.py. Thanks, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:37:01 +00:00
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