Commit Graph

1880 Commits

Author SHA1 Message Date
James Bennett 1087dc31fb Fixed #4819: documented the need to call authenticate() before login(), based on a patch from Davd Krauth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:52:53 +00:00
Adrian Holovaty 0e464d5d5c Edited docs/newforms.txt changes from [6740]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:31:53 +00:00
Adrian Holovaty 5e06c129c6 Edited docs/newforms.txt changes from [6733]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:26:51 +00:00
Ian Kelly bbc3a95557 Fixed #6007: Added DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE
options to global_settings.py


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 19:23:49 +00:00
Adrian Holovaty 4a3084f3fc Edited templates.txt and templates_python.txt auto-escaping changes from [6671]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 18:38:12 +00:00
Malcolm Tredinnick 32e0852fa0 Documented the new Someday/Maybe triage status.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 18:10:10 +00:00
James Bennett 5f49d67427 Fixed #5776: Added an explanation of when and why Django might need ALTER TABLE privileges to docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:44:59 +00:00
Adrian Holovaty b3b8a2e9b3 Edited docs/custom_model_fields.txt from [6652]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:29:45 +00:00
James Bennett 0aa26dacac Fixed #6079: Added AUTHENTICATION_BACKENDS to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:27:44 +00:00
James Bennett 56b1b7d30b Fixed #5870: documented the "fail_silently" argument to EmailMessage.send().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6790 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:20:19 +00:00
James Bennett 14da40f545 Correct a typo in [6788]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:10:12 +00:00
James Bennett aa8febb3f1 Fixed #5940: added sessions and webdesign cross-references to docs/add_ons.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 17:07:32 +00:00
Adrian Holovaty a73588aa58 Edited docs/serialization.txt changes from [6645]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 16:58:52 +00:00
Adrian Holovaty e7bc0f10ac Edited docs/newforms.txt changes from [6625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-12-01 16:52:49 +00:00
Adrian Holovaty 275cffaab1 Edited docs/cache.txt changes from [6580], removing a gross exclamation point usage in the process
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6775 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:34:04 +00:00
Adrian Holovaty 9e762f4407 Edited docs and docstring changes from [6572] (new cache add() method)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:30:43 +00:00
Adrian Holovaty 7ea174ef14 Edited docs/syndication_feeds.txt changes from [6570]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:27:49 +00:00
Adrian Holovaty 85acb388ee Edited docs/settings.txt changes from [6545]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6772 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:22:35 +00:00
Adrian Holovaty a1476fbca2 Edited docs/modpython.txt changes from [6536]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:20:27 +00:00
Adrian Holovaty bfa742b6ea Edited docs/templates.txt changes from [6533]. Let's not smash people over the head with an only marginally important piece of information in the very first paragraph of the document.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:18:57 +00:00
Adrian Holovaty e0e084e017 Edited docs/newforms.txt changes from [6532]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:16:51 +00:00
Adrian Holovaty 71dd90b25d Edited docs/unicode.txt change from [6463] -- Americanized 'behavior'
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6766 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:09:49 +00:00
Adrian Holovaty 53a5fa9928 Small edit to docs/i18n.txt from [6461]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:08:26 +00:00
Adrian Holovaty efc1ff2004 Edited docs/databases.txt Oracle changes from [6432]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6763 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-30 05:03:32 +00:00
Malcolm Tredinnick 8f97d96238 Fixed #6046 -- Correct an obvious blunder in setting the PYTHONPATH. Pointed
out by Richard Worth.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6750 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 20:09:48 +00:00
Malcolm Tredinnick 0cae3d55b6 Fixed #6006 -- Typo fixing in the description of verbosity. Pointed out by
NorbertK.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6747 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 19:30:42 +00:00
Malcolm Tredinnick e2b03bd0c2 Fixed #5955 -- Made a bunch of ReST fixes. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 18:15:38 +00:00
Malcolm Tredinnick f86e54e3b0 Added better error handling in the basic feed class example. Refs #5855
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6741 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 17:41:35 +00:00
Malcolm Tredinnick d94ed44c5d Fixed #5854 -- Added an example to the newforms documentation showing how to
highlight required fields (which should also provide enough clues for
accessing other attributes on newforms.Field subclasses. Thanks,
christobzr@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 17:30:01 +00:00
Malcolm Tredinnick 5cd153b7c8 Fixed #5777 -- Recommend using a symbolic link on Linux, OSX, etc for
django-admin.py so that subversion updates keep it up to date. Patch from arien.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:57:20 +00:00
Malcolm Tredinnick f2f6e70b08 Fixed #5813 -- Taught the CacheMiddleware to respect any max-age HTTP header
when setting the expiry time. Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:57:18 +00:00
Malcolm Tredinnick d0f5a58fbd Fixed #4653 -- Improved the logic to decide when to include (and select as
initial value) the blank choice for a model field with choices. Thanks to
Ilya Semenov for persisting with this.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-29 16:32:18 +00:00
Gary Wilson Jr 1607acee40 Fixed #5978 -- Gave `LOCALE_PATHS` a default setting of an empty tuple and removed some code that was checking for its existance in settings before accessing it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6701 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19 05:59:58 +00:00
Gary Wilson Jr 331d4bba97 Fixed link to settings documentation in the i18n docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-19 04:36:09 +00:00
Malcolm Tredinnick 86ca11dd6d Rewrote the section about writing autoescaping-aware filters, based on feedback
from Ivan Sagalaev.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-18 07:19:11 +00:00
Malcolm Tredinnick 0928fa5566 Fixed #5945 -- Treat string literals in template filter arguments as safe
strings for auto-escaping purposes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-17 12:11:26 +00:00
Malcolm Tredinnick d0f3c4386e Fixed #5898 -- Updated docs for r6662, as pointed out by arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15 09:26:57 +00:00
Malcolm Tredinnick 84c1e78551 Fixed #5892, #5930 -- Fixed some typos pointed out by ars@iki.fi and nickl.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6677 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-15 09:21:36 +00:00
Malcolm Tredinnick 3322521cd6 Documented the time-saver in flatpages: title and content are marked as safe
strings.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 21:30:18 +00:00
Malcolm Tredinnick bdb0b903c2 Content coming via {{ block.super }} is always going to be correctly escaped
already. We mark it as safe so that template authors don't need to.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 21:07:27 +00:00
Malcolm Tredinnick 356662cf74 Implemented auto-escaping of variable output in templates. Fully controllable by template authors and it's possible to write filters and templates that simulataneously work in both auto-escaped and non-auto-escaped environments if you need to. Fixed #2359
See documentation in templates.txt and templates_python.txt for how everything
works.

Backwards incompatible if you're inserting raw HTML output via template variables.

Based on an original design from Simon Willison and with debugging help from Michael Radziej.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6671 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-14 12:58:53 +00:00
Malcolm Tredinnick af256a02f9 Fixed #5890 -- Fixed a ReST markup error. Thanks, arien.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-11 04:44:11 +00:00
Malcolm Tredinnick 8216abe748 Documentation for creating custom model fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-05 13:59:52 +00:00
Gary Wilson Jr 6f7fd897bc Added pretty tables for `floatformat` documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 02:48:44 +00:00
Malcolm Tredinnick 75efa2811d Fixed #5868 -- Provided an example of how to extend simplejson to serialize
lazy translation objects for those who want to use it directly.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 02:08:24 +00:00
Gary Wilson Jr 0e59bf42cf Fixed #5869 -- Corrected documentation for `now` template tag's "r" format character. Thanks, xavier.morel@masklinn.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-11-04 01:14:58 +00:00
Gary Wilson Jr 39f28512b9 Fixed #5842 -- Marked cache template tag as "New in development version", thanks `SmileyChris`.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-31 01:46:32 +00:00
Gary Wilson Jr 0709c23046 Fixed #5832 -- Removed unneeded import in testing documentation, thanks Thomas Güttler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 23:00:57 +00:00
Gary Wilson Jr 9a30ed5cd5 Fixed #5834 -- Fixed import in `formtools` documentation, thanks telenieko.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:57:46 +00:00
Gary Wilson Jr b237537e00 Changed name of `PythonInterpreter` so as not to get confused with the use of `DJANGO_SETTINGS_MODULE mysite.other_settings`
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:50:42 +00:00
Gary Wilson Jr ff2cb88325 Fixed #5838 -- Fixed typo in email documentation, thanks huddlej@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-30 22:35:15 +00:00
Gary Wilson Jr 26ea06b0ab Fixed #3457 -- Allow overridding of error messages for newforms Fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-28 05:40:26 +00:00
Adrian Holovaty cb6ecfe9d6 Edited docs/django-admin.txt changes from [6400]. (I'm behind on editing!)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6602 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-23 19:11:15 +00:00
Malcolm Tredinnick 0a4e4d5993 Tweaked the caching docs to be consistent about the format for database caches
(and fixed a formatting error).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6588 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-10-21 19:10:10 +00:00
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
Matt Boersma da903a3be4 Updated Oracle python drivers link to atuining's new SF site.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 15:56:19 +00:00
Malcolm Tredinnick c012b8964e Fixed #4067 -- Fixed validation of IPAddressFields in newforms. Thanks to neils and the team in the Copenhagen sprint group.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 11:38:32 +00:00
Malcolm Tredinnick 748e55b1da Fixed #4975 -- Allow the default label suffix character to be configured. Thanks, Vincent Foley.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 04:38:20 +00:00
James Bennett 23f95c9dfa Fixed #5503 -- corrected a small typo in email example. Thanks, trey@ktrl.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 03:57:33 +00:00
Malcolm Tredinnick 8ccf2028c2 Fixed #3955 -- Added the ability to traverse LOCALE_PATHS when compiling PO files. Thanks, semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 03:17:48 +00:00
James Bennett d0f4e52abf Fix a couple of typos from [6309]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6347 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 02:01:06 +00:00
Malcolm Tredinnick e2409750f8 Fixed #3703 -- Added pk property to models. Thanks, Collin Grady and jeromie@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6346 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-16 01:57:25 +00:00
Adrian Holovaty 1de4bf0b66 Edited docs/settings.txt changes from [6316]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6345 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:39:51 +00:00
Adrian Holovaty b448593432 Edited docs/sessions.txt changes from [6333]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6344 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:36:53 +00:00
Adrian Holovaty c079d52fe7 Small wording fix in docs/i18n.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 22:36:43 +00:00
Jacob Kaplan-Moss bcf7e9a9fe Fixed #2066: session data can now be stored in the cache or on the filesystem. This should be fully backwards-compatible (the database cache store is still the default). A big thanks to John D'Agostino for the bulk of this code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6333 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 21:29:14 +00:00
Jacob Kaplan-Moss 07447a0f56 Fixed #5454: settings.DATABASE_BACKEND may now refer to an external package (i.e. one located outside the Django source. Thanks, George Vilches.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 19:25:20 +00:00
Jacob Kaplan-Moss 201a6cc192 One more tweak to [6309] - sorry for the noise.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6313 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:56:18 +00:00
Jacob Kaplan-Moss 8a48d490a1 Small reST tweak to [6309].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:54:31 +00:00
Jacob Kaplan-Moss fc478a0fe8 Fixed #4437: added notes to the modpython auth handler documentation about using the handler with Apache 2.2. Thanks to Paul Bissex for the beginnings of the patch, and Graham Dumpleton for the rest of the info.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:52:29 +00:00
Adrian Holovaty 41e622e170 Fixed #5284 -- Documented never_cache decorator. Thanks, xbito
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:43:49 +00:00
Adrian Holovaty d3c2dd30d6 Fixed #5484 -- Documented render_to_string. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:39:44 +00:00
Adrian Holovaty 0639474d01 Fixed #5449 -- Noted in docs/model-api.txt that the admin date selection always starts on a Sunday. Thanks, flother
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6304 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:33:03 +00:00
Adrian Holovaty fb288d9557 Fixed #5275 -- Documented QuerySet.iterator(). Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:31:50 +00:00
Adrian Holovaty e90eb41a4a Fixed #4234 -- Added docs/contenttypes. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:29:09 +00:00
Malcolm Tredinnick 388182b622 Fixed #3032 -- Added some useful methods and attributes so that AnonymousUser can proxy for a User a bit more logically. Patch from semenov.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 18:01:29 +00:00
Adrian Holovaty bf3c1cf7bf Fixed #4888 -- Fixed small confusion in docs/authentication.txt. Thanks, Piotr Lewandowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:48:59 +00:00
Adrian Holovaty 061ed82b22 Fixed #5430 -- Improved docs for running Django's own unit tests in docs/contributing.txt. Thanks, akaihola
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:44:14 +00:00
Adrian Holovaty b7e90a0abd Fixed #5495 -- Made some organization / spelling / grammar changes to docs/i18n.txt. Thanks, Axis_of_Entropy
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:32:53 +00:00
Adrian Holovaty 7b172de6fa Fixed #5267 -- Documented that order_by('?') queries can be slow
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 17:30:23 +00:00
Adrian Holovaty 951ecbf7e6 Edited docs/newforms.txt changes from [6273]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 15:17:18 +00:00
Malcolm Tredinnick 8e970f4835 Fixed #5492 -- Removed some bad markup. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 14:46:41 +00:00
Russell Keith-Magee ff25059ffb Fixed #5357 -- Added documentation on the 'page' argument to generic object_list views. Thanks, mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 11:19:35 +00:00
Malcolm Tredinnick f0cd172cd0 Fixed #5387 -- Added is_multipart method to forms. Original patch from Petr Marhhoun. Tests and documentation from Murkt.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:12:05 +00:00
Malcolm Tredinnick 32ed883861 Fixed #5489 -- Updated docs to reflect the changes in [6177]. Thanks, msaelices.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6272 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 10:11:26 +00:00
Malcolm Tredinnick 8a17181b58 Fixed #5477 -- Added links from the markup filters to the more extensive documentation in the add-ons file. Patch from mitja.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6271 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 09:51:57 +00:00
Adrian Holovaty 16906ea793 Fixed #5024 -- Fixed potential error in docs/databases.txt related to MySQL 'passwd'. Thanks, ispivey@gmail.com and ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6261 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 05:00:21 +00:00
Adrian Holovaty a604896042 Fixed #4692 -- Documented required database privileges. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:58:41 +00:00
Adrian Holovaty 4ed5eafe87 Fixed #5482 -- Fixed ReST error in docs/generic_views.txt. Thanks, ubernostrum and nickefford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6258 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:53:35 +00:00
Adrian Holovaty bdba94d78f Fixed #5264 -- Specified Flup version in docs/fastcgi.txt. Thanks, akaihola and Nis Jorgensen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6255 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 04:30:15 +00:00
James Bennett ce53de47a2 Correcting inadvertent typo from [6224]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6251 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-15 01:02:45 +00:00
Adrian Holovaty 92e55fe8b1 Fixed #5432 -- Added docs/form_preview.txt. Thanks, ryankanno
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6247 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 23:15:40 +00:00
Adrian Holovaty 71796410ba Fixed #5474 -- Improved docs/shortcuts.txt. Thanks, minarets and EyePulp
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6234 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 22:33:06 +00:00
Adrian Holovaty 8cf9a6d64b Fixed #4245 -- Added documentation about permission error on OS X. Thanks, jacob@gridface.com and ubernostrum and others
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:48:50 +00:00
Adrian Holovaty cadc6e8c9f Fixed #4658 -- Improved documentation of linebreaks and linebreaksbr. Thanks, ubernostrum and Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:46:38 +00:00
Adrian Holovaty e259b8712a Added stub of docs/shortcuts.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 21:09:38 +00:00
Adrian Holovaty 9cccf59db5 Fixed #5460 -- unique_together now accepts a single tuple for convenience. Thanks, Deryck Hodge
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 20:36:53 +00:00
Adrian Holovaty 55d6aebfec Fixed #5394 -- REDIRECT_FIELD_NAME is now configurable. Thanks, Petr Marhoun, DavidReynolds and effbot
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:25:37 +00:00
Adrian Holovaty 0d52d2b2f9 Fixed #5342 -- Added max_length parameter to EmailField. Thanks, donspaulding and gwilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:22:43 +00:00
Adrian Holovaty fe78237a22 Fixed #5376 -- Added --addrport option to the 'testserver' command. Thanks, toddobryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 19:17:15 +00:00
Jacob Kaplan-Moss 74b816ae9c Fixed #4061: added docs on how to limit access to databrowse. Thanks, Nick Efford
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 18:59:20 +00:00
Adrian Holovaty 9f83beb372 Fixed #5464 -- Fixed typo in docs/newforms.txt. Thanks, ramiro
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 18:25:22 +00:00
Russell Keith-Magee 4b9148ac19 Fixed #5455 -- Fixed some backticks, quotes and typos in the settings documentation. Thanks, akaihola.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 16:40:42 +00:00
Adrian Holovaty f7e1047b08 Edited docs/install.txt changes from [6178]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 15:33:42 +00:00
Adrian Holovaty 7ed3196536 Added 'New in Django development version' note to docs/request_response.txt change from [6164]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 15:21:30 +00:00
Malcolm Tredinnick 0f03d9b6cb Fixed #5340 -- Fixed a broken link. Thanks, Justin Lilly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 10:11:02 +00:00
Russell Keith-Magee fa5e935af0 Fixed #5280 -- Minor typo in modpython docs. Thanks for the attention to detail, nsteinmetz@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:49:02 +00:00
Malcolm Tredinnick 36396fb430 Fixed #3766 -- Added in-memory caching for the sites framework. Will speed up all the "current site" lookups. Thanks, Matt Riggott.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:37:09 +00:00
Russell Keith-Magee bc21612012 Fixed #4544 -- Updated docs for allowed field types in an admin list_filter. Thanks to Matt Croydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:29:51 +00:00
Malcolm Tredinnick 518bc15b21 Fixed #3902 -- Added some excellent notes about installing Django on Windows. Thanks, nick@efford.org.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 08:04:07 +00:00
Malcolm Tredinnick e70d7e6064 Fixed #987 -- Convert relative URI portions into absolute URIs in HTTP Location headers. Based on a patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 05:28:00 +00:00
Adrian Holovaty dc785104b8 Fixed #5341 -- Clarified docs/db-api.txt docs about params in extra(). Thanks, Paul Smith
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:55:09 +00:00
Russell Keith-Magee e336722fd1 Added documentation notes for new feature added in [6149].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:24:58 +00:00
Adrian Holovaty 4d25f8655b Added 'New in Django development version' note to docs/generic_views.txt change from [6157]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6161 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:15:55 +00:00
Adrian Holovaty 6767849212 Edited docs/request_response.txt change from [6155]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6160 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:12:02 +00:00
Adrian Holovaty e86d35879f Edited docs/templates_python.txt change from [6143]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6159 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 04:04:51 +00:00
Russell Keith-Magee 2bec822ff3 Fixed #3895 -- Added ability to customize the context variable in the archive_index generic view. Thanks to marco.giusti@gmail.com and toke-django@toke.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6157 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 03:54:28 +00:00
Malcolm Tredinnick 813c48e6eb Fixed #4726 -- Added a note about the exception raised by QuerySet.__getitem__.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 03:17:46 +00:00
Russell Keith-Magee 09145d2e5f Fixed #208 -- Modernized the syntax of the cycle tag to allow for spaces and variables in cycle values. Thanks to SmileyChris and Chris McAvoy for their work on this.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 02:49:21 +00:00
Russell Keith-Magee d14c756b5e Fixed #4919 -- Added 'last' marker on paginators. Thanks to patrick@vonautomatisch.atfor the idea, and nick@efford.org for the patch and docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:52:10 +00:00
Malcolm Tredinnick 62fe5cf138 Fixed #3922 -- Added a warning that fields passed to form_for_model callback function should not be modified. It's bad for your health. Thanks, Philippe Raoult.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:45:26 +00:00
Malcolm Tredinnick 1e94ef85bf Fixed #4360 -- Corrected where HTTP headers are in the test response. Also noted that it is an extension of HttpResponse, not a simpler object. Thanks, John Shaffer for the first part.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:21:34 +00:00
Russell Keith-Magee 87e77ffca0 Fixed #1795 -- Added page_range to paginators in generic list views. Thanks to polarcowz@gmail.com and Marc Fargas <telenieko@telenieko.com> for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 01:01:02 +00:00
Malcolm Tredinnick 4fd2b0ca77 Fixed #2319 -- Added a note that the sites framework is used by admin's view-on-site functionality. Based on a patch from David Reynolds.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-14 00:52:39 +00:00
Malcolm Tredinnick 1b0e588118 Fixed #4793 -- Tweaked custom filter documentation a little to possibly reduce some confusion. Thanks, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6143 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 23:30:26 +00:00
Malcolm Tredinnick ce249d4366 Fixed #4752 -- Make default ErrorList customisable in newforms display. Based on a patch from michal@logix.cz and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 23:09:40 +00:00
Adrian Holovaty 28d27a77e8 Fixed #5409 -- Fixed logic error in docs/db-api.txt. Thanks, David Paccoud
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 14:41:38 +00:00
Adrian Holovaty ed5a91f428 Fixed #5397 -- Fixed typo in docs/newforms.txt example. Thanks, zhaoz@u.washington.edu
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-13 14:38:25 +00:00
Adrian Holovaty ced74d582a Added 'Claiming tickets' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 14:38:47 +00:00
Adrian Holovaty db6093641c Fixed #5406 -- Fixed spelling error in docs/model-api.txt. Thanks, Andrew Shearer
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-12 13:11:51 +00:00
Adrian Holovaty 4453f65c78 Combined two paragraphs in docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:43 +00:00
Adrian Holovaty 49e4e4f9ce Attempted to bold part of docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:46:06 +00:00
Adrian Holovaty b82a44d270 Added 'How to document new features' to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-10 03:42:33 +00:00
Adrian Holovaty 3a3669e010 Fixed #5336 -- Altered an example in docs/fastcgi.txt. Thanks, Thomas Guttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6079 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:48:25 +00:00
Adrian Holovaty 5e19019bca Added bullet to docs/contributing.txt about creating diffs from the top-level trunk directory
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6078 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:10:47 +00:00
Adrian Holovaty 84f6182494 Fixed broken link in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6077 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:01:33 +00:00
Adrian Holovaty c853973110 Improved 'Examples of using different ports and addresses' section in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6076 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 22:00:30 +00:00
Adrian Holovaty 71504127fd Fixed #5369 -- Refactored the django-admin.py help system, allowing each subcommand to register its own options. Thanks for the patch, Todd O'Bryan
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6075 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 21:57:59 +00:00
Adrian Holovaty 6f0bc3d02b Fixed #5280 -- Fixed typo in docs/modpython.txt. Thanks, nsteinmetz@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6071 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:21:36 +00:00
Adrian Holovaty 9b07806aa1 Fixed #5340 -- Linked docs/templates.txt to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6070 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-09 17:18:36 +00:00
Gary Wilson Jr a047f6a8fe Fixed #5346 -- Fixed a couple typos in the model-api docs. Thanks, David Paccoud.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6069 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-08 19:30:16 +00:00
Russell Keith-Magee e4342b7d28 Refs #5343 -- Reverted [6047]. Loading custom commands was causing the settings file to get read before the options could be processed to determine if a --settings option was present. Back to the drawing board (again)...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6050 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-05 14:01:31 +00:00
Adrian Holovaty faaf2dad36 Updated docs/cache.txt section on 'dummy caching' to use the same example format as the other backends
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 22:44:35 +00:00
Russell Keith-Magee 9515b953f8 Fixed #5334 -- Added installation instructions for FreeBSD, and sorted the existing instructions by name. Thanks, Paul Bissex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6048 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 13:09:59 +00:00
Russell Keith-Magee f25b8cdbcd Fixed #5212, #5222 -- Added the ability for users to register their own commands with django-admin. A previous attempt at this was introduced in [5923]-[5925], and rolled out in [5929].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-04 12:59:49 +00:00
Russell Keith-Magee 853f9c7db9 Fixed #5271 -- Fixed documentation reference to using the application name as an argument to manage.py validate. The recent management.py refactor exposed this error; it was silently ignored previously.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 13:13:10 +00:00
Russell Keith-Magee 3bf4ef0c77 Fixed #4988 -- In the test client, Added tracking of the client and request that caused a response so that the assertRedirects check can use the correct client when following a redirect. Well spotted, alex@gc-web.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6039 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 11:21:40 +00:00
Adrian Holovaty 8e3507cd3e Fixed #4923 -- Fixed error in docs/authentication.txt. Thanks, djangotrac.20.skel@spamgourmet.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6037 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-03 06:16:47 +00:00
Adrian Holovaty a07c1c5aa6 Fixed #5303 -- Fixed incorrect statement about PythonPath directive in docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-09-02 17:09:27 +00:00
Russell Keith-Magee 5ad08583e1 Fixed #4968 -- Added assertRedirects handling for paths with GET data. Thanks for the patch, Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6031 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 11:37:28 +00:00
Adrian Holovaty 33ab65dd1e Made negligible capitalization fix to docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-31 04:30:20 +00:00
Gary Wilson Jr 4ea2afa4d5 Fixed #5257 -- Fixed typo in tutorial from [6006]. Thanks, Collin Grady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26 01:16:19 +00:00
Gary Wilson Jr 1a1a58c9f8 Fixed #3184 -- Changed the `unordered_list` template filter to use a more simple format, while maintaining backwards compatibility with the old format. `unordered_list` now works with a simple list of items. Thanks for the patch, SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-26 01:11:20 +00:00
Adrian Holovaty 32c729be10 Added note to docs/django-admin.txt section on 'testserver' that the server does not detect changes to Python code
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6017 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 23:56:33 +00:00
Adrian Holovaty 132605d889 Fixed #5086 -- The 'flush' and 'sqlflush' management commands no longer touch tables that Django is not aware of (tables that are not in INSTALLED_APPS and/or do not have associated models. Thanks for bringing this up, shaun@cuttshome.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 19:32:30 +00:00
Adrian Holovaty de2881f9f2 Removed incorrect link that slipped in docs/db-api.txt in [6010]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:59:59 +00:00
Adrian Holovaty b189e266ef Fixed #5068 -- Fixed error in docs/db-api.txt. Thanks, Collin Grady and SmileyChris
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:58:36 +00:00
Adrian Holovaty f8e26f5c2c Fixed #5169 -- Fixed error in docs/settings.txt "404 errors" section. Thanks, rokclimb15@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6008 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:51:32 +00:00
Adrian Holovaty eb2ce98b29 Fixed #5170 -- Made FileField a link in the ImageField section of docs/model-api.txt -- assuming the ReST gods are smiling on me today
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6007 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:48:32 +00:00
Adrian Holovaty ce207949f3 Fixed #5195 -- Added notes to docs/tutorial01.txt about max_length and __unicode__() changes and 0.96 vs. development version. Thanks, ubernostrum
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6006 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:43:32 +00:00
Adrian Holovaty 62329dca05 Fixed #5209 -- Removed link to outdated screencast in docs/faq.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:37:43 +00:00
Adrian Holovaty b3103feead Fixed #5256 -- Fixed incorrect use of super() in docs/newforms.txt example. Thanks, trey@ktrl.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:29:26 +00:00
Adrian Holovaty a3a07af910 Fixed #5221 -- Fixed typo in docs/testing.txt. Thanks, derelm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5989 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-21 02:35:01 +00:00
Malcolm Tredinnick c06524bc2d Fixed #4572 -- Added an example of form_for_instance usage in a full-fledged view. Based on a patch from toddobryan@mac.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 14:15:40 +00:00
Malcolm Tredinnick 14b5e074ba Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki Pulliainen.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 08:50:08 +00:00
Adrian Holovaty 77a9b0cb1d Edited docs/templates.txt change from [5938]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5948 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 21:02:36 +00:00
Malcolm Tredinnick 0a49719e7a Used the url() function when adding a named URL pattern, mostly as an example of good practice and to introduce the function. Fixed #4908 (although it wasn't a bug).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:48 +00:00
Malcolm Tredinnick d1892edc9f Added documentation of the arguments for the url() function.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 15:08:21 +00:00
Malcolm Tredinnick e0c1ca7ef0 Fixed #5180 -- Added man pages for remaining files under django/bin/. We still need to rename some binaries before they can be safely installed, I suspect, so these aren't installed by default yet, but the groundwork is there now. Excellent job, Nick Efford!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 11:59:20 +00:00
Malcolm Tredinnick 0a2337c9e3 Added links from any reference to the url template tag to the appropriate place in the template tag documentation. Fixed #5198.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 10:15:11 +00:00
Malcolm Tredinnick 79801f504f Added a note that the development version supports named URL patterns in the url template tag.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 10:14:58 +00:00
Malcolm Tredinnick cfd5b184fb Clarified that urlize and urlizetrunc should only be applied to plain text. Refs #5202.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 08:50:51 +00:00
Malcolm Tredinnick 8b115c7fb8 Fixed #5154 -- Minor wording tweak.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 06:52:05 +00:00
Malcolm Tredinnick 24081d9959 Fixed #5166 -- Fixed a validation problem in one of the examples. Thanks, o.ekanem@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 06:13:15 +00:00
Russell Keith-Magee 04c77db2c3 Rolled out [5923]-[5925] due to breaking call_command().
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:58:59 +00:00
Malcolm Tredinnick 3b9b87792a Fixed #5187 -- Minor doc tweaks. Thanks, Daniel Hahler.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:43:38 +00:00
Russell Keith-Magee d743ccbc4b Added some initial documentation on adding customized commands to django-admin.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-18 05:10:31 +00:00
Russell Keith-Magee 8dff1cd91d Fixed #5189 -- Added logout method to test Client. Thanks, Jakub Wisniowski <restless.being@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5916 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-17 14:20:25 +00:00
Adrian Holovaty 9c55bbdef7 Added 'django-admin.py testserver' command and docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5912 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 23:05:00 +00:00
Adrian Holovaty 49c438fd21 Changed django.test.utils.create_test_db to return the name of the test database that was created
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 22:46:00 +00:00
Adrian Holovaty dc44e50e5d Fixed #5181 -- Fixed typo in example in docs/testing.txt. Thanks, hayley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 15:12:37 +00:00
Luke Plant c568792e81 Added a reference for the claim in CSRF docs that GET requests
should be side-effect free.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5902 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-16 14:09:41 +00:00
Malcolm Tredinnick 7f06e44f99 Typo fix from [5896].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:29:15 +00:00
Malcolm Tredinnick 3835d8afec Fixed #4296 -- Added more explanation around the PythonPath directory setting. Based on contributions from a cast of thousands (Simon Greenhill, Paul Bissex, Graham Dumpleton, ...). Thanks, all.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5896 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 12:25:21 +00:00
Adrian Holovaty 4f62b0a193 Fixed some ReST errors in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5891 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:30:23 +00:00
Adrian Holovaty 3bfda4fa62 Removed stray tabs mistakenly added to docs/testing.txt in [5889]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:28:29 +00:00
Adrian Holovaty 1ba9012d87 *Finally* edited docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5889 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 05:24:18 +00:00
Russell Keith-Magee 543ab12c11 Fixed #5158 -- Minor typo in newforms docs. Thanks, hayley <djangocode@vortex.cx>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-15 00:19:53 +00:00
Adrian Holovaty 6aae9b2aa4 Changed django.contrib.auth.views.login to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use this view. See also [5654]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14 22:08:11 +00:00
Malcolm Tredinnick 56e28b4e8f Fixed #5085 -- In generic views, set the default name for the slug field to 'slug'. Thanks, Trevor Caira.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5877 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 12:59:41 +00:00
Malcolm Tredinnick c050b6a25a Fixed #4946 -- Added some small improvements to Gzip middleware. Thanks, colin@owlfish.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 12:29:25 +00:00
Malcolm Tredinnick 9aa81c5401 Fixed #4942 -- Added an explanation that we see tickets as they are filed, automatically. Based on a suggestion from Nicola Larosa.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:47:10 +00:00
Malcolm Tredinnick 84bc65e137 Fixed #4941 -- Changed imports for interactive portion of the example to be consistent with the source code file, at the expense of slightly more typing required. This might help reduce some confusion. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5871 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:37:56 +00:00
Malcolm Tredinnick a564adb8e1 Fixed #4914 -- Documented the Session.modified attribute for forcing session saves. Thanks, Thomas Güttler and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 10:24:21 +00:00
Russell Keith-Magee 3d012a18ce Added documentation for widgets in newforms.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 06:25:05 +00:00
Adrian Holovaty dd0f5d9284 Fixed #4818 -- Improved 'Step 2' example in docs/databrowse.txt. Thanks, kevin@berndtgroup.net
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:59:09 +00:00
Adrian Holovaty d1bef59905 Fixed #5110 -- Made a small clarification in docs/model-api.txt. Thanks, Jarek Zgoda
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:01:37 +00:00
Malcolm Tredinnick 20e3ae5222 Fixed #4987 -- Added documentation for newforms.DecimalField. Based on a patch from james_027@yahoo.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5855 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 12:10:23 +00:00
Malcolm Tredinnick 1d4a0054e3 Fixed #4762 -- Corrected an example. Thanks, Collin Grady and SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:06:14 +00:00
Malcolm Tredinnick aca2761faf Fixed #4611 -- Removed "new in development version" annotation for the permission_required decorator. It was in 0.96. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 11:05:59 +00:00
Malcolm Tredinnick 9864c9d8bf Added "new in development version" annotation to HttpRequest.encoding documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5846 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:52 +00:00
Malcolm Tredinnick df1f76ac02 Documented the encoding attribute on the HttpRequest class.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:47:38 +00:00
Malcolm Tredinnick 0afbca9c60 Fixed #3526 -- Added content_type as an alias for mimetype to the HttpResponse constructor. It's a slightly more accurate name. Based on a patch from Simon Willison. Fully backwards compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5844 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 09:37:42 +00:00
Adrian Holovaty f1edb8c2b3 Fixed #5097 -- Made various updates and corrections to the documentation. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5825 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:33:11 +00:00
Adrian Holovaty 404bf3b188 Fixed #5105 -- Fixed two ReST errors in docs/newforms.txt. Thanks, Ramiro Morales
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5824 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-07 02:18:36 +00:00
Russell Keith-Magee 16cf24393f Added note that FileField and ImageField are only in development version. There are also some minor backwards compatibility issues with the changes introduced in [5819] - see the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 14:17:10 +00:00
Russell Keith-Magee fbd1a6277e Fixed #3297 -- Implemented FileField and ImageField for newforms. Thanks to the many users that contributed to and tested this patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 13:58:56 +00:00
Adrian Holovaty e471f42ba1 Fixed #4980 -- Removed 'forms' from the 'not considered stable and will be rewritten' section of docs/api_stability.txt. They've already been rewritten.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5818 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:37:17 +00:00
Adrian Holovaty 3e2fa60df2 Fixed #4985 -- Clarified location of HttpResponse in docs/request_response.txt. Thanks for raising the issue, rainer.mansfeld@romulo.de
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5817 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:34:45 +00:00
Adrian Holovaty d4623df463 Added note to docs/model-api.txt about help_text not being escaped in the admin interface
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5816 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:33:18 +00:00
Adrian Holovaty b304ebb906 Added a closing </p>' to a code example in docs/email.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5814 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:27:58 +00:00
Adrian Holovaty 9a090b2c1f Fixed #5053 -- Added 'action' attribute to <form> tags that didn't have that attribute in docs/newforms.txt examples. Perfectionism appreciated, trickyb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5813 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:16:35 +00:00
Adrian Holovaty 89977a6e16 Fixed #5064 -- Fixed potentially confusing sentence in docs/authentication.txt. Thanks, Collin Grady
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5812 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 05:13:06 +00:00
Adrian Holovaty 89d4a56594 Edited docs/newforms.txt changes from [5804]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5808 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 04:52:14 +00:00
Adrian Holovaty 1474a5fd2c Fixed #5074 -- Added link to audio clip of 'Django' pronunciation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5807 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-06 04:36:43 +00:00
Russell Keith-Magee f96e933534 Fixed #4001 -- Added dynamic save_m2m method() to forms created with form_for_model and form_for_instance on save(commit=False).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 07:39:36 +00:00
Gary Wilson Jr 212ee65be7 Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 05:14:46 +00:00
Gary Wilson Jr 973f44aa4c Changed some more links to be relative in the documentation. I had a couple unsaved files that didn't get in with [5798].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5802 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:42:26 +00:00
Gary Wilson Jr eba5703fee Refs #5089 -- Added file name to poll detail template examples in the tutorial.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 04:39:52 +00:00
Gary Wilson Jr d018b92bbe Fixed #5083 -- Fixed typo in newforms documentation, thanks Rik.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5800 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 14:52:13 +00:00
Gary Wilson Jr ac027df253 Changed several documentation links to be relative.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5798 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:39:24 +00:00
Gary Wilson Jr 8a4a3f7707 Changed the 0.95 release notes to point to the 0.95 documentation index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5797 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:36:58 +00:00
Gary Wilson Jr b54de86010 Fixed #5078 -- Fixed several broken links to the syndication documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5796 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 03:19:14 +00:00
Gary Wilson Jr 9a54c8f2d4 Fixed #5037 -- Fixed use of wrong field type in a db-api docs example, thanks ubernostrum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5783 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-01 05:52:18 +00:00
Adrian Holovaty d76e532077 Added 'New in Django development version' to changes in docs/authentication.txt from [5771]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5774 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-29 18:21:16 +00:00
Simon Willison fd2b99b5f1 After discussing with Malcolm, added set_unusable_password() and has_usable_password() methods to the User object, plus tests and updated documentation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 18:30:40 +00:00
Russell Keith-Magee 5b898f3f94 Fixed #4995 -- Fixed some problems in documentation ReST formatting. Thanks, Simon G.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5770 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 07:27:53 +00:00
Russell Keith-Magee 650cea9170 Fixed #4460 -- Added the ability to be more specific in the test cases that are executed. This is a backwards incompatible change for any user with a custom test runner. See the wiki for details.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5769 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 04:02:52 +00:00
Adrian Holovaty 812583ce3b Added section to docs/contributing.txt about docstring coding style
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-26 17:16:34 +00:00
Adrian Holovaty 6b7c33286a Added 'New in Django development version' to docs/db-api.txt change from [5746]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-25 03:15:05 +00:00
Russell Keith-Magee 3b78695a64 Added documentation for a test runner argument that has always been present, but was undocumented.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-23 13:52:59 +00:00
Russell Keith-Magee 1b7fe09660 Fixed #3771 -- Modified the test runner to observe the --noinput argument controlling script interactivity. This means that test scripts can now be put in a buildbot environment. This is a backwards incompatible change for anyone that has written a custom test runner. Thanks for the suggestion, moof@metamoof.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5752 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-23 12:14:32 +00:00
Gary Wilson Jr cae92ae615 Fixed #4373 -- Modified the get_object_or_404/get_list_or_404 shortcuts to also accept `QuerySet`s. Thanks SuperJared.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5746 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-22 03:41:11 +00:00
Adrian Holovaty 910bbe8f1f Added some additional docs to docs/model-api.txt db_type() section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 21:24:30 +00:00
Russell Keith-Magee 56394220d5 Fixed #4901 -- Modified assertContains to provide a default check of 'any instances of text in content'. Thanks for the suggestion, nis@superlativ.dk.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 14:32:20 +00:00
Russell Keith-Magee bdc5a3eb51 Refs #3782 -- Added documentation note that suite() handling is only in development version.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5730 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 14:07:54 +00:00
Russell Keith-Magee 9922a04bb6 Fixed #3782 -- Added support for the suite() method recommended by the Python unittest docs. Thanks for the suggestion, rene.puls@repro-mayr.de.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5729 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 13:57:49 +00:00
Adrian Holovaty ac2b9f2a3f Added a db_type() method to the database Field class. This is a hook for calculating the database column type for a given Field. Also converted all management.py CREATE TABLE statements to use db_type(), which made that code cleaner. The Field.get_internal_type() hook still exists, but we should consider removing it at some point, because db_type() is more general. Also added docs -- the beginnings of docs on how to create custom database Field classes. This is backwards-compatible.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5725 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-20 06:28:56 +00:00
Gary Wilson Jr 62f207caef Fixed #4851 -- Fixed description of an example query in `db-api` docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5720 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 22:29:09 +00:00
Adrian Holovaty 0d9f21bb75 Improved docs/templates.txt section on the 'regroup' tag
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 21:16:32 +00:00
Adrian Holovaty 2a500b3551 Edited docs/db-api.txt changes from [5700]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5709 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 19:34:21 +00:00
Gary Wilson Jr 208352e5d7 Fixed #4877 -- Fixed typo in testing documentation, patch from John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5702 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 05:11:06 +00:00
Russell Keith-Magee eff675b91e Clarified the documentation on the steps that happen during a save, and how raw save affects those steps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5700 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-15 04:41:59 +00:00
Adrian Holovaty 0f869d1124 Edited docs/db-api.txt changes from [5658]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 16:58:54 +00:00
Malcolm Tredinnick d48a39650f Fixed #4869 -- Added a note that syncdb does not alter existing tables. Thanks,
James Bennett.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 05:27:22 +00:00
Adrian Holovaty 9fa91e0ab3 Documented the 'commit' argument to save() methods on forms created via form_for_model() or form_for_instance()
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 21:20:07 +00:00
Russell Keith-Magee b9232cd955 Fixed #4538 -- Split the installation instructions to differentiate between installing a distribution package and installing an official release. Thanks to Carl Karsten for the idea, and Paul Bissex for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:41:32 +00:00
Russell Keith-Magee 3990efff69 Fixed #4525 -- Fixed mistaken documentation on arguments to runfcgi. Thanks, Johan Bergstrom <bugs@bergstroem.nu>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:21:51 +00:00
Russell Keith-Magee 0f10867519 Fixed #4522 -- Clarified the allowed filter arguments on the time and date filters. Thanks for the suggestion, admackin@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5674 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:11:41 +00:00
Russell Keith-Magee 53a06763c5 Fixed #4502 -- Clarified reference to view in tutorial. Thanks for the suggestion, Carl Karsten <carl@personnelware.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5673 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:05:16 +00:00
Russell Keith-Magee 1345f3c521 Fixed #4764 -- Added reference to Locale middleware in middleware docs. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:41:27 +00:00
Russell Keith-Magee 7f5797e640 Fixed #4722 -- Clarified discussion about PYTHONPATH in modpython docs. Thanks for the suggestion, Collin Grady <cgrady@the-magi.us>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:32:00 +00:00
Russell Keith-Magee ab368c9c75 Fixed #4640 -- Fixed import to stringfilter in docs. Proposed solution to move stringfilter into django.template.__init__ introduces a circular import problem.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 13:23:11 +00:00
Russell Keith-Magee 6cf7a4ac65 Fixed #4627 -- Added details on MacPorts packaging of Django. Thanks, Paul Bissex.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5666 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:55:28 +00:00
Russell Keith-Magee 7df9e7da5b Fixed #4763 -- Minor typo in cache documentations. Thanks, dan@coffeecode.net.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:50:02 +00:00
Russell Keith-Magee 119c6005a6 Fixed #4745 -- Updated docs to point out that 0 is not a valid SITE_ID when running the tests. Thanks for the suggestion, Lars Stavholm <stava@telcotec.se>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:48:27 +00:00
Russell Keith-Magee 1655103666 Fixed #4837 -- Updated Debian packaging details. Thanks for the suggestion, Yasushi Masuda <whosaysni@gmail.com>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:33:24 +00:00
Russell Keith-Magee 2d6d20def7 Fixed #4459 -- Added 'raw' argument to save method, to override any pre-save processing, and modified serializers to use a raw-save. This enables serialization of DateFields with auto_now/auto_now_add. Also modified serializers to invoke save() directly on the model baseclass, to avoid any (potentially order-dependent, data modifying) behavior in a custom save() method.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 07:45:35 +00:00
Adrian Holovaty 090aa5210e Improved syndication feed framework to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use the syndication feed framework. This is backwards incompatible if anybody has subclassed Feed and overridden __init__(), because the second parameter is now expected to be an HttpRequest object instead of request.path
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:29:32 +00:00
Adrian Holovaty dcd5750d7a Added RequestSite class to sites framework
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:28:04 +00:00
Adrian Holovaty 8c4cc32352 Edited changes to docs/tutorial04.txt from [5649]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:44:45 +00:00
Adrian Holovaty 0c5d001531 Added 'New in Django development version' note to docs/syndication_feeds.txt changes from [5643]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 04:43:29 +00:00
Jacob Kaplan-Moss 74fe707e04 Fixed #4615: corrected reverse URL resolution examples in tutorial 4. Thanks for the patch, simeonf.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 00:33:44 +00:00
Malcolm Tredinnick 86640f33c1 Fixed #3760 -- Added the ability to manually set feed- and item-level id
elements in Atom feeds. This is fully backwards compatible. Based on a patch
from spark343@cs.ubc.ca.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:33:55 +00:00
Gary Wilson Jr 541c9ff797 Fixed #4814 -- Fixed some whitespace issues in tutorial01, thanks John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:45:11 +00:00
Gary Wilson Jr 0be6d32c24 Fixed #4817 -- Removed leading forward slashes from some urlconf examples in the documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 02:34:42 +00:00
Malcolm Tredinnick 79e914e496 Added CACHE_MIDDLEWARE_SECONDS to global settings and documentation (it's
used by the cache middleware). Refs #1015.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 11:08:40 +00:00
Malcolm Tredinnick 7c35eee103 Form encoding should be changed only via HttpRequest, not on GET and POST
directly. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-05 01:25:05 +00:00
Malcolm Tredinnick e7427cb22f Fixed some ReST errors.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:48:12 +00:00
Malcolm Tredinnick 953badbea5 Merged Unicode branch into trunk (r4952:5608). This should be fully
backwards compatible for all practical purposes.

Fixed #2391, #2489, #2996, #3322, #3344, #3370, #3406, #3432, #3454, #3492, #3582, #3690, #3878, #3891, #3937, #4039, #4141, #4227, #4286, #4291, #4300, #4452, #4702


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Adrian Holovaty 4c958b15b2 Converted some tabs to four spaces in two docs
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:26:34 +00:00
Adrian Holovaty 3d6785fb8e Fixed tabs -> spaces in [5598]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5599 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:21:33 +00:00
Adrian Holovaty 107dd89385 Fixed an error in a RequestContext example in docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5598 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 19:20:56 +00:00
Adrian Holovaty 510e545776 Fixed #4690 -- Fixed a bunch of ReST errors in docs. Thanks, Paul B.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-01 01:00:23 +00:00
Adrian Holovaty 3336bd5c3d Made docs/contributing.txt docs style guidelines notes more consistent. The section after the dash is always a full sentence
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:29:42 +00:00
Adrian Holovaty b60442f32a Added 'subclass' to docs/contributing.txt docs style guidelines
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:28:13 +00:00
Adrian Holovaty cf4e74a56d Lowercased 'Realize' in docs/contributing.txt to fix potential ambiguity
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:26:42 +00:00
Adrian Holovaty 64f20046f1 Edited docs/db-api.txt changes from [5555]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5566 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:25:10 +00:00
Adrian Holovaty 6e1385b862 Added database name style to docs/contributing.txt documentation style section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5565 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:24:56 +00:00
Adrian Holovaty 353110075b Added 'Documentation style' section to docs/contributing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5564 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:44 +00:00
Adrian Holovaty 23a50aa491 Edited docs/email.txt changes from [5550]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5563 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:20:25 +00:00
Adrian Holovaty b67a2feebf Edited docs/email.txt changes from [5548]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5562 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:06:47 +00:00
Adrian Holovaty 918738919e Edited docs/email.txt changes from [5547]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5561 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 21:03:41 +00:00
Adrian Holovaty 8cea4c7c5e Fixed some awkward wordings from docs/model-api.txt from [5519] and added 'new in Django development version' notes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5560 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-30 20:58:36 +00:00
Jacob Kaplan-Moss a9807db552 Fixed #4712: added mention of Oracle in docs from [5555]. Thanks, Tom.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 19:16:05 +00:00
Jacob Kaplan-Moss 24512a74be Fixed #1465: added support for regex lookups. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 18:58:10 +00:00
Malcolm Tredinnick 26659f2782 Typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:44:29 +00:00
Malcolm Tredinnick d605611bc5 Removed some duplication. I suck at documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:43:28 +00:00
Malcolm Tredinnick 987f8aa257 Fixed #3985 -- Added support for custom email headers.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5550 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:41:37 +00:00
Malcolm Tredinnick bcb088b558 Trivial edit to docs from [5548].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:19:21 +00:00
Malcolm Tredinnick 719a90391d Added support for creating multipart/alternative email messages. Also allow
tweaking of main body MIME subtype for brave people. Fixed #3605.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5548 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 12:18:05 +00:00
Malcolm Tredinnick 2d082a34dc Fixed #1541 -- Added ability to create multipart email messages. Thanks, Nick
Lane.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-27 09:44:55 +00:00
Malcolm Tredinnick 621db31c3a Fixed #4684 -- Added an Oracle reference to the supported database servers.
Thanks, nick@efford.org.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5542 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-26 12:53:33 +00:00
Malcolm Tredinnick 85f6f15263 Fixed #4668, #4669, #4670, #4671 -- Fixed a group of ReST markup errors. Thanks, Richard House.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-25 16:11:32 +00:00
Malcolm Tredinnick ac64e91a0c Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. All
expected tests pass for all databases.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 14:16:00 +00:00
Malcolm Tredinnick 284c6ba44b Fixed #4657 -- Fixed an error in an edge case of the urlizetrunc filter.
Thanks, SmileyChris.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 03:10:32 +00:00
Malcolm Tredinnick 880e3cfaa6 Backed out the changes in [5482] for a bit whilst some more investigation into
side-effects is done. Refs #4565.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-22 07:15:04 +00:00
Adrian Holovaty dbebf54d6c Fixed #4648 -- Fixed awkward wording in docs/newforms.txt. Thanks, jim-django@dsdd.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-21 16:05:23 +00:00
Adrian Holovaty 042d7e44fa Fixed #4637 -- Fixed broken link in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5505 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:39:24 +00:00
Adrian Holovaty 7c3fa24fad Fixed #4638 -- Fixed typo in docs/model-api.txt. Thanks, john.scott.atlakson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5504 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 19:38:19 +00:00
Adrian Holovaty 024c3daa11 Fixed #4537 -- Added note to docs/install.txt about get_python_lib() shortcut. Thanks, Carl Karsten
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5503 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:23:15 +00:00