Commit Graph

1893 Commits

Author SHA1 Message Date
Phaneendra Chiruvella e8bb41d05c [1.6.x] Minor typo fix in django.contrib.auth.models.User docs
Backport of bd72c2acb6 from master
2013-09-11 19:44:35 -04:00
Tim Graham b05639dcac [1.6.x] Fixed #20887 -- Added a warning to GzipMiddleware in light of BREACH.
Thanks EvilDMP for the report and Russell Keith-Magee
for the draft text.

Backport of da843e7dba from master
2013-09-11 08:18:48 -04:00
oz123 960f5bc759 [1.6.x] Fixed #21075 - Improved doc for calling call_command with arguments.
Backport of fca4c4826e from master
2013-09-10 09:18:14 -04:00
Tim Graham 01ad508514 [1.6.x] Fixed spelling; refs #16895.
Thanks Panagiotis Issaris for the report.

Backport of fb51c9a0f2 from master
2013-09-09 11:31:25 -04:00
e0ne 276e053803 [1.6.x] Fixed #16895 -- Warned about cost of QuerySet ordering
Thanks outofculture at gmail.com for the suggestion.

Backport of cbf08c6b0c from master
2013-09-09 09:49:15 -04:00
Aymeric Augustin 01edcf70f2 Fixed #20409 -- Clarified how unique_for_date works when USE_TZ is set. 2013-09-07 14:09:52 -05:00
Tim Graham 7b8037f3aa [1.6.x] Fixed #20005 -- Documented that Oracle databases need execute permission on SYS.DBMS_LOB.
Thanks jafula for the suggestion.

Backport of a86ecc80a2 from master
2013-09-07 14:01:05 -04:00
Keith Edmiston a357c854c9 [1.6.x] Fixed #16992 -- Added InnoDB warning regarding reuse of AUTO_INCREMENT values.
Thanks kent at nsc.liu.se for the report.

Backport of c54fa1a7bc from master
2013-09-07 12:16:43 -04:00
Keith Edmiston 2c73ba88f2 [1.6.x] Fixed #19295 -- Documented that CachedStaticFilesStorage isn't compatible with runserver --insecure.
Backport of 028db97503 from master
2013-09-06 17:30:59 -04:00
Eric Boersma 180b9955cc [1.6.x] Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.

Backport of 4d13cc56de from master
2013-09-05 20:16:14 -04:00
Tim Graham 1dd061ad77 [1.6.x] Fixed #21044 -- Documented django.core.urlresolvers.Resolver404
Thanks Keryn Knight for the suggestion.

Backport of eacf060e01 from master
2013-09-05 08:45:58 -04:00
Tim Graham cda4fc8225 [1.6.x] Fixed #20958 -- Documented that GenericForeignKey fields can't be accessed in forms.
Thanks marky1991.

Backport of 533d1ab334 from master
2013-09-04 13:19:32 -04:00
Paul C. Anagnostopoulos fe0eb2f995 [1.6.x] Clarified docs for some tags and filters
Backport of 1ccdc08189 from master
2013-09-04 13:04:51 -04:00
Loic Bistuer a62b640f7d [1.6.x] Fixed #20973 -- Document serving static files without django.contrib.staticfiles
Backport of 7b04038a7f from master
2013-09-03 09:01:43 -04:00
Claude Paroz 4e3794dd1f [1.6.x] Fixed #20998 -- Allow custom (de)serialization for GIS widgets
Thanks Mathieu Leplatre for the report and the initial patch.
Backport of 102f26c92 from master.
2013-09-02 13:34:26 +02:00
Claude Paroz 68ae9f39b7 [1.6.x] Fixed copy/paste error in measurement docs
Backport of e87997dd33 frmo master.
2013-08-31 10:33:46 +02:00
Tim Graham 0089a9a854 [1.6.x] Fixed typo in docs/ref/models/options.txt
Backport of a89c856a7a from master
2013-08-30 21:07:04 -04:00
Anssi Kääriäinen 76e38a2177 [1.6.x] Fixed #20988 -- Added model meta option select_on_save
The option can be used to force pre 1.6 style SELECT on save behaviour.
This is needed in case the database returns zero updated rows even if
there is a matching row in the DB. One such case is PostgreSQL update
trigger that returns NULL.

Reviewed by Tim Graham.

Refs #16649

Backport of e973ee6a98 from master

Conflicts:
	django/db/models/options.py
	tests/basic/tests.py
