Tim Graham
067505ad19
Fixed broken links, round 4. refs #19516
2012-12-29 15:54:33 -05:00
Claude Paroz
2d0b35d2bb
Added links to default widget in forms.fields documentation
2012-12-29 11:30:12 +01:00
Preston Holmes
11ded967c4
Fixed #19498 -- refactored auth documentation
...
The auth doc was a single page which had grown unwieldy.
This refactor split and grouped the content into sub-topics.
Additional corrections and cleanups were made along the way.
2012-12-28 11:06:12 -08:00
Tim Graham
b3a8c9dab8
Fixed broken links, round 3. refs #19516
2012-12-26 19:07:22 -05:00
Aymeric Augustin
e2ec7b47b3
Updated documentation on localflavor translations
...
to account for the removal of django.contrib.localflavor in 1.6.
Refs #19482 .
2012-12-26 14:45:13 +01:00
Aymeric Augustin
4500d3522d
Fixed #19518 -- Documented the deprecation of localflavor.
...
Also moved the contrib deprecations at the top of their section and made
minor markup fixes.
2012-12-26 14:29:07 +01:00
Tim Graham
9c5a6adf33
Fixed more broken links. refs #19516
2012-12-25 04:44:09 -05:00
Ramiro Morales
d19109fd37
Fixed #19497 -- Refactored testing docs.
...
Thanks Tim Graham for the review and suggestions.
2012-12-21 21:59:06 -03:00
Ramiro Morales
abd0f304b1
Added PASSWORD_HASHERS to settings reference document.
2012-12-19 15:07:52 -03:00
Tim Graham
6534a95ac3
Fixed #19470 - Clarified widthratio example.
...
Thanks orblivion for the suggestion.
2012-12-18 08:20:01 -05:00
Tim Graham
507c081484
Fixed #18718 - Documented django.utils.encoding.filepath_to_uri
2012-12-16 14:39:37 -05:00
Aymeric Augustin
a001f3c31e
Fixed #2304 -- Documented TRANSACTIONS_MANAGED.
2012-12-14 21:15:48 +01:00
Tim Graham
0eed8ece32
Fixed #19377 - Emphasized database host link in tutorial
2012-12-11 16:34:17 -05:00
Claude Paroz
53b879f045
Fixed #19444 -- Clarified IGNORABLE_404_URLS documentation
2012-12-07 17:39:36 +01:00
Daniele Procida
37abad73d6
Amended explanation of LOCALE_PATHS setting.
...
Thanks Daniele Procida for the patch.
2012-12-04 20:11:54 -03:00
Claude Paroz
0eeae15056
Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
...
Thanks markteisman at hotmail.com for the report.
2012-11-29 21:45:43 +01:00
Claude Paroz
cc3c4a9d55
Fixed #19366 -- Prevented GEOSIndexError when comparing geometries
...
Thanks Craig de Stigter for the report and collaboration on the
patch.
2012-11-28 22:34:02 +01:00
Jason Yan
eeaab083fe
Fixed #19374 -- Typo in docs/ref/models/instances.txt.
2012-11-27 18:57:50 -08:00
Tim Graham
38055222bd
Fixed #19239 - Added examples for generic date views
...
Thank-you Daniel Greenfeld and Scott Nixon.
2012-11-27 19:26:37 -05:00
Julien Phalip
ae206d78f6
Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
2012-11-25 20:39:23 +01:00
Aymeric Augustin
f89901dc05
Fixed two typos.
2012-11-25 19:31:53 +01:00
Aymeric Augustin
d266919584
Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
2012-11-24 22:10:51 +01:00
Claude Paroz
44815bad6b
Removed obsolete contrib.comments upgrade guide
...
The old comment system was pre-1.0.
2012-11-24 18:10:51 +01:00
Tim Graham
63e6cd1bb3
Fixed #19348 - Clarified the units of filesizeformat.
...
Thanks george_edison for the report and Claude Paroz for the patch.
2012-11-23 07:00:08 -05:00
Tim Graham
c13912ac7f
Fixed #19346 - Typo in docs/ref/contrib/gis/install/index.txt
2012-11-22 18:01:20 -05:00
Tim Graham
0e3690d230
Fixed #18974 - Warned against using models.permalink
...
Thanks dstufft for the draft patch.
2012-11-22 16:08:51 -05:00
Tim Graham
71a3162a70
Documented behavior of get_or_create when multiple objects are returned.
...
Thanks Matt Lauber for the patch.
2012-11-22 10:36:18 -05:00
Tim Graham
7b2d95eb30
Clarified usage of as_view kwargs for setting arguments on class based views
...
Thanks Dave McLain for the patch.
2012-11-22 09:07:21 -05:00
Preston Holmes
d80d05fc67
Added examples of using startproject/app with URLs
...
thanks to Brent O'Connor for the idea and intial docs
2012-11-21 22:06:59 -08:00
shepdl
8e5573e99a
Fixed #19243 - Edited GeoDjango Tutorial for consistency and style.
2012-11-21 19:31:17 -05:00
Chris Beaven
48e8b5e944
Add orphans support to MultipleObjectMixin
...
Fixes #7005
2012-11-21 16:50:23 +13:00
Luke Plant
a32f30c79c
Corrected docs about default value of MESSAGE_STORAGE
2012-11-20 23:00:20 +00:00
Preston Holmes
edf7ad36fa
Fixed #18658 -- Improved ModelAdmin.message_user API
...
Thanks to Lowe Thiderman for the patch and tests
2012-11-19 16:03:09 -08:00
Tim Graham
8b659e439b
Merge pull request #536 from 1st/patch-1
...
Fixed typo in docs/ref/models/querysets.txt
2012-11-19 15:45:53 -08:00
Tim Graham
1f1f60d12f
Fixed #19306 - Improved syndication example.
...
Thanks brycenesbitt for the report.
2012-11-18 18:07:38 -05:00
Anton Danilchenko
76859e6eab
Update docs/ref/models/querysets.txt
...
Fix typo: replace "can can" to "can"
2012-11-18 18:46:39 +02:00
Tim Graham
2564e31014
Fixed #19308 - Clarified stringformat filter example
...
Thanks Shabda Raaj.
2012-11-17 19:29:31 -05:00
Tim Graham
04775b4598
Fixed #13997 - Added an example of constructing a MultiWidget and documented the value_from_datadict method.
2012-11-17 17:54:09 -05:00
Aymeric Augustin
ccb2b574e8
Fixed #19315 -- Improved markup in admin FAQ.
...
Thanks ClaesBas.
2012-11-17 23:25:52 +01:00
Aymeric Augustin
9b755a298a
Fixed #19291 -- Completed deprecation of ADMIN_MEDIA_PREFIX.
2012-11-17 22:38:19 +01:00
Jannis Leidel
778b8bdcf4
Merge pull request #467 from tomchristie/page-kwarg
...
Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded "page".
2012-11-17 12:27:01 -08:00
Tim Graham
ac4aa8a76c
Documented that contrib.sites creates a default site.
...
Thanks Lorin Hochstein for the patch.
2012-11-17 06:49:28 -05:00
Brandon Adams
d8ee46afff
comment_will_be_sent can cause a 400, not a 403
...
Doc cleanup for django.contrib.comments.signals.comment_will_be_sent
If a receiver returns False, an HttpResponse with status code 400
is returned. A test case already exists confirming this behavior.
Updated docs to reflect reality.
2012-11-16 10:19:54 -05:00
Aymeric Augustin
00ff69a827
Fixed #19283 -- Fixed typo in imports in CBV docs.
2012-11-13 20:46:29 +01:00
Aymeric Augustin
e27a43cc54
Merge pull request #509 from pydanny/ticket_19244
...
Fixed #19244 -- Provided examples for some built-in templatetags and filters
2012-11-13 04:42:53 -08:00
Daniel Greenfeld
3f65f751a0
Converted <paragraph> to <p> per #aaugustin's request
2012-11-12 16:12:27 -08:00
Nicolas Ippolito
17b14d4819
Typo in comments doc
2012-11-12 22:15:41 +01:00
Tom Christie
3f2fc2f41a
Formatting tweaks.
2012-11-09 16:16:58 +00:00
Tom Christie
5bc6929f9a
Include `versionadded 1.5` directive
2012-11-09 16:15:19 +00:00
Tim Graham
19eb56a277
Merge pull request #506 from gwrtheyrn/ipv6_doc_fix
...
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-09 02:48:32 -08:00
Daniel Greenfeld
1db5d88273
Added examples for comment, templatetag, escape, force_escape, timesince, and timeuntil
2012-11-08 16:35:39 -08:00
Claude Paroz
b1ac329ba9
Fixed #19115 -- Documented stdout/stderr options for call_command
...
Thanks d1ffuz0r for helping with the patch.
2012-11-07 18:31:14 +01:00
Danilo Bargen
b0c72d0a30
Fixed invalid ipv4 mapped ipv6 addresses in docs
2012-11-07 17:13:06 +01:00
Tim Graham
a386675a6a
Fixed #15968 - Noted that readonly_fields are excluded from the ModelForm
2012-11-06 19:03:44 -05:00
Tim Graham
2cc1884383
Fixed #19246 - Updated SECURE_PROXY_SSL_HEADER example to use 'X-Forwarded-Proto'
...
Thanks Fred Palmer for the report.
2012-11-06 05:17:21 -05:00
Tim Graham
d3fd8a1512
Fixed #15591 - Clarified interaction between ModelForm and model validation.
2012-11-05 18:24:28 -05:00
Preston Holmes
2cb48fffd4
Removed redundant docs addition across two commits
...
d5c3c45f2f
a70492e6b5
2012-11-04 19:12:44 -08:00
Bryan Veloso
79a484fc8e
Merge pull request #496 from pydanny/ticket_19241
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 18:19:56 -08:00
Daniel Greenfeld
a70492e6b5
Fixed #19241 -- Improved floatformat docs
...
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 17:40:21 -08:00
Daniel Greenfeld
d5c3c45f2f
Demonstrate how to round to integers using floatformat templatetag
2012-11-04 16:35:40 -08:00
Alex Gaynor
957787ace0
Added multi-column indexes to the 1.5 release notes.
2012-11-04 15:41:33 -08:00
Eric Davis
d94dc2d1fa
Fixed formatting of get_FOO_display example
2012-11-04 10:29:10 -08:00
Alex Gaynor
4285571c5a
Fixed #5805 -- it is now possible to specify multi-column indexes. Thanks to jgelens for the original patch.
2012-11-04 10:16:06 -08:00
Tim Graham
249c3d730e
Fixed #19090 - Added PostgreSQL connection note.
...
Thanks Melevir for the patch.
2012-11-04 05:32:53 -05:00
Ulrich Petri
ac2052ebc8
Fixed #17549 -- Added a clickable link for URLFields in admin change list.
2012-11-03 11:57:33 +01:00
Tim Graham
39f5bc7fc3
Fixed #16841 - Documented a couple ModelAdmin methods
...
* ModelAdmin.get_changelist_form and get_changelist_formset
* InlineModelAdmin.get_formset
Thanks Jordan Reiter for the report.
2012-11-03 05:22:34 -04:00
Preston Holmes
965cc0b1ff
Deprecated depth kwarg on select_related.
...
This is the start of a deprecation path for the depth kwarg on
select_related. Removing this will allow us to update select_related so
it chains properly and have an API similar to prefetch_related.
Thanks to Marc Tamlyn for spearheading and initial patch.
refs #16855
2012-11-02 22:03:33 -07:00
Tim Graham
d1de7596b2
Fixed #19120 - Added an example of using ModelAdmin methods for read-only fields.
...
Thanks Daniele Procida for the patch.
2012-11-02 18:31:03 -04:00
Tim Graham
082fad0b83
Cleaned up contrib.admin install instructions.
...
Thanks Cal Leeming for the patch.
2012-11-02 18:04:27 -04:00
Tim Graham
af7ea808d8
Added WizardView.file_storage exception message and docs
...
Thanks Danilo Bargen for the patch.
2012-11-01 16:14:51 -04:00
Tim Graham
ede8a0be05
Fixed #19179 - Added mention of NamedUrlSessionWizard and NamedUrlCookieWizard; thanks Tom for the report.
2012-11-01 06:58:02 -04:00
Aymeric Augustin
146ed13a11
Fixed #17083 -- Allowed sessions to use non-default cache.
2012-10-31 09:46:16 +01:00
Aymeric Augustin
24b2aad8e3
Fixed #19209 -- Documented |date:"I".
...
Thanks mitar for the report.
2012-10-29 23:12:20 +01:00
Aymeric Augustin
5fec97b9df
Fixed #18194 -- Expiration of file-based sessions
...
* Prevented stale session files from being loaded
* Added removal of stale session files in django-admin.py clearsessions
Thanks ej for the report, crodjer and Elvard for their inputs.
2012-10-28 09:19:38 +01:00
Aymeric Augustin
83ba0a9d4b
Fixed #18978 -- Moved cleanup command to sessions.
...
This removes a dependency of 'core' on 'contrib'.
2012-10-27 18:31:00 +02:00
Tom Christie
502be865c6
Add 'page_kwarg' attribute to `MultipleObjectMixin`, removing hardcoded 'page'.
2012-10-25 10:31:14 +01:00
Tim Graham
da958eb209
Fixed #9471 - Expanded ModelAdmin.raw_id_fields docs; thanks adroffne for the suggestion.
2012-10-24 17:43:24 -04:00
Aymeric Augustin
495a8b8107
Fixed #6527 -- Provided repeatable content access
...
in HttpResponses instantiated with iterators.
2012-10-24 17:08:37 +02:00
Aymeric Augustin
104ca49c57
Removed inaccurate statement from the StreamingHttpResponse docs.
...
Iterators will be closed for both regular and streaming responses;
this shouldn't be described as a difference.
2012-10-21 22:44:02 +02:00
Tim Graham
2f722d9728
Fixed #13869 - Warned that QuerySet.iterator() doesn't affect DB driver caching; thanks jtiai for the suggestion.
2012-10-20 15:22:34 -04:00
Aymeric Augustin
4b27813198
Fixed #7581 -- Added streaming responses.
...
Thanks mrmachine and everyone else involved on this long-standing ticket.
2012-10-20 20:05:11 +02:00
Tim Graham
300d052713
Fixed arguments for get_inline_instances example; refs #17856
2012-10-20 09:57:15 -04:00
Aymeric Augustin
c2e19e26bc
Fixed #17856 -- Passed obj to get_inline_instances
...
Thanks ybon, quinode and sjaensch for the patch, and Tim Graham
for the review.
2012-10-20 15:49:52 +02:00
Claude Paroz
dfd4a71751
Fixed #5611 -- Restricted accepted content types in parsing POST data
...
Thanks paulegan for the report and Preston Holmes for the review.
2012-10-20 14:56:16 +02:00
Tim Graham
eed4faf16f
Fixed #17006 - Documented ModelAdmin get_form() and get_formsets()
2012-10-20 08:40:54 -04:00
Claude Paroz
3084b1cfd6
Separated GIS installation docs in sections
2012-10-20 11:08:52 +02:00
Tim Graham
db598dd8a0
Fixed #18046 - Documented than an index is created by default for ForeignKeys; thanks jbauer for the suggestion.
2012-10-18 16:58:05 -04:00
Preston Holmes
31dcaf49a0
Fixed an error in cookie documentation
2012-10-17 14:53:21 -07:00
Tim Graham
3e0857041b
Fixed #18473 - Fixed a suggestion that GZipMiddleware needs to be first in the list of middleware.
2012-10-17 15:46:59 -04:00
Adrian Holovaty
1636b03382
Added docs link to new third-party Lithuanian localflavor
2012-10-15 14:18:16 -05:00
Claude Paroz
22742e4ac4
Added ref to format localization in Date[Time]Field docs
...
Thanks henrik@aisti.fi for the suggestion in #19119 .
2012-10-13 11:17:25 +02:00
Claude Paroz
10dc4797ea
Fixed #19119 -- Corrected default date input formats in docs
...
Thanks henrik@aisti.fi for the report.
2012-10-13 11:02:18 +02:00
Tim Graham
c870cb48cd
Fixed #18256 - Added a potential pitfall when upgrading to MySQL 5.5.5
2012-10-12 19:17:00 -04:00
Adrian Holovaty
f8c3acc807
Updated localflavor docs to note the new packages
2012-10-12 17:00:35 -05:00
Brian Galey
95f7ea3af1
Fixed #19028 -- Support GeoJSON output with SpatiaLite 3.0+
2012-10-12 17:23:22 +02:00
Tim Graham
2d1214d92a
Fixed #14165 - Documented that TransactionMiddleware only applies to the default database.
2012-10-11 17:47:37 -04:00
Preston Holmes
c99ad64df7
Fixed #19097 -- documented module of origin for HttpRes/req objects
2012-10-09 20:30:28 -07:00
Ramiro Morales
ec1aad1671
Added section about URL reversion to URL mapper document.
2012-10-07 20:21:07 -03:00
Ramiro Morales
69035b0b1c
More URL mapping documentation fixes.
2012-10-06 16:35:22 -03:00
Ramiro Morales
b6b8a3f66b
Refactored URL mapping documentation.
...
Reorganized topic document so it introduces concepts form simple to more
complex. Moved reference parts to their own documents.
2012-10-06 11:27:20 -03:00