Malcolm Tredinnick
d8b56ecbf6
Added a stability note about template tag names.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8887 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:09:52 +00:00
Malcolm Tredinnick
c30494b616
Added two items (django.utils.translation and django.utils.http) to the API
...
stability document and removed a duplicate mention of django.utils.encoding.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-03 00:09:45 +00:00
Jacob Kaplan-Moss
ecb5f4c693
Fixed the documentation HTML writer to not apply smartypants to literal blocks. Fixes #8696 ; thanks, ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:49:23 +00:00
Jacob Kaplan-Moss
b13276b1ff
Fixed another typo in 1.0 notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:45:06 +00:00
Jacob Kaplan-Moss
0a7e454fa2
Fixed a typo in 1.0 notes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:34:20 +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
Jacob Kaplan-Moss
e997a1c3df
Rough draft of 1.0 release notes. Not in any way finished.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8870 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:19:20 +00:00
Brian Rosner
6656642d36
Use a lower case 's' in URLS in the 1.0 porting guide.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:08:31 +00:00
Brian Rosner
5ff51f6bb3
Corrected a minor typo in the 1.0 porting guide.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 19:04:33 +00:00
Jacob Kaplan-Moss
58e3ef76db
Updated API stability document for 1.0.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 18:45:33 +00:00
Simon Willison
e00aa16e24
Fixed spelling typo in porting guide and added __str__ to __unicode__ to the model example
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8865 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 18:38:55 +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
Jacob Kaplan-Moss
bc768e2b47
A bunch of cleanups to file documentation. Along the way some references to 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-02 17:33:51 +00:00
Brian Rosner
c1de41f4d2
Fixed #7973 -- Added exclude to BaseModelAdmin to make everything consistent 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-02 17:26:24 +00:00
Jacob Kaplan-Moss
24d7b49849
Fixed #8496 : added a note about admindocs to the project template and the tutorial. Thanks, ericvw.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:52:42 +00:00
Jacob Kaplan-Moss
b1f5ed00cb
Fixed #7943 : added documentation on overriding admin templates. Thanks, mwdiers
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8858 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:47:45 +00:00
Jacob Kaplan-Moss
23f012dbfa
Cleaned up a bunch of minor doc stuff:
...
* Removed flatpages/redirects README; no other contrib apps have those.
* Cleaned up top-level README to be more readable.
* Removed outdated references to old docs (Fixes #8701 )
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 16:42:13 +00:00
Jacob Kaplan-Moss
1156db790a
Added a rough draft of the 1.0 porting guide, and an obviously incomplete 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-02 16:27:47 +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
James Bennett
c7a10b677d
Fixed #8786 : Moved phone number field docs to localflavor
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8830 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-02 00:26:28 +00:00
James Bennett
a47bffad17
Fixed #8757 : Corrected formatting of inclusion tag example
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 23:57:55 +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
82e2f9bb98
Fixed #8698 : Updated overview docs for cache middleware to show that it's been split into two classes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8791 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-01 09:42:15 +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
Jacob Kaplan-Moss
4ae746b574
Added a `TypedChoiceField` which acts just like `ChoiceField`, except that it
...
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-31 20:10:50 +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
f2c80f93d9
Fixed #8658 : Added cross-references to signals docs from Model.save() docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8755 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 09:03:18 +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
5e26fceb83
Fixed #8721 : Clarification in docs for form previews
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8753 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-31 07:54:31 +00:00
James Bennett
d73c9a5671
Fixed #8639 ; documented the fact that the "startproject" command is invalid 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-30 08:59:37 +00:00
James Bennett
0a11c13acf
Fix inadvertent formatting introduced in [8732]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8739 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 06:02:14 +00:00
James Bennett
b02d2aba1c
Fixed #8700 : Corrected example in localflavor docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8738 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:39:34 +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
James Bennett
ac418c979f
Fixed #8581 : Corrected example of "grep" to search docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:35:18 +00:00
James Bennett
8af2831f5b
Fixed #8603 : Corrected typo in cross-reference to PDF-generation docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8735 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:34:04 +00:00
James Bennett
3fc6b10a0e
Fixed #8516 : Corrected typos in UK localflavor documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8734 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:32:28 +00:00
James Bennett
2c1166e66d
Fixed #8545 : Corrected typo in request/response docs
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8733 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:30:44 +00:00
James Bennett
3a7fc0c797
Fixed #8247 : Added explanation to admin docs to point out that AdminSite can 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-30 05:29:19 +00:00
Malcolm Tredinnick
c0b53b3dcc
Removed the need for ROOT_URLCONF in settings when running Django's core tests
...
(via runtests.py). It was embarrassing having to explain the need for it to
people, since we ignore whatever setting is passed in.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8731 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-30 05:09:03 +00:00
Jacob Kaplan-Moss
c068bc184c
Merge branch 'url-tag-asvar'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8716 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-29 19:28:03 +00:00
Brian Rosner
c113133dad
Fixed #7893 -- Gave `fieldsets` dictionary options a better visual display 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-29 17:02:06 +00:00