Luke Plant
|
23269289be
|
Negligible code cleanup for the sake of clarity.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2969 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-23 19:34:43 +00:00 |
Adrian Holovaty
|
d9aaa1ca86
|
Fixed #1931 -- update_object generic view no longer assumes the object's get_absolute_url() doesn't change. Thanks, marcink@elksoft.pl
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-22 02:02:23 +00:00 |
Adrian Holovaty
|
885dd85b5f
|
Fixed #1785 -- debug view no longer assumes _get_lines_from_file returns None. Thanks, django@binaryfeed.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 23:18:22 +00:00 |
Luke Plant
|
7a62bac56e
|
Made QuerySet slicing return IndexError instead of DoesNotExist (and related changes).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-06 18:46:53 +00:00 |
Adrian Holovaty
|
cc4196a407
|
Fixed #1059 -- Fixed off-by-one line number in heading of debug error pages.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2815 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 18:44:22 +00:00 |
Adrian Holovaty
|
f69cf70ed8
|
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-05-02 01:31:56 +00:00 |
Adrian Holovaty
|
b1599e56b8
|
Fixed #1557 in trunk
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2597 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-30 04:43:55 +00:00 |
Adrian Holovaty
|
5beb39b896
|
Fixed #1457 -- Added support for if-modified-since header in django.views.static. Thanks, Shannon -jj Behrens
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2476 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-03 04:53:04 +00:00 |
Adrian Holovaty
|
6330e286c3
|
Fixed #1399 -- Added template_object_name hook to generic views. Thanks, ChaosKCW
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2453 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-03-01 03:37:57 +00:00 |
Adrian Holovaty
|
074299db83
|
Fixed #1420 -- Added copy-and-paste (pastebin-friendly) toggle for debug view. Thanks, jpaulofarias
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2444 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-28 15:52:57 +00:00 |
Jacob Kaplan-Moss
|
da310cff67
|
Fixed #1033 -- pagination in object_list generic views now use 1-indexed page numbers in the URL. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2426 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-27 23:34:39 +00:00 |
Adrian Holovaty
|
47f040d2eb
|
Fixed #1059 -- Fixed line numbers off-by-one error in debug output
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-27 22:23:24 +00:00 |
Adrian Holovaty
|
73ddfd8bd2
|
Fixed #1229 -- Added allow_empty argument to archive_year and archive_month date-based generic views
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2337 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-18 20:13:46 +00:00 |
Adrian Holovaty
|
6b694097dc
|
Fixed #1302 -- Added next_month and previous_month to template context in archive_month date-based generic view. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2323 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-17 18:03:54 +00:00 |
Adrian Holovaty
|
b3f99ec9fe
|
Fixed #1366 -- Static-file view now escapes file names. Thanks, Kieran Holland
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-17 17:56:46 +00:00 |
Adrian Holovaty
|
c12c225a66
|
Fixed a bunch of errors detected by pychecker -- unneeded imports and shadows of builtin variable names
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-19 01:06:12 +00:00 |
Adrian Holovaty
|
170c3be4b3
|
Changed debug error view to escape the exception value, so that values in angle brackets aren't hidden by browsers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-05 16:28:25 +00:00 |
Adrian Holovaty
|
3234a932b2
|
Fixed #1117 -- Added HttpResponsePermanentRedirect
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-03 23:57:14 +00:00 |
Adrian Holovaty
|
49fd163a95
|
Fixed #925 -- Added TEMPLATE_CONTEXT_PROCESSORS, which lets you specify processesors for DjangoContext. Thanks, Luke Plant
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-24 04:39:59 +00:00 |
Adrian Holovaty
|
5cbbd364c3
|
Fixed #1041 -- Generic views no longer use deprecated template_loader. Thanks for the patch, Ian
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-16 04:54:18 +00:00 |
Adrian Holovaty
|
bf49a1a8f4
|
Removed django/views/rss, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:34:54 +00:00 |
Adrian Holovaty
|
e6256ac614
|
Removed django/views/core, which was empty
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-15 00:33:52 +00:00 |
Adrian Holovaty
|
d06a12406b
|
Fixed #998 -- Fixed edge-case bug in debug view for templates with only one line. Thanks, andy@jadedplanet.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2005-12-09 02:35:38 +00:00 |
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 |