Adrian Holovaty
|
ceecf0f7de
|
Fixed #874 -- Changed debug views to use text/html mime-type instead of DEFAULT_CONTENT_TYPE. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-22 14:22:02 +00:00 |
Adrian Holovaty
|
57981fb2fa
|
Changed views.defaults page_not_found and server_error to pass in optional template_name override
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1350 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-22 05:47:51 +00:00 |
Jacob Kaplan-Moss
|
b4d379d5e1
|
Fixed #866: static.serve view no longer opens files in text mode -- thanks, Eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1331 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-21 13:06:51 +00:00 |
Adrian Holovaty
|
b5feff3963
|
Fixed #842 -- 500 error view no longer breaks for local variable named 'items'. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-20 05:17:15 +00:00 |
Jacob Kaplan-Moss
|
3bbc2bd091
|
Fixed #825; thanks for the suggestions, aaronsw
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1276 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-17 15:27:19 +00:00 |
Jacob Kaplan-Moss
|
bb505a87ac
|
Fixed #823 - cleaned up invalid HTML in debug error template. Thanks, Sune
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-17 14:19:33 +00:00 |
Adrian Holovaty
|
b1603563a3
|
Fixed #822 -- Changed 500 view to use disclosure triangles instead of up/down arrows. Thanks, aaronsw
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-17 03:10:03 +00:00 |
Jacob Kaplan-Moss
|
400cf5658d
|
Added django.views.generic.simple.redirect_to view for issuing simple redirects. Also updated direct_to_template to use render_to_response to be consistant with coding style, and documented the simple generic views.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1249 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-15 17:19:33 +00:00 |
Jacob Kaplan-Moss
|
dcb5bc32e0
|
Added django.views.generic.simple.direct_to_template which renders a given template along with any other params from the URL pattern.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-15 16:55:26 +00:00 |
Jacob Kaplan-Moss
|
d6aa904487
|
Fixed #799: any setting with "SECRET" or "PASSWORD" in the name is escaped in the debug view output (this can be expanded if there are other "naughty words" we want to strip out in the future. Thanks, Ian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1242 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-15 14:35:24 +00:00 |
Jacob Kaplan-Moss
|
065dd334de
|
Added NOINDEX tag to debug 500 page (for robots)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-14 18:50:13 +00:00 |
Jacob Kaplan-Moss
|
0710243ea1
|
Added "pretty" error pages to be used when DEBUG is True.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1233 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-14 17:44:50 +00:00 |
Adrian Holovaty
|
944de9e9e6
|
Completely refactored legacy RSS framework to the new django.contrib.syndication package. Also added Atom support, changed the way feeds are registered and added documentation for the whole lot. This is backwards-incompatible, but the RSS framework had not yet been documented, so this should only affect tinkerers and WorldOnline. Fixes #329, #498, #502 and #554. Thanks for various patches/ideas to alastair, ismael, hugo, eric moritz and garthk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-12 03:44:53 +00:00 |
Adrian Holovaty
|
1b035c35d9
|
BACKWARDS-INCOMPATIBLE CHANGE -- Moved flatpages and redirects to standalone apps in django.contrib that are NOT installed by default. See http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges for full migration information.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1166 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-11 04:45:05 +00:00 |
Adrian Holovaty
|
4345866965
|
Added django.core.rss.Feed -- the new RSS interface. Refs #329.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-09 00:50:01 +00:00 |
Adrian Holovaty
|
f6ce403140
|
Small docstring change to django.views.static
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-06 21:54:37 +00:00 |
Jacob Kaplan-Moss
|
5cf8f68423
|
Merged i18n branch into the trunk! Fixes #65, and perhaps some others. NB: this means that the i18n branch is now obsolete and will be made read-only.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1068 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-04 04:59:46 +00:00 |
Jacob Kaplan-Moss
|
f12e324332
|
Fixed #612 - added cache control headers (thanks, hugo)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-29 17:00:20 +00:00 |
Jacob Kaplan-Moss
|
e7c870c36e
|
Fixed #703: added decorators to require that view be called with a given HTTP REQUEST_METHOD
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-28 01:30:30 +00:00 |
Jacob Kaplan-Moss
|
c3377c1eae
|
Fixed shortcut redirect handler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-26 14:01:53 +00:00 |
Adrian Holovaty
|
43ad69e24e
|
Fixed #684 -- Fixed login_required and user_passes_test decorators. Thanks, rjwittams
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-23 22:42:44 +00:00 |
Adrian Holovaty
|
4f47ef85f8
|
Added django.views.decorators.auth.user_passes_test, which is a more generic hook into authentication based on a test. Refactored login_required to use user_passes_test
git-svn-id: http://code.djangoproject.com/svn/django/trunk@988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-22 00:04:55 +00:00 |
Adrian Holovaty
|
530f8d12b7
|
Removed django.views.admin. Everything has been moved to django.contrib.admin.views. Refs #627
git-svn-id: http://code.djangoproject.com/svn/django/trunk@928 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-18 04:59:26 +00:00 |
Adrian Holovaty
|
b4fd513f9f
|
Moved views.admin.main to contrib.admin.views.main. Refs #627. Note that this is still backwards-compatible, assuming people are using django.conf.urls.admin as their admin URLconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-18 04:58:34 +00:00 |
Adrian Holovaty
|
aed1930133
|
Moved django.views.admin.template and django.views.admin.doc to django.contrib.admin.views. Refs #627
git-svn-id: http://code.djangoproject.com/svn/django/trunk@923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-18 04:40:47 +00:00 |
Adrian Holovaty
|
1dc6d4b265
|
Changed django.views.admin.doc to use template.loader instead of template_loader
git-svn-id: http://code.djangoproject.com/svn/django/trunk@922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-18 04:36:28 +00:00 |
Adrian Holovaty
|
383704ac84
|
Fixed #634 -- Changed shortcut view to accept get_absolute_url()s that return URLs starting with http. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-17 13:24:29 +00:00 |
Adrian Holovaty
|
f71f854628
|
Fixed #626 -- Moved template modules to django.core.template package. django.core.template_loader is deprecated, in favor of django.core.template.loader.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-14 20:10:13 +00:00 |
Jacob Kaplan-Moss
|
b8f70f8c94
|
Updated docs to reflect changes in [824]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-10 20:23:53 +00:00 |
Jacob Kaplan-Moss
|
705a2c31c1
|
Fixed #604 - total number of objects in generic object_list view is now available as {{ hits }}
git-svn-id: http://code.djangoproject.com/svn/django/trunk@824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-10 20:18:47 +00:00 |
Adrian Holovaty
|
d65526d688
|
Fixed #580 -- Added mega support for generating Vary headers, including some view decorators, and changed the CacheMiddleware to account for the Vary header. Also added GZipMiddleware and ConditionalGetMiddleware, which are no longer handled by CacheMiddleware itself. Also updated the cache.txt and middleware.txt docs. Thanks to Hugo and Sune for the excellent patches
git-svn-id: http://code.djangoproject.com/svn/django/trunk@810 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-09 00:55:08 +00:00 |
Adrian Holovaty
|
a5a89b5a43
|
Moved vary decorators from django.utils.cache to django.views.decorators.vary
git-svn-id: http://code.djangoproject.com/svn/django/trunk@809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-09 00:37:56 +00:00 |
Adrian Holovaty
|
6beab20722
|
Fixed #374 -- Filtering by BooleanField now works in admin with SQLite. Thanks, davidschein
git-svn-id: http://code.djangoproject.com/svn/django/trunk@804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-08 20:23:11 +00:00 |
Adrian Holovaty
|
ab9aacd4db
|
Fixed #333 and #440 -- Split DEFAULT_MIME_TYPE setting into DEFAULT_CONTENT_TYPE and DEFAULT_CHARSET. Thanks, Maniac.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-06 02:27:08 +00:00 |
Adrian Holovaty
|
261ab166ce
|
Fixed #586 -- raw_id_admin now works with non-integer primary keys
git-svn-id: http://code.djangoproject.com/svn/django/trunk@785 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-10-06 01:51:30 +00:00 |
Jacob Kaplan-Moss
|
022a03ab32
|
Fixed #541 - generic views now may take a {{{template_loader}}} argument so they can use a different template loader than Django's own. Thanks, Joao.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-29 23:16:29 +00:00 |
Jacob Kaplan-Moss
|
2425907eac
|
Fixed #576 - popups no longer show "save & continue" buttons. Thanks, Hein-Pieter
git-svn-id: http://code.djangoproject.com/svn/django/trunk@731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-29 22:34:17 +00:00 |
Adrian Holovaty
|
26021249a4
|
Fixed #573 -- Added 'Add another' link to many-to-many fields in admin. Thanks, hp@syntomax.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-29 03:19:14 +00:00 |
Jacob Kaplan-Moss
|
2a072999ca
|
Fixed type in static view URL pattern example (refs #428)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-09-26 13:38:49 +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
|
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
|
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
|
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
|
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
|
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 |