Adrian Holovaty
|
c44fd057fa
|
Subclassed models now use their own class name (or explicitly defined verbose_name) as the verbose_name, not the parent's verbose_name. See also #558 and [697].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-26 05:12:22 +00:00 |
Adrian Holovaty
|
60bb739d9e
|
Fixed #558 -- Subclassed models now use their own class name (or explicitly defined module_name) as the module_name, not the parent's module_name
git-svn-id: http://code.djangoproject.com/svn/django/trunk@697 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-26 05:03:40 +00:00 |
Jacob Kaplan-Moss
|
871ffbe7ee
|
Fixed #515 (again) - renamed "key" field in SQL cache to "cache_key" because
MySQL reserves "key".
git-svn-id: http://code.djangoproject.com/svn/django/trunk@695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-26 03:14:37 +00:00 |
Adrian Holovaty
|
a978dbe779
|
Fixed #489 -- Changed MySQL backend to use longtext for XMLField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-26 02:36:53 +00:00 |
Adrian Holovaty
|
9b68dbf95e
|
Fixed #469 -- Admin changelist no longer assumes ForeignKey has 'ordering' set when ordering by a ForeignKey field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@693 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 22:27:23 +00:00 |
Jacob Kaplan-Moss
|
0fa1aa8711
|
Added a database-backed cache backend, along with a tool in django-admin to
create the necessary table structure. This closes #515; thanks again,
Eugene!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 22:03:30 +00:00 |
Adrian Holovaty
|
68c0742008
|
Fixed #468 -- Model classes now get an accessor method to get the human-readable value for each field that has 'choices' set. Thanks, Robert
git-svn-id: http://code.djangoproject.com/svn/django/trunk@687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 20:36:05 +00:00 |
Jacob Kaplan-Moss
|
272eab5cd8
|
Added "locmem" and "file" cache backends. "locmem" is a thread-safe local-memory cache, and "file" is a file-based cache.
This refs #515; much thanks to Eugene Lazutkin!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@686 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 20:01:35 +00:00 |
Adrian Holovaty
|
26c4356e01
|
Improved model validator so that it checks for PIL if ImageFields are used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 20:01:30 +00:00 |
Adrian Holovaty
|
530cdb5a8d
|
Fixed #550 -- Default admin template now checks user permissions, hiding apps/modules/actions for which the user doesn't have permissions. Thanks, Jason Huggins
git-svn-id: http://code.djangoproject.com/svn/django/trunk@684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 19:08:44 +00:00 |
Jacob Kaplan-Moss
|
572ac3e7df
|
Fixed #428 -- added a "static pages" view. Note that this view should only be used for testing!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 18:45:01 +00:00 |
Adrian Holovaty
|
c05cce5c52
|
Fixed #556 -- ManyToManyField join tables no longer assume the primary keys of both associated tables are integers. Also added unit tests to confirm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@682 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-25 18:29:59 +00:00 |
Adrian Holovaty
|
109a915775
|
Fixed #489 -- Changed MySQL backend to use longtext instead of text for TextField
git-svn-id: http://code.djangoproject.com/svn/django/trunk@680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-24 17:37:30 +00:00 |
Adrian Holovaty
|
3dcdce4d63
|
Made a small improvement to django.views.core.flatfiles so that it only uses select_template if a custom template is available, so as not to hit the filesystem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 22:09:42 +00:00 |
Adrian Holovaty
|
a39e6c91b1
|
Changed django.views.core.flatfiles to use get_object_or_404
git-svn-id: http://code.djangoproject.com/svn/django/trunk@676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 21:59:17 +00:00 |
Adrian Holovaty
|
3b49ecea63
|
Changed django.views.admin.template to use render_to_response, to cut on code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 21:53:53 +00:00 |
Adrian Holovaty
|
a089b8f620
|
Changed django.views.admin.main to use get_object_or_404 and render_to_response, to cut on code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 21:52:01 +00:00 |
Adrian Holovaty
|
58641f8068
|
Added django.core.extensions get_object_or_404 and get_list_or_404
git-svn-id: http://code.djangoproject.com/svn/django/trunk@673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 21:40:04 +00:00 |
Adrian Holovaty
|
9562cbbc49
|
Fixed #543 -- Fixed broken mod_python support due to an import in the wrong place
git-svn-id: http://code.djangoproject.com/svn/django/trunk@672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 13:24:52 +00:00 |
Adrian Holovaty
|
3d426607a8
|
Fixed #264 -- Added django.core.validators.isValidIPAddress4. Thanks, Hugo and Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 02:02:15 +00:00 |
Adrian Holovaty
|
36fc73a45b
|
Fixed #333 -- Added DEFAULT_MIME_TYPE setting, and set it to 'text/html; charset=utf-8' by default
git-svn-id: http://code.djangoproject.com/svn/django/trunk@670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 01:50:01 +00:00 |
Adrian Holovaty
|
39a907a051
|
Added request.session.delete_test_cookie()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@669 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 01:28:44 +00:00 |
Adrian Holovaty
|
3dc1ede871
|
Fixed #236 -- Added HttpResponse.delete_cookie() method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 01:17:39 +00:00 |
Adrian Holovaty
|
8df0df620f
|
Removed a legacy 'TODO' from django.middleware.sessions
git-svn-id: http://code.djangoproject.com/svn/django/trunk@667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 00:21:35 +00:00 |
Adrian Holovaty
|
1a5ada0101
|
Fixed #539 -- Added support for strides to 'slice' template filter, and made the code more efficient. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/trunk@666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-23 00:12:24 +00:00 |
Adrian Holovaty
|
a7efb3939f
|
Converted load_and_render() calls to render_to_response() because of [664].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 22:26:56 +00:00 |
Adrian Holovaty
|
62f036d67d
|
Added django.core.template_loader.render_to_string and django.core.extensions.render_to_response. django.core.extensions.load_and_render is deprecated in favor of render_to_response.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 14:57:05 +00:00 |
Adrian Holovaty
|
17418cd982
|
Added django.core.validators.isValidHTML
git-svn-id: http://code.djangoproject.com/svn/django/trunk@663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 14:51:57 +00:00 |
Adrian Holovaty
|
a269a2058a
|
Converted django.contrib.comments.views.* to use load_and_render
git-svn-id: http://code.djangoproject.com/svn/django/trunk@661 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 05:32:47 +00:00 |
Adrian Holovaty
|
4175aec30f
|
Converted django.views.admin.doc to use load_and_render
git-svn-id: http://code.djangoproject.com/svn/django/trunk@660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 05:23:41 +00:00 |
Adrian Holovaty
|
aec3e32c7b
|
Converted django.views.auth.login to use load_and_render
git-svn-id: http://code.djangoproject.com/svn/django/trunk@659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 05:18:23 +00:00 |
Adrian Holovaty
|
48f0820337
|
Converted django.views.registration.passwords to use load_and_render -- it's less code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-22 05:13:15 +00:00 |
Adrian Holovaty
|
a6946dac54
|
Fixed #533 -- Fixed bug when using custom context_instance in load_and_render(). Thanks, Brantley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-21 21:41:37 +00:00 |
Adrian Holovaty
|
0505000533
|
Changed django.core.extensions.load_and_render to take context_instance instead of context_class keyword arg, so DjangoContext can be used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-21 18:18:04 +00:00 |
Adrian Holovaty
|
63994a9801
|
Added django.core.extensions.load_and_render, which factors out the boilerplate of loading a template, rendering a context and returning an HttpResponse
git-svn-id: http://code.djangoproject.com/svn/django/trunk@655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-21 17:24:33 +00:00 |
Adrian Holovaty
|
bb87b2163c
|
Fixed #525 -- admin.list_filter now works with ManyToManyFields whose primary keys are integers and are not called 'id'. Thanks for the bug report, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-20 03:46:11 +00:00 |
Adrian Holovaty
|
7dfb86724d
|
Improved model validator so that it validates admin.list_display values
git-svn-id: http://code.djangoproject.com/svn/django/trunk@650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-20 02:48:25 +00:00 |
Adrian Holovaty
|
e7982bb5b0
|
Fixed #491 -- Non-user connections are now supported for PostgreSQL. Thanks, jafo@tummy.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-19 01:23:03 +00:00 |
Adrian Holovaty
|
bcc2873c70
|
Companion django.core.extensions checkin to [644]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-17 23:08:24 +00:00 |
Adrian Holovaty
|
1e910f94d2
|
Fixed mutable-argument bug in template.Context init. Thanks, Luke
git-svn-id: http://code.djangoproject.com/svn/django/trunk@644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-17 23:06:16 +00:00 |
Jacob Kaplan-Moss
|
526de4987a
|
Fixed "unique" validator for fields with relations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-15 16:54:46 +00:00 |
Adrian Holovaty
|
9a24228a3e
|
Fixed #502 -- Added 'categories' keyword argument to RSS framework. Thanks, eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-14 17:39:47 +00:00 |
Adrian Holovaty
|
f55f98f989
|
Fixed #500 -- Created a TEMPLATE_FILE_EXTENSION setting that lets you override the default '.html' if you want to use a different extension (or none at all) for templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-14 01:24:36 +00:00 |
Adrian Holovaty
|
adaf046591
|
Fixed metasystem bug when using get_related_many_to_many() method with a custom-named primary key. Thanks, stane
git-svn-id: http://code.djangoproject.com/svn/django/trunk@639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-13 03:48:06 +00:00 |
Adrian Holovaty
|
84560c7f84
|
Removed Lawrence-specific stuff in utils.text.recapitalize. Refs #467
git-svn-id: http://code.djangoproject.com/svn/django/trunk@638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-13 03:31:34 +00:00 |
Adrian Holovaty
|
99e0f7a932
|
Removed utils.text.fix_microsoft_characters, which didn't actually do anything. Refs #467.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-13 03:28:34 +00:00 |
Adrian Holovaty
|
6e034a831a
|
Fixed #481 -- Added all other HTTP status codes to WSGI backend. Thanks, eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-13 03:21:44 +00:00 |
Adrian Holovaty
|
63e512f25f
|
Fixed #485 -- Typo in utils/feedgenerator.py. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-11 15:20:05 +00:00 |
Adrian Holovaty
|
095305cb44
|
Fixed #486 -- Fixed bug in template filter parsing in edge cases, and added unit tests. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-11 15:18:04 +00:00 |
Adrian Holovaty
|
f46402bc90
|
Made 'django-admin.py init' more robust
git-svn-id: http://code.djangoproject.com/svn/django/trunk@632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-06 22:14:40 +00:00 |