summaryrefslogtreecommitdiff
path: root/docs/ref
AgeCommit message (Collapse)Author
2008-09-03Added the last notes about 1.0, including the inevitable (short!) list of ↵Jacob Kaplan-Moss
known issues. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Added a note about queryset.query being opaque.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Added a note about SQLite versions before 3.3.6. Refs #7570. Thanks, ramiro.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8849: added some more "new in 1.0" flags. Thanks, ramiro.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8838 - two typos in model field docs. Thanks, arienSimon Willison
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8802 -- Documented MySQL's usage of 1/0 instead of True/False for modelMalcolm Tredinnick
BooleanFields. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03Fixed #8804: corrected URL example in sitemaps docsJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8905 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02A bunch of cleanups to file documentation. Along the way some references to ↵Jacob Kaplan-Moss
the old file methods were removed - thanks, varikin. Fixes #8642. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #7973 -- Added exclude to BaseModelAdmin to make everything consistent ↵Brian Rosner
with the form/formset factories. Refs #8071 to make it easier to get at exclude. Thanks julien for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8861 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #7943: added documentation on overriding admin templates. Thanks, mwdiersJacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Added a rough draft of the 1.0 porting guide, and an obviously incomplete ↵Jacob Kaplan-Moss
placeholder for the 1.0 release notes. Thanks to daonb, patrickf, and ramiro for contributions to this porting guide. Refs #8438. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02Fixed #8753: converted "new in ..." callouts to proper Sphinx ↵Jacob Kaplan-Moss
"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-02Fixed #8786: Moved phone number field docs to localflavorJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01Fixed #8210 and #8664: moved `USStateField` and `PhoneNumberField` to ↵Jacob Kaplan-Moss
`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-01Fixed #8728: Corrected some broken links in the documentationJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8792 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01Fixed #8698: Updated overview docs for cache middleware to show that it's ↵James Bennett
been split into two classes git-svn-id: http://code.djangoproject.com/svn/django/trunk@8791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01Fixed #8730: Incorporated (with minor changes) additions/enhancements to ↵James Bennett
one-to-one docs git-svn-id: http://code.djangoproject.com/svn/django/trunk@8787 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31Added a `TypedChoiceField` which acts just like `ChoiceField`, except that itJacob Kaplan-Moss
returns a value coerced by some provided function. Refs #6967. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31Fixed #8641: Documented the fact that file-saving methods must receive a ↵James Bennett
File instance git-svn-id: http://code.djangoproject.com/svn/django/trunk@8759 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31Fixed #8533: restored model inheritance docs, and updated one-to-one docs to ↵James Bennett
match git-svn-id: http://code.djangoproject.com/svn/django/trunk@8757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31Fixed #8658: Added cross-references to signals docs from Model.save() docsJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31Fixed #8679: use full signature of Model.save() in docs and remove ↵James Bennett
no-longer-used 'raw' argument git-svn-id: http://code.djangoproject.com/svn/django/trunk@8754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31Fixed #8721: Clarification in docs for form previewsJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30Fixed #8639; documented the fact that the "startproject" command is invalid ↵James Bennett
when fed an existing project's settings git-svn-id: http://code.djangoproject.com/svn/django/trunk@8740 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30Fix inadvertent formatting introduced in [8732]James Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30Fixed #8700: Corrected example in localflavor docsJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30Fixed #8516: Corrected typos in UK localflavor documentationJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30Fixed #8545: Corrected typo in request/response docsJames Bennett
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30Fixed #8247: Added explanation to admin docs to point out that AdminSite can ↵James Bennett
be subclassed and instantiated like any other Python class git-svn-id: http://code.djangoproject.com/svn/django/trunk@8732 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29Merge branch 'url-tag-asvar'Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29Fixed #7893 -- Gave `fieldsets` dictionary options a better visual display ↵Brian Rosner
to set aside from other options in the ModelAdmin due to some name clashing causing confusion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29Revived a bunch of missing documentation that got lost in the docs-refactor.Malcolm Tredinnick
This describes values_list(), the new cross-model order_by() syntax and the effects of distinct(), values() and order_by() on each other. Fixed #8634. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29Fixed #8662 -- Fixed the documentation of Model.save() to match the realMalcolm Tredinnick
signature so that people overriding it will use the right signature. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28Changed create() and get_or_create() to force an insert (not update an ↵Malcolm Tredinnick
existing value). Backwards incompatible if you are using manually-specific primary key values and relying on the previously documented behaviour that the new values would always exist in the database (i.e. it would update the existing entry). Fixed #8419. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28Fixed a typo in comments upgrade guide.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8667 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28Fixed #8406: Corrected some expected output to use repr format. Thanks to ↵Russell Keith-Magee
arien for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8658 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28Fixed #8583: Modified the migration SQL described in the comments upgrade ↵Russell Keith-Magee
docs to account for a problem found with freecomments using Postgres. Thanks to rajeshd for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28Fixed #8590: Added clarification that you need to install the new comments ↵Russell Keith-Magee
system before trying to port data. Thanks to julien for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-28Fixed #8595: Removed a note about possible changes to the syntax of the {% ↵Russell Keith-Magee
url %} template tag. Thanks to julien for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27Fixed #8454: added a FILE_UPLOAD_PERMISSIONS setting to control the ↵Jacob Kaplan-Moss
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-27Removed oldforms, validators, and related code:Gary Wilson Jr
* 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-27Fixed #8544 -- Some more documentation markup fixes from Thejawsi Puthraya.Malcolm Tredinnick
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27Fixed #8526 -- Corrected the default value for the SESSION_FILE_PATH ↵Malcolm Tredinnick
documentation. Thanks, Piotr Lewandowski. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-27Fixed #8518 -- Fixed some markup problems in the widget documentation. Thanks,Malcolm Tredinnick
Thejawsi Puthraya. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26Fixed an error in comment upgrade SQL.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26Fixed some Sphinx markup in signals docs.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8591 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26Fixed #8326: added signals documentation.Jacob Kaplan-Moss
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-26Fixed #8555: corrected `get_comment_form` tag documentation.Jacob Kaplan-Moss
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8581 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26Fixed #7201 -- Fixed the timeuntil filter to work correctly with timezone-awareMalcolm Tredinnick
times. Patch from Jeremy Carbaugh. This is backwards incompatible in the sense that previously, if you tried to compare timezone-aware and timezone-naive values, you got an incorrect result. Now you get an empty string. So your previously incorrect code returns a different incorrect result. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8579 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-26Added documentation to explain the gains and losses when using utf8_binMalcolm Tredinnick
collation in MySQL. This should help people to make a reasonably informed decision. Usually, leaving the MySQL collation alone will be the best solution, but if you must change it, this gives a start to the information you need and pointers to the appropriate place in the MySQL docs. There's a small chance I also got all the necessary Sphinx markup correct, too (it builds without errors, but I may have missed some chances for glory and linkage). Fixed #2335, #8506. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8568 bcc190cf-cafb-0310-a4f2-bffc1f526a37