2013-08-30 09:47:34 +03:00
Jorge C. Leitão 60df34d477 [1.6.x] Added links to file docs.
Backport of d72f83c410 from master
2013-08-29 12:49:27 -04:00
Ramiro Morales 2a166623a6 [1.6.x] Typos introduced in 57c82f909b. 2013-08-22 22:33:59 -03:00
Tim Graham 5f061986b9 [1.6.x] Fixed #20922 -- Allowed customizing the serializer used by contrib.sessions
Added settings.SESSION_SERIALIZER which is the import path of a serializer
to use for sessions.

Thanks apollo13, carljm, shaib, akaariai, charettes, and dstufft for reviews.

Backport of b0ce6fe656 from master
2013-08-22 17:55:01 -04:00
Marc Tamlyn 8d02c378ab [1.6.x] Fixed #20944 -- Removed inaccurate statement about View.dispatch().
Backport of bac4d03ce6 from master
2013-08-22 09:21:28 -04:00
Ramiro Morales 26a4c83598 [1.6.x] Made description of LANGUAGE_CODE setting more clear.
297f5af222 from master.
2013-08-22 08:29:59 -03:00
Kevin Christopher Henry 69a4594cb7 [1.6.x] Documentation -- Corrected error about Model.full_clean()
Although the ModelForm validation code was changed to call
Model.full_clean(), the documentation still said otherwise. The
offending phrase was removed.

Backport of bb011cf809 from master
2013-08-21 17:46:18 -04:00
Kevin Christopher Henry e7d4d41a30 [1.6.x] Documentation - Noted that OneToOneField doesn't respect unique.
Added OneToOneField to the list of model fields for which the unique
argument isn't valid. (OneToOneFields are inherently unique, and if
the user supplies a value for unique it is ignored / overwritten.)
2013-08-20 21:20:55 -07:00
Alasdair Nicol 52741004f6 [1.6.x] Updated docs following deprecation of django.views.defaults.shortcut
Follows 3f2befc

Backport of 354009d67e from master
2013-08-15 07:07:15 -04:00
Tim Graham 8bd5251fd5 [1.6.x] Added some doc links for django.contrib.messages
Backport of b6178fa24b from master
2013-08-14 12:58:19 -04:00
Tim Graham 7c5d43eea0 [1.6.x] Added an anchor for django.forms.Form.clean in docs
Backport of 8442268869 from master
2013-08-08 14:14:14 -04:00
Jaime Irurzun 7836bd502c [1.6.x] Clarifed meaning of models.User.is_authenticated()
Backport of f96fe3cd1e from master
2013-08-08 10:27:34 -04:00
Daniele Procida 9cc7407f2c [1.6.x] Added more on @cached_property, refs #20870
Backport of 7e6af9d40c from master
2013-08-08 09:47:24 -04:00
Daniele Procida 25ce1e0e0a [1.6.x] Fixed #20870 -- Documented django.utils.functional.cached_property
Backport of 7a2296eb5b from master
2013-08-08 05:36:52 -04:00
Christopher Medrela 6264e39c34 [1.6.x] Added note to GenericIPAddressField documentation
refs #20484

Backport of fb26c4996a from master
2013-08-08 05:17:54 -04:00
Jimmy Song ea7bef318f [1.6.x] Fixed #20859 - Clarified Model.clean() example.
Backport of 94d7fed775 from master
2013-08-05 09:06:36 -04:00
Julien Phalip 7cc91eae7c [1.6.x] Fixed a small formatting issue.
Backport 0b071ba7df of from master.
2013-08-04 17:33:00 -07:00
Tim Graham 7a5f799193 [1.6.x] Fixed #20860 -- Removed references to defunct chicagocrime.org
Backport of 1593a86494 from master
2013-08-04 14:46:41 -04:00
Daniele Procida 74205c4a3c [1.6.x] Fixed #20842 and #20845 - Added a note on order_by() and improved prefetch_related() docs.
Backport of e8183a8193 from master
2013-08-04 12:35:31 -04:00
Dominic Rodger e710f6dc56 [1.6.x] Fixed #20786 -- Cleaned up docs/ref/exceptions.txt
Thanks Daniele Procida for the suggestion and edits.

Backport of 920b242e30 from master
2013-08-02 09:43:20 -04:00
Tim Graham b3e54f4a01 [1.6.x] Removed unused model option "admin"
Backport of 5df84b268d from master
2013-08-01 12:33:19 -04:00
SusanTan bc617fd42c [1.6.x] Fixed #20779 -- Documented AdminSite.app_index_template; refs #8498.
Thanks CollinAnderson for the report.

