Commit Graph

1526 Commits

Author SHA1 Message Date
Malcolm Tredinnick 6fbf653aa5 Fixed #1065 -- Added a "cache" template tag. Thanks, Ian Maurer and, particularly, Nick Lane.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6580 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 15:48:40 +00:00
Malcolm Tredinnick 1671fc48ab Changed the default form presentation of datetime values to not include the
fractional second values (they usually aren't going to be needed). Based on
patches from yi.codeplayer@gmail.com, andrews and Wiliam Alves de Souza. Fixed #4428, #4487


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6578 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 14:50:47 +00:00
Malcolm Tredinnick d79c6a0125 Fixed #5013 -- Corrected the documentation about which how further middleware
processing is done after request or view middleware returns something. Thanks,
Jason Yan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6576 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 12:24:37 +00:00
Malcolm Tredinnick 4c3586582d Fixed #4493 -- Noted that the LocaleMiddleware's placement w.r.t
CacheMiddleware is important. Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6575 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 12:12:45 +00:00
Malcolm Tredinnick 714c09b8bd Fixed #4831 -- Added an "add" cache key method, for parity with memcached's
API. This works for all cache backends. Patch from Matt McClanahan.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6572 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 15:16:34 +00:00
Malcolm Tredinnick b678601df3 Fixed #4123 -- Changed the firstof template tag to correctly handle a literal
string as its last argument. Thanks, Wesley Fok and Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 15:01:31 +00:00
Malcolm Tredinnick 8a3cf46e60 Fixed #3502 -- Added TTL support for RSS (not Atom) feeds. Patch from
jason.sidabras@gmail.com and Thomas Kerpe.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6570 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 14:54:38 +00:00
Malcolm Tredinnick d1efe9b2f7 Fixed #4944 -- Added a note about Model.save() raising IntegrityError is a
'unique' constraint is violated. Patch from PhiR.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 12:35:10 +00:00
Malcolm Tredinnick 3742e35df3 Updated the new default value for BooleanFields, clarified the behaviour of
'required' for those fields and updated the examples to use required=False so
that people get the hint. Refs #5104.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 12:21:16 +00:00
Malcolm Tredinnick 22ee68961a Added a section to the template documentation to clarify the arbitrary Python
code should not be expected to work. The might help balance expectations.
Thanks, James Bennett. Fixed #5125.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 11:05:15 +00:00
Malcolm Tredinnick c858efe912 Fixed #5512 -- Added a note about a common MySQLdb upgrade problem. Thanks,
Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:47:57 +00:00
Malcolm Tredinnick 233d76cf25 Fixed #5601 -- Point out the existence of pep8.py for people wanting some extra
help checking for consistency. Thanks, simeon.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:41:56 +00:00
Malcolm Tredinnick 2f17153c02 Fixed #5637 -- Clarified that nothing extra is required when using SQLite and
Python 2.5. Based on a patch from Matt Boersma.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6559 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 10:37:32 +00:00
Malcolm Tredinnick aa320700d2 Added "new in development version" marker for [6545].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 06:30:44 +00:00
Malcolm Tredinnick e172e7be57 Fixed #4724 -- Added support for configurable session cookie paths. Helps with
multiple Django installs under the same hostname. Thanks, frej and Graham
Dumpleton.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 05:13:56 +00:00
Malcolm Tredinnick 3ea87fb9c0 Fixed #5782 -- Fixed a small typo spotted by obeattie.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 04:16:40 +00:00
Malcolm Tredinnick ad91f6889d Fixed #4854 -- Recommended the use of forward slashes even in Windows configuration, to avoid having to worry about double-escaping issues. Based on a patch from adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-20 03:21:51 +00:00
Matt Boersma 50b824d2b1 Fixed #5633, refs #5626: Change "Max OS X" to "Mac OS X" in tutorial01.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6535 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 15:43:45 +00:00
Malcolm Tredinnick 3375ed1128 Added default value for LOCALE_PATHS from [6530].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 06:53:30 +00:00
Gary Wilson Jr 40f1c923e2 Fixed #5658 -- Added a note to the top of the "for template authors" template documentation that states the scope of the document, along with a link to the "for Python programmers" documentation. Removed the link to the "for Python programmers" documentation at the bottom since it would be redundant.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 05:07:47 +00:00
Gary Wilson Jr 5c8b26df15 Fixed #5666 -- Documented the `prefix` keyword argument for newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6532 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 04:47:07 +00:00
Gary Wilson Jr a1723aba3b Fixed #5747 -- Added missing file extension in flatpage documentation. Thanks, Rob Hudson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:20:15 +00:00
Gary Wilson Jr 433cbba512 Fixed #5750 -- Documented `LOCALE_PATHS` setting, with a link to the internationalization documentation. Thanks, jdetaeye and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6530 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-19 03:18:15 +00:00
Russell Keith-Magee b053177555 Fixed #5723 -- Fixed typo in request response docs. Thanks, derelm.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6469 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-10 02:20:32 +00:00
Malcolm Tredinnick 381453da91 Documented the strings_only param to smart_unicode() and force_unicode().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:32 +00:00
Malcolm Tredinnick 7ab381972e Fixed an RST formatting typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:27 +00:00
Malcolm Tredinnick a0102fccfd Fixed the note about charset encoding in PO files. It must be UTF-8 since [5708].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6461 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-07 16:35:22 +00:00
Adrian Holovaty 0397e63a19 Corrected broken link to newforms unit tests in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-04 22:50:06 +00:00
Ian Kelly dad9bae585 Fixed #5656: Added a note about needing CREATE TRIGGER privileges
to run syncdb under Oracle. Thanks, jbronn.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-02 15:26:39 +00:00
Ian Kelly 632a424db7 Added a link in install.txt to the Oracle backend notes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6433 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 19:35:50 +00:00
Ian Kelly e70ecc93ff Fixed #5627: Added documentation and caveats about using the oracle
backend.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 19:25:50 +00:00
James Bennett 4b4ecb6d66 Fixed #5615: Corrected a typo in docs/email.txt. Thanks, raprasad@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-28 03:07:36 +00:00
Russell Keith-Magee 4edecaeae9 Fixed #2603 -- Fixed a typo and added a helpful example reference to the generic view pagination docs. Thanks, Nick Efford.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-23 06:18:49 +00:00
Russell Keith-Magee 4d30be23dc Fixed #5364 -- Clarified the warning regarding saving form_for_model forms with missing fields. Thanks to PhilR for the initial draft.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-23 05:59:12 +00:00
James Bennett 694323ec74 Fixed #5565: Corrected small reST error in docs/db-apit.txt. Thanks, gkelly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-22 04:58:26 +00:00
Russell Keith-Magee 302eeaf190 Fixed #5516 -- Added the ability for applications to define their own management commands. Pieces of this patch taken from a contribution by Todd O'Bryan. Thanks Todd.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-21 16:19:20 +00:00
Jacob Kaplan-Moss 2570954a9a Fixed #3453: introduced a new template variable resolution system by Brian Harring (thanks!). The upshot is that variable resolution is about 25% faster, and you should see a measurable performance increase any time you've got long or deeply nested loops.
Variable resolution has changed behind the scenes -- see the note in templates_python.txt -- but template.resolve_variable() still exists. This should be fully backwards-compatible.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-21 04:00:32 +00:00
Russell Keith-Magee 75e462099b Fixed #5556 - Minor typo in settings docs. Thanks for the eagle eyes, jleedev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 23:56:54 +00:00
Gary Wilson Jr 2fea878213 Made the links to settings consistent with the others by not including the word "setting" in the link.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 07:19:10 +00:00
Gary Wilson Jr bf6effdfaf Fixed #5148 -- Added link to `DEFAULT_FROM_EMAIL` setting in email documentation. Thanks, mcroydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 07:13:32 +00:00
Adrian Holovaty 24588afe6d Fixed #5525 -- Fixed typo in docs/request_response.txt. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 02:02:54 +00:00
Russell Keith-Magee 6306400102 Fixed #5544 -- Fixed another typo in documentation, introduced as a result of the changes in [6333] and [6365]. Thanks for the report, xiaolianyi@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 02:02:21 +00:00
Adrian Holovaty 31a07e8cf9 Fixed errors in docs/model-api.txt changes from [6378]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-20 01:48:47 +00:00
Jacob Kaplan-Moss 980fa8b827 Fixed #231: all fields that should take max_length now do. Thanks, Don Spaulding.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 23:33:57 +00:00
Russell Keith-Magee d022e2581d Fixed #5544 -- Fixed typo in documentation, introduced as a result of the changes in [6333] and [6365]. Thanks for the report, xiaolianyi@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 23:32:53 +00:00
Adrian Holovaty 5c55cc83a7 Made some small edits to docs/authentication.txt changes from [6375]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 20:54:46 +00:00
Jacob Kaplan-Moss f857e37776 Fixed $5457 - the auth system now delegates permission checking to auth backend(s). As an added bonus, the auth backends now have some unit tests! Thanks, Florian Apolloner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-19 16:50:30 +00:00
Gary Wilson Jr 66203fc9ee Fixed #2675 -- Changed the `timeuntil` and `timesince` template filters to display "0 minutes" when passed a past or future date respectively instead of "-1 years, 12 months". Thanks to nickefford for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-17 04:50:12 +00:00
Adrian Holovaty 4541a4d3a9 FIxed #5376 -- Fixed typo in testserver docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 16:01:25 +00:00
Matt Boersma cb02d34376 Fixed fat-finger typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 15:57:15 +00:00