Malcolm Tredinnick
a9c2f033cd
Upgraded included simplejson to 2.0.7.
...
Also changed importing logic to prefer a system-installed version of
simplejson (unless it's an earlier version that does not contian the C
speedups), then the json module from Python 2.6, then the version
shipped with Django.
Fixed #9266 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9707 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-01-06 05:13:02 +00:00
Adrian Holovaty
89dc5b894a
Added some documentation explaining (1) that it's possible to add users via the Django admin site, and (2) that in order to be able to add users via the admin site, you need to have both 'add user' and 'change user' permissions. Refs #9866
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9684 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-25 06:19:14 +00:00
Gary Wilson Jr
7bf9626adb
Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 05:20:49 +00:00
Gary Wilson Jr
bcae5fc1b3
Fixed #9896 -- Corrected a couple uses of `formset.forms`, thanks aglzen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:13:15 +00:00
Gary Wilson Jr
c565352954
Fixed #9780 -- Fixed an undefined internal link in the model forms documentation, thanks ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9670 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-23 00:01:09 +00:00
Gary Wilson Jr
d66e63f2dc
Fixed #9904 -- Corrected name of storage method in files documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9668 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-22 23:21:32 +00:00
Karen Tracey
04ed423469
Fixed #9898 -- Added a missing 'e' to 'one'. Thanks gizzywump. Also Americanized specialised while in the area, per contributing's guideline.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9662 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-21 04:17:46 +00:00
James Bennett
626f72733d
Clarify install docs to point at new FAQ items about Python 3.0.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:48:23 +00:00
James Bennett
adfad3c193
Fixed #9783 ; clarified install docs and FAQ to explain that Django does not yet work with Python 3.0.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 22:39:58 +00:00
Adrian Holovaty
c006ef5746
Did some much-needed rewriting/editing in the formsets section of docs/topics/forms/modelsforms.txt. 'It self' is not two words.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 04:17:14 +00:00
Brian Rosner
6553ddc5b4
Improved the model formset and inline formset documentation to be more explicit and handle some cases that were never addressed before.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-09 00:31:17 +00:00
Gary Wilson Jr
ff3e1a7d40
Fixed #9718 -- Removed a reference to oldforms FormWrapper object in the user authentication docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9595 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 05:27:04 +00:00
Adrian Holovaty
352efd1893
Edited docs/topics/forms/index.txt changes from [9569] and fixed a typo in the visible_fields() docstring
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-08 04:07:42 +00:00
Malcolm Tredinnick
bfab9d62ee
Added a way to iterate over hidden/visible fields in a form. Useful for manual
...
form layout.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9569 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-05 04:22:00 +00:00
Malcolm Tredinnick
1302fe9a35
Fixed #9740 -- Updated and correct usage of max_entries in cache documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9556 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-03 05:49:37 +00:00
Malcolm Tredinnick
f7a64b341a
Added a short note to the modelforms documentation linking between
...
save(commit=False) and using force_insert or force_update on the Model.save()
call. Refs #8672 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-12-02 04:07:43 +00:00
Karen Tracey
a5172c3e1f
Fixed #9618 : Corrected an error in some example code in the forms documentation. Thanks matthijs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-21 16:25:05 +00:00
Adrian Holovaty
0cfcc72f88
Renamed file-uploads.txt from 'topics-file-uploads' to 'topics-http-file-uploads' to be consistent with directory structure
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9489 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 07:32:38 +00:00
Adrian Holovaty
e37e57f44a
Removed 'Most Web sites wouldn't be complete without a way to upload files' sentence from file-uploads.txt in docs. I beg to differ.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-18 06:35:05 +00:00
Malcolm Tredinnick
a573f4c029
Fixed #9472 -- Fixed a couple of URL patterns to be more consistent (and remove
...
a misleading initial slash). Thanks, daveyjoe.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9471 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-16 09:35:30 +00:00
Malcolm Tredinnick
644ad9073f
Fixed #9477 -- Removed and edited a bunch of references to "development
...
version". Some were replaced with versionadded or versionchanged directives.
Other, more minor ones, were removed altogether.
Based on a patch from James Bennett.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9454 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-15 05:51:25 +00:00
Malcolm Tredinnick
64b56447f3
Fixed #9377 -- Clarified when cmemcached support was included in Django.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9435 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 08:02:46 +00:00
Malcolm Tredinnick
26fabdb218
Fixed #9531 -- Fixed some awkward wording in the docs. Thanks, gsf.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9434 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 08:01:01 +00:00
Malcolm Tredinnick
40976e0862
Fixed #9594 -- Typo fix in the testing example.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9429 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-14 07:38:55 +00:00
Russell Keith-Magee
95d8c0619a
Fixed #9351 -- Modified the test client to pass on URL encoded parameters to the underlying views. Thanks to sime for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-12 11:22:05 +00:00
Karen Tracey
675a4a1067
Fixed #9567 - Removed an extraneous 'are'.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-11 02:57:02 +00:00
Karen Tracey
834ca580fc
Fixed #9499 : Corrected self-reference in test client put method doc. Thanks jroes.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9332 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 21:38:44 +00:00
Karen Tracey
c483583023
Fixed #9497 - Doc typos. Many thanks ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9330 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 20:43:20 +00:00
Karen Tracey
8a5f2ee912
Fixed #9495 -- Corrected typo in urls doc. Thanks seemant.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-02 04:17:59 +00:00
Karen Tracey
2efa5f80d6
Fixed #9374 -- Added missing close paren in serialization doc. Thanks jordy.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 20:14:36 +00:00
Karen Tracey
dd9fd80561
Fixed #9441 -- Corrected typo in file upload settings doc. Thanks gsf.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9316 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:45:03 +00:00
Karen Tracey
d4f4ab8535
Fixed #9487 -- Corrected several links into the Python docs that were broken by the recent Python docs refactor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9312 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-11-01 19:02:09 +00:00
James Bennett
0503442d2c
Minor typo correction from [9279].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9280 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 03:10:13 +00:00
James Bennett
2d40c75acf
Remove obsolete reference to "development version" in autoescaping docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-26 03:09:29 +00:00
Malcolm Tredinnick
c57fe6c3ec
Fixed #9432 -- Revived documentation of ~Q usage.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9267 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:25:32 +00:00
Malcolm Tredinnick
cbe11c1982
Fixed #9430 -- Fixed documentation references to the HttpResponse classes for
...
returning HTTP status codes other than 200.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-24 09:24:42 +00:00
Malcolm Tredinnick
0b7b74432a
Fixed #9325 -- Typo fix in the forms documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-09 09:19:47 +00:00
Malcolm Tredinnick
72f387d344
Fixed #9215 -- Added a view/template example of using pagination.
...
Based on a patch from shacker and Matt Dennenbaum.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 11:51:14 +00:00
Malcolm Tredinnick
cd8eeaacf5
Fixed #5888 -- Added methods to the test client to support HEAD, PUT, DELETE
...
and OPTIONS support. Thanks Scott Barr and Leah Culver.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-07 09:23:40 +00:00
Malcolm Tredinnick
49c61ab1ab
Fixed #7011 -- Clarified what User.is_active really means in the documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9176 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:20:15 +00:00
Malcolm Tredinnick
870a6ec20c
Fixed #6979 -- Fixed the documentation cross-reference between the TIME_ZONE
...
setting and manual settings configuration.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 11:18:30 +00:00
Malcolm Tredinnick
452ba4a8f7
Fixed #8768 -- Clarified that ugettext_lazy() results are unicode proxies and
...
can't be used as bytestrings.
Still a number of markup changes to be made in this file (and in this
changeset). That's intentional for now, since I'm going to rewrite the file
later this week.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:32:35 +00:00
Malcolm Tredinnick
fa63f1642d
Fixed #8975 -- Added a note to the documentation for reverse() that all views
...
must be importable for URL reversing to work correctly.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9167 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:31:32 +00:00
Malcolm Tredinnick
a011a49457
Fixed #9047 -- Marked up django.core.urlresolvers.reverse() properly in the
...
docs. It now appears in the index.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9163 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 08:27:24 +00:00
Karen Tracey
5d3b222a59
Fixed #9212 : Added code to check the xgettext version, and if it is lower than 0.15, undo an incorrect encoding to utf-8 done by xgettext. This bug was fixed in xgettext 0.15, but the most-easily-installed Windows gettext binaries are older (0.13.1), so we work around it.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9155 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-06 01:36:35 +00:00
Malcolm Tredinnick
806ea3a1de
Changed the "write your own settings" recommendation to mention that Django
...
uses tuples, but not making it a recommendation. That might head off the endless
tuples vs. lists debates.
Fixed #8846 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 08:58:17 +00:00
Malcolm Tredinnick
5cd7af58c9
Fixed a typo and clarified how django.core.mail.outbox works in the testing framework. Fixed #9237 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:39:26 +00:00
Malcolm Tredinnick
93aec4e44a
Fixed #9301 -- Correct a markup typo in the docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:18:08 +00:00
Malcolm Tredinnick
d3c6093645
Fixed #9300 -- Typo fix in docs.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-05 06:17:29 +00:00
Malcolm Tredinnick
e9f647e11f
Fixed #9234 -- Typo fix.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-29 04:09:39 +00:00
Russell Keith-Magee
54f962c0bf
Fixed #8967 : Added documentation for the 'through' option on a many-to-many field in the fields reference documentation.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9083 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-22 11:07:35 +00:00
Adrian Holovaty
772639c692
Edited some recent docs changes
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:31:00 +00:00
Adrian Holovaty
fdd3cb4930
Edited forms/index.txt changes from [9030]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-16 05:22:08 +00:00
Simon Willison
fe3a560768
Added mention of inclusion tags to reusable form templates documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9035 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 15:44:59 +00:00
Russell Keith-Magee
b8ba0154b8
Fixed #9085 : Modified some example form HTML to be XHTML, consistent with Django default rendering. Thanks to Jarek Zgoda for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 12:14:31 +00:00
Simon Willison
7617e73c8c
Added documentation on creating reusable form templates; thanks for the suggestion, oggie rob
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 09:30:05 +00:00
Simon Willison
6fcdcbd456
Clarified the wording of the section on customizing form.errors within a field loop
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-15 00:13:25 +00:00
Simon Willison
7ac86d17c8
Added documentation for looping over a form's fields in a template
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9030 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 23:55:09 +00:00
Russell Keith-Magee
e820b54401
Fixed #9044 : Corrected mistake in a closing tag in an example template. Thanks to Rick Vanderzwet for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9029 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 13:10:36 +00:00
Russell Keith-Magee
c9f0dd1ed6
Fixed #9075 : Added a call to close() in the example file upload handler. Thanks to Brendan (bmsleight) for the suggestion.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9027 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 10:32:04 +00:00
Russell Keith-Magee
83d2cb79cb
Fixed #9077 : Modified the database installation notes to point to somewhere useful, rather than initd.org's rant page about Trac. Thanks to velo for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9025 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 09:34:31 +00:00
Russell Keith-Magee
7ab3285f64
Fixed #9060 : Clarified some language in the description of modelformset_factory. Thanks to gsf for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9023 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 08:36:58 +00:00
Russell Keith-Magee
bc75e912a4
Fixed #9046 : Corrected a typo in the m2m intermediate docs. Thanks to djoume for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9020 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 07:52:45 +00:00
Russell Keith-Magee
5a4feb9ec2
Fixed #9052 : Corrected typo in file handling docs. Thanks to KiWiB0RG for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-14 06:49:28 +00:00
Brian Rosner
9ee0b0d384
Fixed #9027 -- Corrected the documentation about can_delete default value. Thanks gsf for catching this.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 16:52:28 +00:00
Brian Rosner
1a2296267d
Fixed #9056 -- Corrected a typo in topic/forms/modelforms.txt documentation. Thanks drozzy for catching this.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-12 15:52:39 +00:00
Adrian Holovaty
8c6f5c6f05
Edited i18n.txt changes from [9009]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9013 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 03:28:49 +00:00
Simon Willison
b0da050b83
Clarified i18n docs concerning verbose_name and verbose_name_plural - fixes #7102
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9009 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-09-11 02:32:59 +00:00
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