Adrian Holovaty
|
b625153b49
|
Fixed #992 -- Fixed bug in archive_month generic view leaving out the last day of the month. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 01:55:53 +00:00 |
Adrian Holovaty
|
668e8b3df9
|
Added 'It worked' page, in a empty_urlconf() view in views/debug.py. It's called if the URLconf is empty.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-07 06:02:09 +00:00 |
Georg Bauer
|
48b67fe4bb
|
fix for a problem with djangojs missing for some languages. Thx Olivier
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 20:30:56 +00:00 |
Adrian Holovaty
|
85c369001b
|
Debug 400 page now displays special error message if your URLconf is empty.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-06 05:04:56 +00:00 |
Georg Bauer
|
eaed1a7ddb
|
limit packages in javascript_catalog to settings.INSTALLED_APPS and 'django.conf'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-04 12:57:46 +00:00 |
Georg Bauer
|
5917fdcf2d
|
added infrastructure code for later javascript translating (currently not active)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-04 12:06:16 +00:00 |
Adrian Holovaty
|
3bf29d2184
|
Fixed #816 -- FileFields now work in the create_update generic view. Thanks, limodou
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-01 06:36:47 +00:00 |
Adrian Holovaty
|
bf0f6ec3b4
|
Added allow_empty hook to archive_index date-based generic view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1510 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-30 22:03:50 +00:00 |
Adrian Holovaty
|
496e777da9
|
Fixed #947 -- Corrected is_paginated variable in list_detail generic view. Thanks, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-28 14:26:04 +00:00 |
Adrian Holovaty
|
0cb2a00369
|
Added robots meta tag to views.static.serve to block robots from indexing and archiving the directory-index static view.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1452 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-27 14:07:04 +00:00 |
Adrian Holovaty
|
8128f440ee
|
Fixed #903 -- Added login_url argument to user_passes_test view decorator. Didn't add it to login_required decorator because that would turn login_required into a callable decorator, which would break backwards compatibility.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-26 07:20:07 +00:00 |
Adrian Holovaty
|
9dda4abee1
|
MERGED NEW-ADMIN BRANCH (except for po/mo files, which will come in a separate commit)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 21:20:09 +00:00 |
Georg Bauer
|
84eb80bbd7
|
and another little fix to the email sending stuff on password_reset - using Context works much better after importing it
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 00:20:13 +00:00 |
Georg Bauer
|
ca683d8ca5
|
now really fixed the source formatting. brought to you by the magics of IRC-based pair programming
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-25 00:04:06 +00:00 |
Georg Bauer
|
eff2a1fde2
|
just another small fix to the template_debug layout
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 23:35:28 +00:00 |
Georg Bauer
|
73766b1f88
|
fixed debug view for templates so it starts counting with 1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 23:31:33 +00:00 |
Georg Bauer
|
798e6d5663
|
mail sending used Template.render, but passed only a dictionary, not a Context object
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 23:10:24 +00:00 |
Georg Bauer
|
f0fbd43a57
|
small fix to the template_debug stuff, it was dropping last characters and didn't split the first line correctly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 22:57:04 +00:00 |
Adrian Holovaty
|
18c7ed74e4
|
Fixed #896 -- Fixed error in filesystem serve view in Windows. Thanks, Petar Marić and nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 22:41:05 +00:00 |
Adrian Holovaty
|
d922825156
|
Fixed #892 -- TemplateDoesNotExist errors now get a 'Template-loader postmortem' section on the pretty debug page. Thanks for the idea, David Ascher
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 21:15:51 +00:00 |
Georg Bauer
|
eab4a22596
|
changed the linebreaks_iter function to use str.find instead of re.finditer, because the latter one has problems with Python 2.3
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-24 00:06:36 +00:00 |
Adrian Holovaty
|
39eac9bdff
|
Added Wilson's HTML tweaks to the template error screen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-23 23:15:52 +00:00 |
Adrian Holovaty
|
21f2d842fa
|
Added Wilson's CSS tweaks to the template error screen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-23 23:12:24 +00:00 |
Adrian Holovaty
|
5d863f1fbd
|
Fixed #603 -- Added template debugging errors to pretty error-page output, if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-11-23 23:10:17 +00:00 |
Adrian Holovaty
|
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 |