Backport of 7de35a9ef3 from master
2013-07-31 07:09:37 -04:00
Tim Graham e82846a9aa [1.6.x] Fixed #20823 -- Typo in docs/ref/forms/validation.txt
Backport of 05ea5a2139 from master
2013-07-29 18:42:22 -04:00
minusf 518faa19c1 [1.6.x] Misc doc cleanups.
Backport of 70c080fcdb from master
2013-07-29 07:06:29 -04:00
Tim Graham dbbd2b1272 [1.6.x] Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.
Thanks CollinAnderson for the report.

Backport of 8676318d2d from master
2013-07-26 14:47:58 -04:00
Aymeric Augustin efdf7442bb [1.6.x] Added versionadded directive missing from b7bd708.
Backport of 5ed7ec9 from master.
2013-07-25 20:16:02 +02:00
mark hellewell ec6928be34 [1.6.x] Fixed #18315 -- Documented QueryDict.popitem and QueryDict.pop
Thanks gcbirzan for the report.

Backport of 8c9240222f from master
2013-07-25 11:08:47 -04:00
Brenton Cleeland 7604749871 [1.6.x] Fixed #20792 -- Corrected DISALLOWED_USER_AGENTS docs.
Thanks simonb for the report.

Backport of dab52d99fc from master
2013-07-25 07:39:36 -04:00
Matt Deacalion Stevens 9b26cb72d9 [1.6.x] Updated the `databases` documentation
+ Removed a reference about MySQL storage engines also being
   called 'table types', as this term has been deprecated for
   8 years and is no longer used.

 + Fixed the link to the official InnoDB storage engine docs.

 + Apache (versions >= 2.4) will always choose a multi-threaded
   MPM module on modern operating systems (later than 2002).

Backport of fa217d14a0 from master
2013-07-19 06:31:38 -04:00
Matt Deacalion Stevens fcd5f3a8d9 [1.6.x] Atom specification URL updated
Changed to the URL of the official RFC for Atom, since Atomenabled.org
is just a holding page.

Backport of beefc97171 from master
2013-07-18 08:47:58 -04:00
Alasdair Nicol 9d9f670d93 [1.6.x] Fixed typo in inspectdb docs
Backport of 1131d4191f from master
2013-07-18 07:46:42 -04:00
Tim Graham 3d25f592fe [1.6.x] Fixed some markup in docs/ref/templates/api.txt
Backport of 862a04a56d from master
2013-07-15 11:31:38 -04:00
Claude Paroz db33b25e86 [1.6.x] Fixed #20582 -- Allowed default Form.label_suffix to be translated
Thanks Tim Graham for the review.
Backport of 7557207983 from master.
2013-07-13 16:20:09 +02:00
Tim Graham b30a872973 [1.6.x] Fixed #20653 -- Renamed checksetup -> check missed in [03465639]
Thanks CollinAnderson for the report.

Backport of a7d97a6778 from master
2013-07-12 12:50:53 -04:00
Tim Graham 1c8e539a77 [1.6.x] Fixed #17528 -- Documented that add() and remove() with a many-to-many relationship do not call Model.save()
Backport of 3cdeb572d7 from master
2013-07-12 06:22:19 -04:00
Christopher Medrela 9bb04b1a6b [1.6.x] Fixed #20735 -- clarified ManyToManyField constructor doc
Backport of ac223ff6d1 from master
2013-07-12 06:06:17 -04:00
Tim Graham f93b2fe7e6 [1.6.x] Fixed #20733 -- Typo in docs/ref/class-based-views/generic-display.txt
Thanks ijl20@ for the report.

Backport of ecd746191c from master
2013-07-11 07:37:42 -04:00
James Bennett b2afe39663 [1.6.x] Fixed #19695 -- Retitle "Form Media" to "Form Assets".
Backport of c0f03175ce from master
2013-07-08 14:09:02 -04:00
Tim Graham cf8d0933cb [1.6.x] Fixed #12346 -- Added a note on how to validate InlineFormSets.
Thanks johnsmith for the suggestion.

