Commit Graph

2255 Commits

Author SHA1 Message Date
Adrian Holovaty 8753a072f7 Small clarification to docs/templates.txt change from [3465]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:25:46 +00:00
Adrian Holovaty 1707f79b74 Added django.db.models.permalink decorator, which decorates a function that returns a viewname, viewargs and viewkwargs. The decorator returns the result of a reverse URL lookup on those parameters. Documentation is forthcoming.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:09:38 +00:00
Adrian Holovaty 3770dbde3c Added urlpatterns_reverse unit tests, which test the reverse lookup of URLs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:08:36 +00:00
Adrian Holovaty 36ee8f5ad2 Added leading slash to output of core.urlresolvers.reverse(), and made 'urlconf' a keyword argument
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:08:17 +00:00
Adrian Holovaty e3bb401181 Added section to INSTALL about an alternative install method that avoids using an Internet connection
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:07:43 +00:00
Adrian Holovaty 9345c85e97 Made some much-needed updates to AUTHORS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3468 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 02:06:20 +00:00
Jacob Kaplan-Moss a55fa029f7 Fixed #1767 -- boolean fields may now have validators! Thanks, Joseph.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3467 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-28 00:13:10 +00:00
Jacob Kaplan-Moss 09912cce70 Fixed #1653 -- added some documentation for FileFields/ImageFields. Thanks, Asmodai.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3466 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 23:59:35 +00:00
Jacob Kaplan-Moss 847b1ed54e Fixed #1650: the {% extends %} tag now can extend a Template object passed into the context. Thanks, clelland@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3465 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 23:23:55 +00:00
Jacob Kaplan-Moss 6537401ca4 Added notes on API stability in preparation for the 0.95 release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 18:12:53 +00:00
Adrian Holovaty 2a0af00524 Fixed #2375 -- Changed password_reset auth view to make e-mail template name variable. Thanks, treborhudson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 17:48:35 +00:00
Adrian Holovaty c7fa1fa56f Fixed #2388 -- login_required decorator now preserves docstring and name of decorated function. Thanks, derekgr@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 17:41:28 +00:00
Adrian Holovaty aaa3cc0ea3 Changed output of django-admin.py --version to use a hyphen instead of parenthesis, to be clearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3460 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 17:03:35 +00:00
Adrian Holovaty 16bdaa7acb Added FAQ question 'I submitted a bug fix in the ticket system several weeks ago. Why are you ignoring my patch?'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3459 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:55:26 +00:00
Adrian Holovaty e433e07a8d Fixed #2408 -- Added get_language_from_request() to trans_null.py. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3458 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:38:32 +00:00
Adrian Holovaty ecdd6ae6de Fixed #2433 -- Added allow_future option to date-based generic views
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3457 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:36:02 +00:00
Adrian Holovaty c37a6fa17a Fixed #2435 -- Fixed wording errors in Tutorial 4. Thanks, nicholas@aquarionics.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 16:16:17 +00:00
Adrian Holovaty eb25411407 Added 'Please do not put your name in the code' section to docs/contributing.txt. Thanks to OSCON presentation for the inspiration
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3455 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-27 00:46:32 +00:00
Adrian Holovaty f65cede313 Added note to docs/tutorial02.txt about which username to use in admin login
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-26 21:30:14 +00:00
Adrian Holovaty e427d5bc15 Fixed #2420 -- Fixed typo in docs/syndication_feeds.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3451 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-26 00:15:01 +00:00
Adrian Holovaty 22b63bb5be Made correction to a comment in django/template/loader_tags.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3450 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-25 18:54:13 +00:00
Adrian Holovaty 065b9aed67 Negligible formatting change to django/template/__init__.py
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3449 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-25 18:53:27 +00:00
Adrian Holovaty 3d02de2713 Added resolve() and reverse() helper functions to django.core.urlresolvers
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3445 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-25 07:30:22 +00:00
Adrian Holovaty e5c40514fb Fixed typo in docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3439 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:52:52 +00:00
Adrian Holovaty 0991cd004c Fixed grammar: Designate -> Differentiate in docs/design_philosophies.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3438 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:43:09 +00:00
Adrian Holovaty 91bf6e5765 Added note to docs/contributing.txt about post-commit hook, for the curious
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:41:44 +00:00
Adrian Holovaty d43e6fc97a Added 'Transactions in MySQL' section to docs/transactions.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3436 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:39:50 +00:00
Adrian Holovaty ed80500a30 Added link to Luke Plant's current-user hack from docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:28:09 +00:00
Adrian Holovaty 45076bf871 Fixed adverse -> averse typo in docs/faq.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 02:25:41 +00:00
Adrian Holovaty 571ee77dfe Fixed legacy mention of DjangoContext in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-24 01:51:15 +00:00
Adrian Holovaty 6d050ff07a Fixed #2398 -- Updated ez_setup.py to version 0.6c1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-23 23:16:54 +00:00
Adrian Holovaty 564d556519 Fixed #2405 -- Fixed recursion error in auth.views.logout(), caused by [3402]. Thanks, Jay Skabber
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-23 23:14:36 +00:00
Malcolm Tredinnick 20831e0d2f Fixed #2399 -- restored HttpResponse (overly enthusiastic pruning in r3414).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 06:13:49 +00:00
Malcolm Tredinnick dd19218f4e Fixed #2397 -- fixed markdown test to be a bit more lenient in what counts as a
pass due to whitespace differences between markdown versions. Thanks to
shields@msrl.com for the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-22 02:47:17 +00:00
Jacob Kaplan-Moss 1687b025dc Part 3 of pedant day: replaced all tabs in Django with spaces. Python the way Guido intended it, baby!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3415 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 20:48:17 +00:00
Jacob Kaplan-Moss a926046ba6 Second half of little cleanup tweaks suggested by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 20:39:17 +00:00
Jacob Kaplan-Moss 5c5ca53b70 Fixed bug in comment feed turned up by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3413 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 19:12:51 +00:00
Jacob Kaplan-Moss 17d0bd1512 Fixed a bunch of spurious imports, typos, and other small errors turned up by a pass through PyFlakes. This covers about the first third of the errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 17:11:13 +00:00
Jacob Kaplan-Moss e9a236d86c Fixed #2092: added a "is_secure()" method to HttpRequest which correctly handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 16:20:22 +00:00
Adrian Holovaty 8bdd19beea Fixed #1961 -- Made feed_url dynamic in syndication framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 15:57:50 +00:00
Georg Bauer a93855c5bd added tamil translation to the setup
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 14:48:31 +00:00
Georg Bauer f3e3869e09 fixed #2371: added tamil translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 14:47:14 +00:00
Adrian Holovaty 27c49b69b8 Fixed #2392 -- Fixed CACHE_MIDDLEWARE_ANONYMOUS_ONLY to use attribute access to django.conf.settings
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 14:41:38 +00:00
Russell Keith-Magee bb1cb76dfb Fixed keyboard slip that was accidentally committed
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 03:56:06 +00:00
Russell Keith-Magee edf68bede5 Cleanup of management.py; replaced uses of 'klass' with 'model', and normalized some variable naming in get_sql_create()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 03:55:07 +00:00
Adrian Holovaty b26331d6ee Fixed #2342 -- Made small fix to DateFieldFilterSpec. Thanks, Alex Dedul
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:31:59 +00:00
Adrian Holovaty c19ef69c5c Fixed #2368 -- Fixed KeyError when trying to log out more than once. Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:26:10 +00:00
Adrian Holovaty c4679bb83f Fixed #2374 -- Fixed magic-removal API changes in admin template validator. Thanks, mattimustang@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:16:03 +00:00
Adrian Holovaty be2524182b Fixed #2379 -- Fixed 'search' DB lookup parameter, which was broken by [3248]. Thanks, Tim Keating
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 20:13:35 +00:00
Jacob Kaplan-Moss aa8b34cb92 Argh - fixed another typo in the docs for [3395]. One of these days I'll learn to proofread better, but don't hold your breath.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-20 16:06:02 +00:00