Commit Graph

1196 Commits

Author SHA1 Message Date
Adrian Holovaty 8d3026bd94 Fixed #4439 -- Fixed typo in docs/testing.txt. Thanks, hayley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-31 04:30:40 +00:00
Adrian Holovaty f2aaa3d1d1 Fixed #4420 -- Fixed broken link in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 18:15:24 +00:00
Malcolm Tredinnick 0c4385bb02 Added new TEST_DATABASE_CHARSET and TEST_DATABASE_COLLATION settings to ensure
that databases are created with the expected encoding during testing.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 12:42:08 +00:00
Russell Keith-Magee d9f6470f2d Fixed #1278 -- Added a context processor that puts MEDIA_URL in the context, and added that context processor to the default set. Thanks to Ubernostrum for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-29 11:09:24 +00:00
Malcolm Tredinnick 3ae89e6abd Fixed #4331 -- Updated possible installation paths for Python site-packages on
Mac OS X. Thanks, mokeefe8@comcast.net.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-28 01:22:42 +00:00
Malcolm Tredinnick ac2772bd5c Fixed a typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 14:09:57 +00:00
Malcolm Tredinnick 5bb8c84882 Fixed #4221 -- Removed dependence on hard-coded URL in tutorial 4.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:41:10 +00:00
Malcolm Tredinnick 67abbb6ea0 Fixed #4366 -- Fixed a small typo. Thanks, Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:20:48 +00:00
Malcolm Tredinnick 47c94244e4 Fixed #4364 -- Added a link to the main docs page to the end of the tutorial in
case it isn't obvious.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:19:37 +00:00
Malcolm Tredinnick 13db259fe0 Fixed #4307 -- Clarified that ROOT_URLCONF is in settings.py and fixed a small
typo. Pointed out by rogerpack2005@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:11:30 +00:00
Malcolm Tredinnick 5785763833 Added references to the various get_FOO_*() methods for FileField and
ImageField. Fixed #4025.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 13:01:21 +00:00
Malcolm Tredinnick b0b5023313 Fixed #4150 -- Added an explanation of how to use eggs with mod_python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 12:45:14 +00:00
Malcolm Tredinnick a4e3581dfc Added documentation for reverse() (based on a patch from Simon Greenhill) and
another cross-reference to permalink(). Fixed #4103.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 12:05:59 +00:00
Malcolm Tredinnick 43dd1c647d Fixed #3227 -- Clarified DATABASE_HOST semantics for PostgreSQL.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 11:33:57 +00:00
Malcolm Tredinnick 451cbfe894 Added a clarification that {#...#} is only for single-line comments.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 10:44:42 +00:00
Malcolm Tredinnick ee2dfe7e46 Fixed #4395 -- Fixed a couple of typos in the examples.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5358 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-27 04:37:46 +00:00
Malcolm Tredinnick 3c948d45d2 Fixed #4388 -- Documented where the view shortcuts are imported from. Based on
a patch from Jure Cuhalev.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5356 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:53:16 +00:00
Malcolm Tredinnick aae36cfc8e Fixed #4355 -- Clarified a confusing example in the use of the url template
tag. Based on a patch from Collin Grady.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5353 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:43:32 +00:00
Malcolm Tredinnick c1efc3cd9f Fixed #4353 -- Fixed a typo in newforms documentation. I can't believe the
documentation editor didn't spot this. Thanks, zendak.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5352 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:22:55 +00:00
Malcolm Tredinnick c0c9534697 Fixed #4351 -- Attempted to make it easier for readers to see the difference
between null and blank if they are reading from top to bottom.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-26 09:17:38 +00:00
Adrian Holovaty 35cc9d9b09 Added 'New in Django development version' notes to docs/model-api.txt regarding DecimalField and FloatField (see [5302])
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5308 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 20:45:33 +00:00
Malcolm Tredinnick e71240d60f Fixed #4344 -- Trivial typo fix.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5303 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 03:48:52 +00:00
Malcolm Tredinnick 92c35a0617 Fixed #2365, #3324 -- Renamed FloatField to DecimalField and changed the code
to return Decimal instances in Python for this field. Backwards incompatible
change.

Added a real FloatField (stores floats in the database) and support for
FloatField and DecimalField in newforms (analogous to IntegerField).

Included decimal.py module (as django.utils._decimal) from Python 2.4. This is
license compatible with Django and included for Python 2.3 compatibility only.

Large portions of this work are based on patches from Andy Durdin and Jorge
Gajon.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 01:29:58 +00:00
Adrian Holovaty 744d06528e Added small note to docs/newforms.txt 'Complex template output' section
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:43:51 +00:00
Adrian Holovaty 1bf43df33d Edited docs/newforms.txt changes from [5294] and [5295]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5298 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:39:32 +00:00
Russell Keith-Magee d43522b077 Modified the example views in newforms.txt to include a HttpResponseRedirect (as per best practice), and remove a duplicated form instantiation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5295 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 02:18:22 +00:00
Malcolm Tredinnick 0f424f5084 Fixed #4232 -- Added example usages to the newforms documentation. Thanks, Joe
Heck.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5294 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 19:13:39 +00:00
Malcolm Tredinnick 7e975bb636 Fixed #4327 -- Fixed silly typo in code example. Pointed out by
jshaffer2112@gmail.com.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5292 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:51:37 +00:00
Malcolm Tredinnick 5ab9c3ac82 Fixed #4334 -- Fixed typo in model-api.txt. Thanks, Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5290 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:35:42 +00:00
Adrian Holovaty cef77fcf19 Added 'http://' to python.org link in docs/install.txt, so it will be auto-linked when converted to HTML
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5285 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 04:17:54 +00:00
Adrian Holovaty 60acd7c71c Fixed small grammar error in docs/model-api.txt from [5250]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-18 16:40:27 +00:00
Adrian Holovaty b723a3e9dd Simplified a coding style example in docs/contributing.txt from [5264]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5265 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 21:36:31 +00:00
Adrian Holovaty e168f79365 Added some Django-specific style guidelines to docs/contributing.txt, which I've been meaning to do for a while
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5264 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-16 21:34:43 +00:00
Adrian Holovaty 6f44cffc77 Fixed #4303 -- Fixed typos in docs/db-api.txt. Thanks, Gary Wilson
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 19:35:53 +00:00
Adrian Holovaty 72e824ad14 Fixed #4303 -- Fixed typo in docs/db-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5252 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 19:06:52 +00:00
Malcolm Tredinnick 7969c1bb65 Fixed #3664 -- Documented that get_absolute_url() and item_link() (in
syndication) links are expected to be strings that can be used in URLs without
further quoting or encoding.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5250 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-15 18:03:00 +00:00
Malcolm Tredinnick b996e214c0 Changed the fix from [5231] so that the backwards-incompatibility is made more
obvious and everything still has nice names.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 16:24:51 +00:00
Adrian Holovaty 70703a6b71 Fixed #3780 -- Added first stab at 'Built-in Field classes' section to docs/newforms.txt, with help from SmileyChris and Marc Fargas
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 05:32:35 +00:00
Adrian Holovaty 0810919694 Fixed #4217 -- Added note to docs/databrowse.txt about import. Thanks, Thomas Güttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 03:29:13 +00:00
Adrian Holovaty a386aa7cc2 Fixed #4285 -- Fixed ReST error in docs/testing.txt. Thanks, Michał Kwiatkowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 03:27:07 +00:00
Adrian Holovaty cc1d02a5aa Fixed ReST error in docs/newforms.txt from [5218]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 03:02:55 +00:00
Adrian Holovaty 2c86d57284 Added unit tests and docs for the newforms case in which the form's data doesn't include a value for a nonrequired field
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 02:57:42 +00:00
Adrian Holovaty edc014b255 Another word tightening and clarification in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 02:21:28 +00:00
Adrian Holovaty 3d86329f82 Clarified migration plan in docs/newforms.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 02:20:12 +00:00
Adrian Holovaty 1130f5e6b7 Fixed some ReST errors in docs/newforms.txt from [5212]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 17:11:19 +00:00
Adrian Holovaty 6500f3fefa Edited changes to docs/newforms.txt from [5202]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 17:02:44 +00:00
Adrian Holovaty 330cc98c73 Fixed #4281 -- Fixed error in docs/i18n.txt example
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:38:24 +00:00
Adrian Holovaty 2af00ca29a Changed 'email' to 'e-mail' in docs/testing.txt, to fit our consistent style
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 15:35:11 +00:00
Russell Keith-Magee 6aa5091d58 Added docs for form_for_model and form_for_instance, and added a fields argument so it is easy to create forms from a subset of model fields.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 14:42:46 +00:00
Malcolm Tredinnick 5a803f5ebd Fixed #4252 -- Fixed a typo in ReST formatting. Thanks, Collin Anderson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 09:51:07 +00:00