Backport of 181f63c22d from master
2013-07-08 08:31:46 -04:00
Claude Paroz a9dd6221af [1.6.x] Fixed #20224 -- Update docs examples which mention __unicode__
Thanks Marc Tamlyn and Tim Graham for the review.
Backport of 7442eb1a24 from master.
2013-07-05 19:30:08 +02:00
Tim Graham 430aae1b0d [1.6.x] Fixed #20561 -- Emphasized that QuerySet.distinct([*fields]) is only supported by Postgres.
Thanks jtiai for the suggestion.

Backport of 577b0f9189 from master.
2013-07-05 07:21:13 -04:00
Tim Graham 23748c483b [1.6.x] Fixed #20673 -- Clarified that HttpRequest.user uses AUTH_USER_MODEL.
Thanks littlepig for the report.

Backport of f407f75aae from master.
2013-07-04 09:34:02 -04:00
Tim Graham 9687e387d8 [1.6.x] Fixed #12579 -- Noted QuerySet.get_or_create() depends on database unique constraints.
Thanks timmolendijk, jdunck, vijay_shanker, and loic84.

Backport of 428de2e339 from master.
2013-07-04 08:32:49 -04:00
Tim Graham b36f55c5a5 [1.6.x] Fixed #20691 -- Added a note for __str__() vs. __unicode__() and Python 3.
Thanks garrison for the suggestion.

Backport of 8a679386c3 from master.
2013-07-03 08:46:05 -04:00
Tim Graham 5ecdf0eb9c [1.6.x] A couple more semicolon -> colon fixes; refs #18134.
Backport of 3632d289de from master.
2013-07-02 14:16:22 -04:00
Tim Graham b930733a67 [1.6.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.
Thanks Riley Strong for the report.

Backport of 3fd0ee5b46 from master
2013-06-29 14:16:36 -04: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
Preston Holmes 6786920fd8 Fixed #16330 -- added --pks option in dumpdata command
Thanks to guettli for the initial ticket and patch, with additional work
from mehmetakyuz and Kevin Brolly.
2013-05-19 09:10:40 -07:00
Bozidar Benko 2d309a7043 Fixed #15961 -- Modified ModelAdmin to allow for custom search methods.
This adds a get_search_results method that users can override to
provide custom search strategies.

Thanks to Daniele Procida for help with the docs.
2013-05-19 16:45:00 +02:00
Marc Tamlyn c6855e8a70 Merge pull request #1162 from sspross/patch-docs
Add needed Imports to the Documentation, Part II
2013-05-19 05:26:13 -07:00
Pablo Recio 65f9e0affd Fixes #18896. Add tests verifying that you can get IntegrityErrors using get_or_create through relations like M2M, and it also adds a note into the documentation warning about it 2013-05-19 14:16:12 +02:00
vkuzma 1fe587d80b Add missing imports and models to the examples in the admin documentation 2013-05-19 13:35:19 +02:00
leandrafinger 08b501e7d3 add missing imports to the examples in the 'Forms' 2013-05-19 13:31:45 +02:00
Silvan Spross 6a479955f0 Add missing imports and models to the examples in security documentation 2013-05-19 13:29:49 +02:00
Silvan Spross 7264e5c661 Add missing imports and models to the examples in the template layer documentation 2013-05-19 13:29:38 +02:00
Łukasz Langa 660762681c Fixed #20126 -- XViewMiddleware moved to django.contrib.admindocs.middleware 2013-05-19 13:18:35 +02:00
Aymeric Augustin cb86f707a0 Fixed #12747 -- Made reason phrases customizable. 2013-05-19 13:14:54 +02:00
Marc Tamlyn 886f7cc751 Merge pull request #1098 from zsiciarz/ticket-16829
Added example of using sitemaps with static views.
2013-05-19 03:27:33 -07:00
bbjay 56d6fdbbf5 Fixed #20452 -- Rename 'headers' to 'header fields'. 2013-05-19 11:48:57 +02:00
Marc Tamlyn 33c361ef9d Merge pull request #1129 from frog32/master
Add needed Imports to the Documentation
2013-05-19 01:37:25 -07:00
Ramiro Morales 0a50311063 Fixed #20004 -- Moved non DB-related assertions to SimpleTestCase.
Thanks zalew for the suggestion and work on a patch.

Also updated, tweaked and fixed testing documentation.
2013-05-18 19:04:34 -03:00
Silvan Spross cd72c55d86 Add missing imports and models to the examples in the view layer documentation 2013-05-18 18:39:11 +02:00
Marc Egli e4591debd1 Add missing imports and models to the examples in the the model layer documentation 2013-05-18 18:38:52 +02:00