Adrian Holovaty
568b8637bf
Fixed #8958 -- Fixed typo in cache.txt. Thanks, benwalton@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8995 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 19:53:57 +00:00
Adrian Holovaty
74f386dba2
Fixed #8979 -- Made a bunch of typo/formatting fixes to the docs. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8987 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-09 01:54:20 +00:00
Adrian Holovaty
571f4639a9
Small wording improvements to cache.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8980 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 22:55:31 +00:00
Gary Wilson Jr
165b55828a
Fixed #8924 -- Corrected a couple typos in queries documentation, thanks arien.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8978 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-07 18:46:11 +00:00
Adrian Holovaty
a0875bcc89
Fixed #8883 -- Fixed some glitches in model reference. Thanks, arien
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 16:51:24 +00:00
Adrian Holovaty
5f83e0488a
Fixed #8894 -- Fixed typo in modelforms.txt. Thanks, koblaid@web.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-06 00:09:17 +00:00
Jacob Kaplan-Moss
7b0b992a87
Fixed #8849 : added some more "new in 1.0" flags. Thanks, ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:55:04 +00:00
Jacob Kaplan-Moss
ee28ee9311
Fixes #8847 - a bunch of cleanups to the i18n docs. Thanks, ramiro!
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8946 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:52:20 +00:00
Jacob Kaplan-Moss
5697f87914
Fixed #8701 , a couple of bad links in the docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 20:23:18 +00:00
James Bennett
87da9cd759
Fixed #8829 : Corrected typo in docs/topics/forms/index.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8904 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 04:40:52 +00:00
Jacob Kaplan-Moss
f6a3652eb2
Fixed #8788 : fixed a few typoes in [8805]. Thanks, Matthew Flanagan and mir.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8872 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:33:56 +00:00
Brian Rosner
a658d45a6c
Improved the docs even more.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:57:18 +00:00
Brian Rosner
7163fe4d96
Added some docs on model formsets in views.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 17:57:02 +00:00
Malcolm Tredinnick
f31425e8e2
Fixed #7154 -- Inherit all model managers from abstract base classes.
...
Also added documentation describing how manager inheritance works (and when
manager aren't inherited). Based on some patches from sebastian_noack and
emulbreh.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 09:04:54 +00:00
Jacob Kaplan-Moss
64a9469127
Fixed #8753 : converted "new in ..." callouts to proper Sphinx "versionadded/versionchanged" directives. Thanks to Marc Fargas for all the heavy lifting here.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8843 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 03:40:42 +00:00
Brian Rosner
502fc3ae56
Fixed #8759 -- Corrected a typo in example code. Thanks James Tauber for the find.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8826 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:06:39 +00:00
Jacob Kaplan-Moss
3a18002bbd
Fixed #8210 and #8664 : moved `USStateField` and `PhoneNumberField` to `django.contrib.localflavor.us`. This is a backwards-incompatible change, albeit a minor one; just add an aditional `import` and go on your way.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8819 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 22:15:35 +00:00
Jacob Kaplan-Moss
ea05e61b2b
Fixed #8209 : `ModelForm`s now validate unique constraints. Alex Gaynor did much of this work, and Brian Rosner helped as well.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8805 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 19:08:08 +00:00
James Bennett
a72eae0be7
Fixed #8728 : Corrected some broken links in the documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:45:30 +00:00
James Bennett
f88fb967bd
Fixed #8705 : Corrected some formatting issues in models documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8788 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:35:07 +00:00
James Bennett
b085ccce6c
Fixed #8730 : Incorporated (with minor changes) additions/enhancements to one-to-one docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:32:41 +00:00
Malcolm Tredinnick
a63a83e5d8
A rewrite of the reverse URL parsing: the reverse() call and the "url" template tag.
...
This is fully backwards compatible, but it fixes a bunch of little bugs. Thanks
to SmileyChris and Ilya Semenov for some early patches in this area that were
incorporated into this change.
Fixed #2977 , #4915 , #6934 , #7206 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8760 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 11:11:20 +00:00
James Bennett
84ef4a9b1d
Fixed #8641 : Documented the fact that file-saving methods must receive a File instance
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:37:44 +00:00
James Bennett
ce24a1f81d
Fixed #7654 : Documented the fact that file upload handlers must be modified before reading request.POST
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8758 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:23:36 +00:00
James Bennett
78ca7a6c07
Fixed #8533 : restored model inheritance docs, and updated one-to-one docs to match
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 10:13:32 +00:00
James Bennett
6ba55eee30
Fixed #8679 : use full signature of Model.save() in docs and remove no-longer-used 'raw' argument
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 08:55:08 +00:00
James Bennett
5f3a182357
Fixed #8693 : Fixed formatting of the "null" argument for model fields
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:38:07 +00:00
Malcolm Tredinnick
6ebbf7ac96
Fixed #8638 -- Show by example that the File.name attribute includes the upload
...
directory as well as the filename. Patch from Ramiro Morales.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8695 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 05:15:49 +00:00
Jacob Kaplan-Moss
52914fbf5a
Fixed #8656 : added a note about iterating over `UploadedFile` only understanding `\n`.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 21:39:17 +00:00
Russell Keith-Magee
f53596d59f
Fixed #8407 : Corrected some output in the Paginator docs. Thanks to arien for the patch.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 13:44:50 +00:00
Russell Keith-Magee
3f13fa398c
Fixed #8578 : Corrected a typo in a shell example in the testing docs. Thanks to Manuel Saelices for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 12:22:33 +00:00
Russell Keith-Magee
f1ab8b4342
Fixed #8600 : Corrected example URLConf to match new comments framework. Thanks to julien for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28 11:27:17 +00:00
Jacob Kaplan-Moss
ff420b4364
Fixed #8454 : added a FILE_UPLOAD_PERMISSIONS setting to control the permissoin of files uploaded by the built-in file storage system. Thanks, dcwatson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 22:21:14 +00:00
Brian Rosner
e704559e56
Fixed #8435 -- Documented the `prefix` option on formsets.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 16:44:52 +00:00
Gary Wilson Jr
c2ba59fc1d
Removed oldforms, validators, and related code:
...
* Removed `Manipulator`, `AutomaticManipulator`, and related classes.
* Removed oldforms specific bits from model fields:
* Removed `validator_list` and `core` arguments from constructors.
* Removed the methods:
* `get_manipulator_field_names`
* `get_manipulator_field_objs`
* `get_manipulator_fields`
* `get_manipulator_new_data`
* `prepare_field_objs_and_params`
* `get_follow`
* Renamed `flatten_data` method to `value_to_string` for better alignment with its use by the serialization framework, which was the only remaining code using `flatten_data`.
* Removed oldforms methods from `django.db.models.Options` class: `get_followed_related_objects`, `get_data_holders`, `get_follow`, and `has_field_type`.
* Removed oldforms-admin specific options from `django.db.models.fields.related` classes: `num_in_admin`, `min_num_in_admin`, `max_num_in_admin`, `num_extra_on_change`, and `edit_inline`.
* Serialization framework
* `Serializer.get_string_value` now calls the model fields' renamed `value_to_string` methods.
* Removed a special-casing of `models.DateTimeField` in `core.serializers.base.Serializer.get_string_value` that's handled by `django.db.models.fields.DateTimeField.value_to_string`.
* Removed `django.core.validators`:
* Moved `ValidationError` exception to `django.core.exceptions`.
* For the couple places that were using validators, brought over the necessary code to maintain the same functionality.
* Introduced a SlugField form field for validation and to compliment the SlugField model field (refs #8040 ).
* Removed an oldforms-style model creation hack (refs #2160 ).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27 07:19:44 +00:00
Jacob Kaplan-Moss
6f29ad31b5
Fixed #8326 : added signals documentation.
...
Thanks to MercuryTide's signal whitepaper from 2006 (http://www.mercurytide.co.uk/whitepapers/django-signals/ ) for inspiration and ideas for organization, and to the folks who got the Signals wiki page together for some of the content.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 19:04:52 +00:00
Jacob Kaplan-Moss
30de7331d4
Fixed #8326 : added documentation about running Django on Jython. Docs originally written by Leo Soto, and then cleaned up a bit by me.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 15:52:21 +00:00
Gary Wilson Jr
b2c2c3a2ed
A few fixes for the testing documentation:
...
* Removed an extra semicolon that was preventing the rendering of a Sphinx class directive for the `Client()` class.
* Indented `Client` class's methods.
* Added linebreaks after attribute directives of `Response` class so Sphinx rendenders them correctly.
* Removed trailing whitespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8567 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26 00:52:55 +00:00
Jacob Kaplan-Moss
cba91997a2
Refactored Django's comment system.
...
Much of this work was done by Thejaswi Puthraya as part of Google's Summer of Code project; much thanks to him for the work, and to them for the program.
This is a backwards-incompatible change; see the upgrading guide in docs/ref/contrib/comments/upgrade.txt for instructions if you were using the old comments system.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8557 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 22:14:22 +00:00
Jacob Kaplan-Moss
018057d8d1
Fixed a bad link in topics/db/models.txt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 19:29:10 +00:00
Jacob Kaplan-Moss
a169884505
Fixed #8539 : fixed PEP references. Thanks, carljm.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8552 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 19:28:57 +00:00
Jacob Kaplan-Moss
f964a6e472
Fixed #5591 : corrected info about variables in `trans` tag. Thanks, idangazit.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 19:28:41 +00:00
Jacob Kaplan-Moss
97bc872755
Fixed a handful of typo/markup problems in the docs. Patch from Daniel Roseman.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8540 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-25 15:51:13 +00:00
Russell Keith-Magee
e822fd703b
Fixed #8401 : Added a note on the fact that DEBUG=False is forced during test execution. Thanks to rishi for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 08:09:27 +00:00
Russell Keith-Magee
6447582b85
Corrected some formatting in the testing docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8513 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-24 08:04:06 +00:00
Jacob Kaplan-Moss
97cb07c3a1
Massive reorganization of the docs. See the new docs online at http://docs.djangoproject.com/ .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8506 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-23 22:25:40 +00:00