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 |
Adrian Holovaty
|
e5a801590a
|
Improved model validator to check for upload_to attribute in FileFields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-05 15:04:20 +00:00 |
Adrian Holovaty
|
fc9d457686
|
Fixed #458 -- Added /r/ to default admin urlconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-04 18:20:57 +00:00 |
Adrian Holovaty
|
66d4db7b09
|
Fixed #351 -- views.generic.list_detail.object_list now respects allow_empty when paginating. Thanks, kmh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 22:54:12 +00:00 |
Adrian Holovaty
|
5c22b8b4b7
|
Improved model validator to make sure prepopulate_from is a list or tuple
git-svn-id: http://code.djangoproject.com/svn/django/trunk@617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 22:50:53 +00:00 |
Adrian Holovaty
|
ccbea84834
|
Fixed #404 -- Fixed random ordering in MySQL by abstracting random function into db backend modules. Thanks, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 20:46:00 +00:00 |
Adrian Holovaty
|
5bdf1da730
|
Fixed #394 -- Trailing-slash redirects now retain duplicate name-value query-string pairs, instead of the first of each pair. Added a QueryDict.urlencode() method to accomplish this. Updated the docs. Thanks for the good catch, mlambert
git-svn-id: http://code.djangoproject.com/svn/django/trunk@613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 19:39:47 +00:00 |
Adrian Holovaty
|
64d3da63ae
|
Fixed #429 -- Small cleanup to code in utils/html.py. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:51:14 +00:00 |
Adrian Holovaty
|
3aa1276bff
|
Fixed #453 -- 'django-admin install' now does model validation before installation. Lightly refactored django.core.management to add a get_validation_errors() function, which validate() wraps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:38:23 +00:00 |
Adrian Holovaty
|
24006427d9
|
Changed django.core.management.validate to take an optional 'outfile' argument, defaulting to sys.stdout
git-svn-id: http://code.djangoproject.com/svn/django/trunk@608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:28:26 +00:00 |
Adrian Holovaty
|
59b204526e
|
Fixed #454 -- Clarified django-admin '--help' output to use 'modelmodule' instead of 'app'. Thanks, Maniac
git-svn-id: http://code.djangoproject.com/svn/django/trunk@607 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-02 18:26:16 +00:00 |