Claude Paroz
1b142ef5dd
Removed Python 2.6 references in GIS docs
...
Refs #20746 .
2013-07-13 23:08:48 +02:00
Claude Paroz
7557207983
Fixed #20582 -- Allowed default Form.label_suffix to be translated
...
Thanks Tim Graham for the review.
2013-07-13 16:19:16 +02:00
Tim Graham
a7d97a6778
Fixed #20653 -- Renamed checksetup -> check missed in [ 03465639
]
...
Thanks CollinAnderson for the report.
2013-07-12 12:48:49 -04:00
Karol Sikora
6272d2f155
Fixed #20429 -- Added QuerySet.update_or_create
...
Thanks tunixman for the suggestion and Loic Bistuer for the review.
2013-07-12 08:26:35 -04:00
Joeri Bekker
66f3d57b79
Fixed #19031 -- Added a warning when using override_settings with 'DATABASES'
2013-07-12 07:10:18 -04:00
Tim Graham
3cdeb572d7
Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save()
2013-07-12 06:19:16 -04:00
Christopher Medrela
ac223ff6d1
Fixed #20735 -- clarified ManyToManyField constructor doc
2013-07-12 11:50:08 +02:00
Claude Paroz
59ebe39812
Fixed #17471 -- Added smtplib.SMTP_SSL connection option for SMTP backend
...
Thanks dj.facebook at gmail.com for the report and initial patch
and Areski Belaid and senko for improvements.
2013-07-11 22:00:08 +02:00
Tim Graham
ecd746191c
Fixed #20733 -- Typo in docs/ref/class-based-views/generic-display.txt
...
Thanks ijl20@ for the report.
2013-07-11 07:36:25 -04:00
James Bennett
c0f03175ce
Fixed #19695 -- Retitle "Form Media" to "Form Assets".
2013-07-08 13:59:54 -04:00
Tim Graham
181f63c22d
Fixed #12346 -- Added a note on how to validate InlineFormSets.
...
Thanks johnsmith for the suggestion.
2013-07-08 08:29:28 -04:00
Claude Paroz
c94093c5ba
[gis] Dropped official support for GDAL < 1.6
2013-07-06 17:25:46 +02:00
Claude Paroz
de676f94b7
Added release dates for gis libs as doc comments
2013-07-06 17:18:53 +02:00
Claude Paroz
7442eb1a24
Fixed #20224 -- Update docs examples which mention __unicode__
...
Thanks Marc Tamlyn and Tim Graham for the review.
2013-07-05 19:27:07 +02:00
Tim Graham
577b0f9189
Fixed #20561 -- Emphasized that QuerySet.distinct([*fields]) is only supported by Postgres.
...
Thanks jtiai for the suggestion.
2013-07-05 07:20:37 -04:00
Tim Graham
f407f75aae
Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.
...
Thanks littlepig for the report.
2013-07-04 09:32:32 -04:00
Tim Graham
428de2e339
Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique constraints.
...
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.
2013-07-04 07:53:13 -04:00
Tim Graham
8a679386c3
Fixed #20691 -- Added a note for __str__() vs. __unicode__() and Python 3.
...
Thanks garrison for the suggestion.
2013-07-03 08:44:03 -04:00
Tim Graham
3632d289de
A couple more semicolon -> colon fixes; refs #18134 .
2013-07-02 14:14:56 -04:00
Aymeric Augustin
6a0374d037
Reflected the new default value of LOGGING_CONFIG in docs.
2013-07-01 23:16:25 +02:00
Tim Graham
3fd0ee5b46
Fixed #20677 - Typos in generic_inlineformset_factory docs.
...
Thanks Riley Strong for the report.
2013-06-29 14:14:32 -04:00
Aymeric Augustin
7415176507
Simplified description of HttpResponse(<iterator>)
...
Related to 8b9b8d3b
.
2013-06-29 18:56:00 +02:00
Claude Paroz
6118d6d1c9
More import removals
...
Following the series of commits removing deprecated features in
Django 1.7, here are some more unneeded imports removed and other
minor cleanups.
2013-06-29 11:58:36 +02:00
Ramiro Morales
24bbf1367a
Removed django.utils.encoding.StrAndUnicode class, deprecated in Django 1.5.
2013-06-28 23:16:28 -03:00
Ramiro Morales
7379d9acea
Removed insert(), value_for_insert() SortedDict methods deprecated in Django 1.5.
2013-06-28 22:38:13 -03:00
Ramiro Morales
8eadbc5a03
Removed 'mimetype' arguments from a few places, as per deprecation TL.
...
This includes HttpResponse and co. __init__() methods,
django.shortcuts.render_to_response() and the index(), sitemap() sitemap
app views.
2013-06-28 21:48:16 -03:00
Ramiro Morales
6ba69c8456
Removed 'depth' .select_related() argument as per deprecation TL.
2013-06-28 21:48:16 -03:00
Ramiro Morales
c196564132
Removed custom profile model functionality as per deprecation TL.
2013-06-28 21:48:16 -03:00
Ramiro Morales
f73d04dda9
Removed 'cleanup' management command as per deprecation TL.
2013-06-28 21:48:16 -03:00
Shai Berger
d097417025
Support 'pyformat' style parameters in raw queries, Refs #10070
...
Add support for Oracle, fix an issue with the repr of RawQuerySet,
add tests and documentations. Also added a 'supports_paramstyle_pyformat'
database feature, True by default, False for SQLite.
Thanks Donald Stufft for review of documentation.
2013-06-28 06:59:10 +03:00
Ken Bolton
6fcb7ba842
Fix typo
2013-06-27 12:39:50 -04:00
Andrew Godwin
12cb0df10f
Docs for related_query_name
2013-06-27 15:44:22 +01:00
Claude Paroz
8db264cbc8
Fixed LOGGING setting docs
2013-06-27 16:29:26 +02:00
Baptiste Mispelon
5005303ae7
Fixed #20665 -- Missing backslash in sitemaps documentation
...
Thanks to roman for the report.
2013-06-27 09:42:09 +02:00
Tim Graham
1184d07789
Fixed #14881 -- Modified password reset to work with a non-integer UserModel.pk.
...
uid is now base64 encoded in password reset URLs/views. A backwards compatible
password_reset_confirm view/URL will allow password reset links generated before
this change to continue to work. This view will be removed in Django 1.7.
Thanks jonash for the initial patch and claudep for the review.
2013-06-26 13:11:47 -04:00
Tim Graham
e10757ff4d
Doc cleanup for FormMixin.prefix; refs #18872 .
2013-06-25 07:50:43 -04:00
Daniel Izquierdo
9a2b07f1b4
Fixed #20654 -- Fixed type of `m2m_changed`'s `pk_set` arg in docs
2013-06-25 09:46:17 +02:00
Baptiste Mispelon
299983616f
Fixed #20644 -- Add ModelFormMixin.fields to the CBV flattened index
...
Thanks to Tim Graham for the report and review.
2013-06-24 11:59:08 +02:00
Simon Charette
ecf63d5d89
Added missing `versionadded` for `FormMixin.prefix`.
2013-06-22 16:49:24 -04:00
Gilberto Gonçalves
ef37b23050
Fixed #18872 -- Added prefix to FormMixin
...
Thanks @ibustama for the initial patch and dragonsnaker for opening the
report.
2013-06-22 12:12:43 +01:00
Tim Graham
9be93aa809
Fixed #20634 - Corrected doc mistake re: staticfiles finders strategy.
...
Thanks claudep for the catch and bmispelon for the research.
2013-06-21 14:57:12 -04:00
James Bennett
ba610cb319
Fixed #19881 -- Documented that get_next/previous_by_FOO uses default manager.
2013-06-21 13:14:05 -04:00
Loic Bistuer
c86a9b6398
Fixed #6903 - Preserve admin changelist filters after saving or deleting an object
2013-06-19 02:41:36 +07:00
Erik Romijn
2c4fe761a0
Fixed #20593 -- Allow blank passwords in check_password() and set_password()
2013-06-18 13:32:54 -04:00
Loic Bistuer
ee77d4b253
Fixed #20199 -- Allow ModelForm fields to override error_messages from model fields
2013-06-18 08:01:17 -04:00
Baptiste Darthenay
39b245fd76
Fixed #20614 -- Typo in documentation.
2013-06-17 11:35:07 +02:00
Daniel Lindsley
b3532f7df9
Adjusted the docs to reflect when the checksetup command was added.
2013-06-15 10:14:48 -07:00
Claude Paroz
bf9975b0eb
Fixed #20606 -- Fixed 'for' example in template tag docs
...
Thanks batisteo for the report.
2013-06-15 12:02:25 +02:00
Daniel Lindsley
2a6a32047d
Added missing docs for the checksetup command.
2013-06-14 16:02:45 -07:00
Marc Tamlyn
f656757888
Merge pull request #1271 from batisteo/ticket-20565
...
Fixed #20565 -- Added template examples for GCBV.
2013-06-14 07:40:00 -07:00
Baptiste Darthenay
81545940c6
Fixed #20565 -- Added template examples for GCBV.
...
Thanks to David Reitter for the report,
and to Marc Tamlyn and Baptiste Mispelon for the review.
2013-06-14 16:31:11 +02:00
Marc Tamlyn
b7bd7087e6
Fixed #15273 -- Extend RedirectView to allow reversal by name.
...
Thanks to @DrMeers for the report and @ludwigkraatz for the initial patch.
2013-06-14 11:59:26 +01:00
Tim Graham
70d7e45eb0
Added release notes for auth views being reversed by name, not by path.
...
Refs #20532
2013-06-13 16:08:56 -04:00
Loic Bistuer
9e50833e22
Fixed #20000 -- Allowed ModelForm meta overrides for label, help_text and error_messages
2013-06-13 15:06:25 -04:00
Jaap Roes
3ce1d303da
Warned that `request_finished` isn't sent by some buggy setups.
...
Older versions of uWSGI and Sentry's middleware do not adhere to
the WSGI spec and cause the `request_finished` signal to never
fire. Added notes to the appropriate places in the docs.
Fixed #20537 .
2013-06-12 20:52:08 +02:00
Baptiste Darthenay
8821bcb2a0
Fixed #20591 : added version in docs for utils.module_loading.import_by_path.
2013-06-12 10:50:37 +02:00
Tim Graham
536703abf0
Fixed #20500 - Updated flatpages URLconf example to work with APPEND_SLASH.
...
Thanks josh.23.french@.
2013-06-11 12:25:39 -04:00
Tim Graham
9ff5f100dd
Fixed #20578 - Typo in BaseFormSet module name
2013-06-10 14:36:40 -04:00
Gabe Jackson
584bd14dcf
Fixed #18134 -- BoundField.label_tag now includes the form's label_suffix
...
There was an inconsistency between how the label_tag for forms were
generated depending on which method was used: as_p, as_ul and as_table
contained code to append the label_suffix where as label_tag called on a
form field directly did NOT append the label_suffix. The code for
appending the label_suffix has been moved in to the label_tag code of
the field and the HTML generation code for as_p, as_ul and as_table now
calls this code as well.
This is a backwards incompatible change because users who have added the
label_suffix manually in their templates may now get double label_suffix
characters in their forms.
2013-06-10 14:23:15 -04:00
Tim Graham
a643e4d200
Merge pull request #1255 from camilonova/patch-2
...
Made URL patterns consistent in docs/ref/contrib/flatpages.txt
2013-06-10 06:47:15 -07:00
Tim Graham
4e94c84e50
Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTS
2013-06-09 15:05:15 -04:00
Tim Graham
175a102ddc
Fixed #20567 - Documented BoundField.id_for_label.
...
Thanks littlepig for the suggestion.
2013-06-09 12:13:43 -04:00
Camilo Nova
706eced9bb
Update flatpages.txt
...
Fixed typo
2013-06-08 10:45:39 -05:00
Jacob Kaplan-Moss
357d62d9f2
Explained that timezone.now() always returns times in UTC.
...
The docs were ambiguous about the time zone for now(), leading people to
assume that it would be the current time zone rather that UTC.
2013-06-06 11:05:33 -05:00
Marc Tamlyn
9ed971f4f1
Merge pull request #1245 from oinopion/list_select_related
...
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-06 01:27:05 -07:00
Tomek Paczkowski
0fd9f7c95f
Fixed #19080 -- Fine-grained control over select_related in admin
2013-06-05 23:08:00 +02:00
Tim Graham
bb863faecd
Proofed the 1.6 release notes
2013-06-05 12:55:58 -04:00
James Aylett
5448555785
Fixed #17601 -- expose underlying db exceptions under py2
...
Use __cause__ to expose the underlying database exceptions even
under python 2.
2013-06-04 12:46:10 +01:00
Tim Graham
c36b75c814
Fixed #20545 - Made class-based view MRO lists consistent.
...
Thanks wim@ for the suggestion.
2013-06-03 10:06:48 -04:00
Tim Graham
61524b09cf
Fixed #18388 - Added InlineModelAdmin.get_max_num hook.
...
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work
on the patch.
2013-06-01 18:20:54 -04:00
Tim Graham
646a2216e9
Fixed #20326 - Corrected form wizard get_form() example.
...
Thanks tris@ for the report.
2013-05-31 08:07:40 -04:00
Claude Paroz
7882c3a673
Fixed #20511 -- Corrected link about isolation levels in databases docs
...
Thanks tinodb for the report.
2013-05-31 10:17:34 +02:00
Ramiro Morales
ac90aee55c
Tweak caching decorators/utility functions xrefs.
2013-05-30 20:38:44 -03:00
Tim Graham
36aecb12b8
Fixed #19425 - Added InlineModelAdmin.get_extra hook.
...
Thanks dave@ for the suggestion and Rohan Jain for the patch.
2013-05-30 13:48:10 -04:00
Tim Graham
5074c75a37
Fixed #16856 - Added a way to clear select_related.
...
Thanks Carl for the suggestion and David Cramer for the patch.
2013-05-30 11:06:05 -04:00
Gavin Wahl
e6ff238431
Fixed regroup example.
...
Chicago was missing.
2013-05-29 21:46:58 -04:00
Tim Graham
8a6e040bfa
Fixed #20525 -- Added versionadded for clearsessions.
...
Thanks wiml@.
2013-05-28 20:14:01 -04:00
Tim Graham
d321d1acf0
Fixed #20228 - Documented unique_for_date and exclude behavior.
...
Thanks Deepak Thukral for the patch.
2013-05-28 10:04:07 -04:00
Tim Graham
90af278203
Fixed #16137 - Removed kwargs requirement for QuerySet.get_or_create
...
Thanks wilfred@, poirier, and charettes for work
on the patch.
2013-05-27 10:01:14 -04:00
Baptiste Mispelon
08726cb013
Fix #20505 : Typo in BinaryField documentation.
2013-05-27 11:35:34 +02:00
Preston Holmes
d228c1192e
Fixed #19866 -- Added security logger and return 400 for SuspiciousOperation.
...
SuspiciousOperations have been differentiated into subclasses, and
are now logged to a 'django.security.*' logger. SuspiciousOperations
that reach django.core.handlers.base.BaseHandler will now return a 400
instead of a 500.
Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft
for review.
2013-05-25 16:27:34 -07:00
Tim Graham
fbab3209fc
Fixed #20492 - Removed a broken link in GIS docs.
2013-05-24 12:35:20 -04:00
Tim Graham
92c9052add
Merge pull request #1210 from alasdairnicol/jquery_cookie_plugin_link
...
Updated link to jQuery Cookie plugin site
2013-05-24 09:25:27 -07:00
Alasdair Nicol
81f454a322
Update link to jQuery Cookie plugin site
2013-05-24 14:36:17 +01:00
Paul Tax
fb1d813484
Link to active fork for ODBC backend
...
It took me quite some time to find if and where the ODBC backend was maintained.
I found (on djangoproject.com):
http://code.google.com/p/django-pyodbc/ (last commit about 3 years ago)
then:
https://github.com/avidal/django-pyodbc avidal fork.
then:
https://github.com/aurorasoftware/django-pyodbc/ aurorasoftware version which has avidal improvements merged.
Avidals version now links to https://github.com/aurorasoftware/django-pyodbc/ which is also the version installed through PIP.
2013-05-24 13:37:20 +03:00
Gavin Wahl
48424adaba
Fixed #17648 -- Add `for_concrete_model` to `GenericForeignKey`.
...
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.
Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
2013-05-23 19:03:14 -04:00
Claude Paroz
b664cb818d
Fixed #19237 (again) - Made strip_tags consistent between Python versions
2013-05-23 14:01:27 +02:00
Donald Stufft
3de1288042
Fixed #11398 - Added a pre_syncdb signal
2013-05-23 01:09:22 -04:00
Russell Keith-Magee
11b06532f7
Merge pull request #1198 from KrzysiekJ/http-patch-method
...
Fixed #20478 – Added support for HTTP PATCH method in generic views.
2013-05-22 17:19:43 -07:00
Tim Graham
8c2c178a09
Fixed a broken link introduced in a542b808ba
.
2013-05-22 08:51:16 -04:00
Krzysztof Jurewicz
ee8b810b97
Fixed #20478 – Added support for HTTP PATCH method in generic views.
2013-05-22 14:48:11 +02:00
Tim Graham
90a6c3aaf0
Merge pull request #1196 from selwin/last-doc-fix
...
Slightly reworded 'last()' docs
2013-05-21 17:35:33 -07:00
Aymeric Augustin
5d16456991
Fixed #20476 -- Typo.
2013-05-21 21:29:14 +02:00
Selwin Ong
375e275030
Slightly reworded 'last()' docs.
2013-05-21 23:18:35 +07:00
Selwin Ong
ea9a0857d4
Fixed #19326 -- Added first() and last() methods to QuerySet
2013-05-21 18:52:28 +03:00
Wiktor Kolodziej
cec9558fba
Fixed #17308 -- Enabled the use of short_description on properties in the admin.
2013-05-21 13:19:18 +02:00
Łukasz Langa
a542b808ba
Removed a confusing duplicate SESSION_COOKIE_DOMAIN header
...
The note is clearly a part of MESSAGE_STORAGE documentation. As a separate
section, it broke automatic link generation on the HTML version of the
documentation.
2013-05-21 00:53:40 +02:00
Tim Graham
d9d24c4521
Fixed warnings in admindocs; refs #20126 .
2013-05-20 10:17:49 -04:00
Alasdair Nicol
428875775c
Fix typo in redirect view docs
2013-05-20 00:59:17 +02:00
Tim Graham
e83ff42792
Fixed #20459 - Improved example for setting HTTP header fields.
...
Thanks Jérémie Blaser.
2013-05-19 12:30:53 -04:00