Matt Austin
a929adfd3b
[1.6.x] Fixed #21095 -- Documented new requirement for dates lookups.
...
Day, month, and week_day lookups now require time zone definitions in the database.
Backport of 9451d8d
from master.
2013-09-13 10:20:13 +02:00
Ramiro Morales
66e6e2d146
[1.6.x] Fixed a couple of typos in GeoDjango docs.
...
8b366a50f4
from master.
2013-09-12 19:45:27 -03:00
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
Kevin Christopher Henry
4f0ea1aca4
[1.6.x] Documentation -- Improved description of cache arguments
...
- Fixed some grammar and formatting mistakes
- Added the type and default for CULL_FREQUENCY
- Made the note on culling the entire cache more precise. (It's actually
slower on the filesystem backend.)
Backport of 5eca021d48
from master
2013-09-11 07:43:24 -04:00
Tim Graham
2f2731e67e
[1.6.x] Added 1.4.7/1.5.3 release notes
...
Backport of baec6a26dd
from master
2013-09-10 21:08:27 -04:00
Tarjei Husøy
ef3604a085
[1.6.x] Fixed broken sphinx reference to staticfiles.
...
Backport of 751dc0a36b
from master
2013-09-10 16:31:51 -04:00
Aymeric Augustin
f9f792eb04
[1.6.x] Took advantage of django.utils.six.moves.urllib.*.
...
Backport of 6a6428a36
from master.
2013-09-10 21:29:31 +02: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
Tim Graham
c03848b540
[1.6.x] Fixed #21068 -- Added some docs for DiscoverRunner
...
Thanks jcd.
Backport of e4b012feeb
from master
2013-09-07 16:11:03 -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
Tim Graham
17b67e17a3
[1.6.x] Fixed #20938 -- Added cached sessions note to deployment checklist.
...
Thanks mjtamlyn for the suggestion.
Backport of 4e784f337c
from master
2013-09-07 13:08:45 -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
Tim Graham
2ab2d0fb25
[1.6.x] Fixed a link in topics/testing/overview.txt
...
Backport of 0c295a7718
from master
2013-09-06 17:41: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
Tim Graham
da44a8bdc2
[1.6.x] Fixed #20646 -- Clarified the use of AbstractBaseUser.REQUIRED_FIELDS
...
Thanks craigbruce.
Backport of db3de52807
from master
2013-09-06 16:06:46 -04:00
Tim Graham
544382dd85
[1.6.x] Fixed instructions for running a subset of tests.
...
Backport of cd4068f359
from master
2013-09-06 14:31:43 -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
micahhausler
9f69ae7847
[1.6.x] Fixed #21047 -- Added CLA mesage on the new contributor advice doc
...
Backport of 93dd31cadf
from master
2013-09-05 17:54:56 -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
622d5c7650
[1.6.x] Fixed #20900 -- Documented RemoteUserBackend.authenticate
...
Backport of 7b62b80693
from master
2013-09-05 06:32:50 -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
Aymeric Augustin
115318051c
[1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0.
...
Conflicts:
django/db/backends/oracle/base.py
django/db/backends/sqlite3/base.py
django/db/models/base.py
Backport of 365c3e8b
from master.
2013-09-03 07:34:45 -05:00
Tim Graham
c0fb6bdde3
[1.6.x] Fixed #21002 -- Documented JSON session serialization requires string keys
...
Thanks jeroen.pulles at redslider.net for the report.
Backport of 3baf1d1042
from master
2013-09-03 07:49:59 -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
Loic Bistuer
64383e8349
[1.6.x] Made the doc about translating string literals in templates more prominent.
...
Backport of 9885f07757
from master
2013-08-31 08:00:33 -04: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
Carl Meyer
21a3efcf48
[1.6.x] Fixed #20999 - Allow overriding formfield class with choices, without subclass restrictions.
...
Refs #18162 . Thanks claudep and mjtamlyn for review.
Backport of 7211741fc5
from master.
2013-08-30 17:45:14 -06: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
Phaneendra Chiruvella
68eca2b36f
[1.6.x] Minor spelling correction in ModelForms docs
...
Backport of 2fbf949760
from master
2013-08-28 07:12:38 -04:00
Krzysztof Jurewicz
544a190ebf
[1.6.x] Fixed #20981 -- Noted the default value of disable_existing_loggers.
...
Backport of 095643e691
from master
2013-08-27 10:27:44 -04:00
Jan Böcker
c4e2e4f630
[1.6.x] Fixed typo in docs/topics/conditional-view-processing.txt
...
Backport of 5fd2c979cb
from master
2013-08-27 09:22:31 -04:00
Matt Robenolt
28026c3e26
[1.6.x] Updated instructions for running contrib tests.
...
Backport of 08e7a64369
from master
2013-08-27 08:24:31 -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
Kevin Christopher Henry
bf9382fb02
[1.6.x] Documentation -- Clarified use of 'view' in test client introduction.
...
Backport of 2e926b041c
from master
2013-08-22 09:39:14 -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
Florian Apolloner
12d364a9b0
[1.6.x] Fixed #20933 -- Allowed loaddata to load fixtures from relative paths.
...
Backport of 6e846f7627
from master.
2013-08-20 21:28:14 +02:00
Tim Graham
7825fb8788
[1.6.x] Fixed #20891 -- Removed part of the tutorial that requires pytz
...
Thanks AtomicSpark for the report.
Backport of 55339a7669
from master
2013-08-15 15:31:57 -04:00
James Bennett
d2419bb2b8
[1.6.x] Added release date to 1.5 release notes.
...
Forwardport of 61283a8208
from 1.5.x
2013-08-15 07:41:53 -04: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
529afa7138
Added 1.4.6/1.5.2 release notes.
2013-08-13 11:17:07 -05:00
Tim Graham
4f470f5186
[1.6.x] Added missing release notes for older versions of Django
...
Backport of 3f6cc33cff
from master
2013-08-12 14:07:58 -04:00
Tim Graham
43f12f368b
[1.6.x] Fixed #20890 -- Added missing import in class-based view docs.
...
Thanks André Augusto.
Backport of ab680725bf
from master
2013-08-10 18:08:27 -04:00
Tim Graham
2cd1439c06
[1.6.x] Fixed #20868 -- Added an email to django-announce as a security step.
...
Thanks garrison for the report.
Backport of 5737c57d95
from master
2013-08-09 16:02:54 -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
Leandro Regueiro
4c90081b5b
[1.6.x] Added section labels in cache docs
...
Backport of 709cd2c4b7
from master
2013-08-06 11:56:31 -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
Tim Graham
06f484dcf9
[1.6.x] Fixed #20862 -- Updated startproject MIDDLEWARE_CLASSES in docs.
...
Thanks Keryn Knight.
Backport of 26c4bd38ac
from master
2013-08-05 08:16:56 -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
Julien Phalip
59bf42f79e
[1.6.x] Added a note to the 1.6 release about the new `--keep-pot` option for `makemessages`.
...
Refs #17008 .
Backport of 28d3b33c04
from master.
2013-08-04 17:20:22 -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
Justin Michalicek
77293f9354
[1.6.x] Fixed #20855 -- Added documentation of current_app and extra_context params to django.contrib.auth views
...
refs #5298 and refs #8342
Backport of 61ecb5f48a
from master
2013-08-04 08:05:36 -04:00
Tim Graham
01a9604274
[1.6.x] Fixed #20858 -- Removed erroneous import in tutorial 2.
...
Thanks AtomicSpark.
Backport of b278f7478d
from master
2013-08-04 05:59:24 -04:00
Alasdair Nicol
ccef8b2aa2
[1.6.x] Added missing request argument to example in URL dispatcher docs
...
Backport of a0c58113b9
from master
2013-08-03 19:36:15 -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
Tim Graham
d32471f8c2
[1.6.x] Added a bugfix in docutils 0.11 -- docs will now build properly.
...
Backport of a3a59a3197
from master
2013-07-31 09:26:11 -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
minusf
5f8bf4368d
[1.6.x] Allowed overriding variables in docs/Makefile.
...
Backport of c694e6220e
from master
2013-07-29 06:52:42 -04:00
Jannis Leidel
c456a27725
[1.6.x] Fixed #20774 -- Mention the new django-localflavor app as a replacement for the contrib app. Backport from master.
2013-07-29 12:05:47 +02:00
Tim Graham
192154fb17
[1.6.x] Fixed ReST typo in topics/class-based-views/mixins.txt
...
Backport of 0b35a2cce3
from master
2013-07-28 14:10:11 -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
Tim Graham
68c01e15a5
[1.6.x] Fixed #20769 -- Added "Python compatibility" section to the 1.6 release notes.
...
Backport of bddb4a6818
from master
2013-07-25 13:04:18 -04: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
Jon Lønne
cd46463eb1
[1.6.x] Fixed typo in Custom management commands documentation.
...
Backport of 5a5d594717
from master
2013-07-24 07:33:49 -04:00
Dominic Rodger
45d5a4e7d2
[1.6.x] Fixed #20794 -- Documented changes to validate_email
...
4e2e8f39d
changed the way validate_email behaves for foo@localhost
email addresses, but wasn't listed in the release notes.
Backport of c928725b9
from master.
2013-07-24 10:27:34 +02:00
Sergio Oliveira
496f319970
[1.6.x] LocaleMiddleware isn't default anymore (corrected docs)
...
Changed in @23229061fcb836ecca2195cc75f91e331279a5d1
Backport of cf6c754629
from master
2013-07-19 06:36:26 -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
e7435fbe2f
[1.6.x] Fixed Croatia's country code in `localflavor` docs
...
Backport of 97e5398629
from master
2013-07-19 05:30:55 -04:00
Loic Bistuer
b7556a4980
[1.6.x] Fixed #20772 -- Fixed minor typo in form media docs.
...
Backport of aa41eb9b8b
from master
2013-07-19 05:19:46 -04:00
Tim Graham
579ca9ee8d
[1.6.x] Fixed #20762 -- Clarified that add_fieldsets is not a standard ModelAdmin attribute.
...
Backport of dce8945ea6
from master
2013-07-18 12:41:51 -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
Tim Graham
1641aa7119
[1.6.x] Fixed #20763 -- Typo in tutorial 3.
...
Thanks crichard@ for the report.
Backport of fd95dc9e27
from master
2013-07-18 08:06:50 -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
0db3c45f80
[1.6.x] Fixed #20756 -- Typo in uWSGI docs.
...
Backport of a3242dc9fe
from master
2013-07-17 06:51:34 -04:00
Loic Bistuer
ed473d61e5
[1.6.x] Reworked docs for ModelForm validation.
...
Backport of fba6c2ede7
from master
2013-07-16 19:21:55 -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
David Binetti
f8fd38b560
[1.6.x] Fixed grammatical error in auth docs
...
Backport of 51b50c47c7
from master
2013-07-14 12:35:26 -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
fe0a563f81
[1.6.x] Fixed #20730 -- Fixed "Programmatically creating permissions" error.
...
Thanks glarrain for the report.
Backport of 684a606a4e
from master
2013-07-11 11:07:51 -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
Tim Graham
2e3250fc90
[1.6.x] Added some missing test requirements in the docs; refs #19196
...
Backport of 77856dc875
from master
2013-07-10 12:02:56 -04:00
Tim Graham
aecbaaed0c
[1.6.x] Fixed #19196 -- Added test/requirements
...
Backport of 4d92a0bd86
from master.
2013-07-10 09:37:15 -04:00
SusanTan
c1b24b09f4
[1.6.x] Fixed #18261 -- Clarified 'project root directory'
...
Backport of ef3fddf26e
from master
2013-07-09 07:16:31 -04:00
Tim Graham
f03398a246
[1.6.x] Fixed #18944 -- Documented PasswordResetForm's from_email argument as a backwards incompatible change for 1.3
...
Thanks DrMeers for the report.
Backport of dab921751d
from master
2013-07-08 15:06:31 -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
730069197f
[1.6.x] Fixed #16965 -- Clarified Formset can_delete docs.
...
Thanks gregcorey@ for the suggestion.
Backport of 660c30ed95
from master
2013-07-08 12:21:25 -04:00
Tim Graham
67a6b5e53f
[1.6.x] Fixed #20493 -- Added a warning that objects may not be picklable across Django versions
...
Thanks cataliniacob for the suggestion and review.
Backport of 1084575163
from master
2013-07-08 09:59: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
Tim Graham
a22b2aea19
[1.6.x] Fixed #14006 -- Documented that Field's 'description' attribute is interpolated with field.__dict__
...
Thanks abeld for the suggestion.
Backport of 2d96e660f9
from master.
2013-07-06 18:34:29 -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
14a5b79e29
[1.6.x] Fixed #19539 -- Updated custom model fields example for Python 3.
...
Thanks astorije@ for the report.
Backport of b9fceadfd4
from master.
2013-07-05 06:54:34 -04:00
hekevintran
80dc8175a6
[1.6.x] fixed grammar
...
Backport of 62a826ab31
from master.
2013-07-05 10:58:35 +01:00
Tim Graham
541a30c376
[1.6.x] Fixed #20134 -- Correct list of fields that UserManager requires.
...
Thanks semenov and pegler.
Backport of da5069f68f
from master.
2013-07-04 10:20:02 -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
25b9939fed
[1.6.x] Fixed #20690 -- Mentioned LOCALE_PATHS earlier in translation docs.
...
Thanks rene@ for the suggestion.
Backport of 231e31c690
from master.
2013-07-04 05:45:16 -04:00
SusanTan
75041d5ea3
[1.6.x] Fixed #20609 -- Documented how to use request.user with RequestFactory
...
Thanks michel@ for the suggestion.
Backport of 067e0424ce
from master.
2013-07-03 11:11:04 -04:00
Tomáš Ehrlich
2f9e5483f6
[1.6.x] Fixed #20687 -- Added documentation for django.core.signing API.
...
Thanks Baptiste Mispelon for the suggestion.
Backport of c5bc98d7e1
from master.
2013-07-03 10:38:53 -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
Baptiste Mispelon
e03a88ba21
[1.6.x] Fixed #20659 -- Fixed PublisherDetail in CBV topic documentation.
...
Backport of 88de53d4a8
from master.
2013-07-01 14:10:03 +02:00
Aymeric Augustin
0de21a6a7a
Stopped branding Python 3 support as experimental.
2013-07-01 11:52:00 +02:00
Aymeric Augustin
c1d8f3b207
Updated FAQ on Python versions to explain 2 vs 3.
...
Required the latest version for each Python series to minimize
bookkeeping in the future.
2013-07-01 11:48:58 +02:00
Tim Graham
3493f18d78
[1.6.x] Fixed #20667 - Removed discussion of DEBUG from tutorial.
...
Backport of 0d642aac86 from master.
2013-06-30 14:56:10 -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
Florian Apolloner
7bd9c32f14
[1.6.x] Fixed 1.6 release notes.
...
Backport of adc6f38867
from master.
2013-06-29 10:52:11 +02:00
Simon Charette
e628753e7d
[1.6.x] Added missing deprecation note for model permission methods.
...
refs #20642 .
Backport of e1dd24d2f
from master.
2013-06-28 15:49:40 -04:00
Claude Paroz
dc99128343
[1.6.x] Updated FAQ to reflect official Python 3 support
...
Backport of 8809da67a
from master.
2013-06-28 16:39:50 +02:00
Claude Paroz
ec2a102d84
[1.6.x] Updated FAQ entry about python 3
...
Backport of 94f420ef4
from master.
2013-06-28 16:28:02 +02:00
Baptiste Mispelon
5caced89e0
Fixed missing slash in reusable apps tutorial.
2013-06-28 09:43:14 +02: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
Aymeric Augustin
c1284c3d3c
Fixed #20571 -- Added an API to control connection.needs_rollback.
...
This is useful:
- to force a rollback on the exit of an atomic block without having to
raise and catch an exception;
- to prevent a rollback after handling an exception manually.
2013-06-27 22:19:54 +02: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
Andrew Godwin
e26b589b8c
Fixed #20590 : Documented new test case ordering
2013-06-27 14:02:00 +01: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
Trey Hunner
2ec54e7fbc
Add missing preposition in documentation
2013-06-26 10:25:34 -07: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
Loic Bistuer
c6862d57c1
Fixed #20658 -- Fixed bad reST formatting and missing parentheses in the docs for CBV mixins
...
Thanks to Keryn Knight for the report.
2013-06-26 14:07:52 +02:00
Simon Charette
b91787910c
Fixed #20642 -- Deprecated `Option.get_(add|change|delete)_permission`.
...
Those methods were only used by `contrib.admin` internally and exclusively
related to `contrib.auth`. Since they were undocumented but used
in the wild the raised deprecation warning point to an also undocumented
alternative that lives in `contrib.auth`.
Also did some PEP8 and other cleanups in the affected modules.
2013-06-25 12:22:37 -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
Russell Keith-Magee
0346563939
Fixed #20653 -- Renamed checksetup management command.
...
This is to allow future compatibility with work that is ongoing in the 2013 GSoC.
2013-06-25 09:37:54 +08:00
Tim Graham
e161e4ff11
Clarified get_list_or_404 docs, refs #14150 .
2013-06-24 07:00:53 -04: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
Baptiste Mispelon
cd000dacc7
Fixed #20643 -- Fixed implementation of JSONResponseMixin in CBV docs
...
Thanks to Michal Sládek for the report and initial patch,
and to loic84 for the review.
2013-06-24 11:55:43 +02:00
Simon Meers
6466a0837b
Corrected minor typos in FileUploadHandler.receive_data_chunk docs.
2013-06-24 13:59:03 +10:00
SusanTan
b0907d66a5
Fixed #20524 - Described keywords in triaging contrib doc.
2013-06-23 15:41:24 -04:00
Baptiste Mispelon
bd9fbd1497
Fixed errors and inconsistencies in CBV topic documentation.
...
The code examples should now work correctly.
The `get_context_data` method in the examples was changed when
necessary to adopt a singular style (get context with super(...),
add the extra keys to the dict then return it).
Thanks to Remco Wendt for the initial report and to Tim Graham
for the review.
2013-06-23 00:18:23 +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
Baptiste Mispelon
b53ed5ac55
Fixed #20612 -- Fixed incorrect wording in CBV documentation
...
Thanks to ndokos for the report.
2013-06-21 17:50:43 +02:00
Tim Graham
7314007c5b
Fixed #19319 -- Updated example httpd.conf for Apache 2.4
...
Thanks colinnkeenan@ for the report.
2013-06-20 13:34:02 -04:00
Tim Graham
6ef199a08e
Fixed error in last commit. Thanks Simon Charette.
2013-06-20 10:41:29 -04:00
Harm Geerts
df4a74d709
Modified tutorial 3 to use RequestContext in place of Context.
2013-06-20 09:58:01 -04:00
Loic Bistuer
7462a78c1b
Fixed #20288 -- Fixed inconsistency in the naming of the popup GET parameter.
...
Thanks to Keryn Knight for the initial report and reviews,
and to tomask for the original patch.
2013-06-19 22:16:16 +02:00
Baptiste Mispelon
b0b506b933
Fixed broken reference in documentation.
2013-06-19 10:37:24 +02: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 Mispelon
b6f86fbeb1
Added myself to the commiters list.
2013-06-17 12:30:41 +02:00
Baptiste Darthenay
39b245fd76
Fixed #20614 -- Typo in documentation.
2013-06-17 11:35:07 +02:00
Baptiste Mispelon
1b7634a0d0
Fixed #20464 -- Added a `total_error_count` method on formsets.
...
Thanks to frog32 for the report and to Tim Graham for the review.
2013-06-16 15:49:30 -04: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
Tim Graham
a1122e14a6
Fixed #20604 - Fixed file example in docs.
...
Thanks Chris Lasher for the report.
2013-06-14 21:28:17 -04: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
Daniel Lindsley
91f317c76d
Added a ``checksetup`` management command for verifying Django compatibility.
2013-06-13 18:39:02 -07: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
Danilo Bargen
cd7d7452bc
Fixed order of base classes in CBV mixin docs
2013-06-13 14:59:13 +02: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
Aymeric Augustin
55cbd65985
Fixed #20579 -- Improved TransactionTestCase.available_apps.
...
Also moved its documentation to the 'advanced' section. It doesn't
belong to the 'overview'. Same for TransactionTestCase.reset_sequences.
When available_apps is set, after a TransactionTestCase, the database
is now totally empty. post_syncdb is fired at the beginning of the next
TransactionTestCase.
Refs #20483 .
2013-06-12 20:01:41 +02:00
Tim Graham
0938970491
Merge pull request #1259 from Wilfred/master
...
Simplified a formset example in the docs
2013-06-12 10:15:24 -07: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
Wilfred Hughes
b79aa796d8
FormSet.forms is an iterable, so just iterate over it
2013-06-11 16:05:19 +01: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
Aymeric Augustin
4daf570b98
Added TransactionTestCase.available_apps.
...
This can be used to make Django's test suite significantly faster by
reducing the number of models for which content types and permissions
must be created and tables must be flushed in each non-transactional
test.
It's documented for Django contributors and committers but it's branded
as a private API to preserve our freedom to change it in the future.
Most of the credit goes to Anssi. He got the idea and did the research.
Fixed #20483 .
2013-06-10 11:24:10 +02: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
Kenny Rachuonyo
4bd6e5e895
Update media.txt
...
Fixed typo: froms -> forms
2013-06-09 08:23:48 +03:00
Camilo Nova
706eced9bb
Update flatpages.txt
...
Fixed typo
2013-06-08 10:45:39 -05:00
Claude Paroz
6a092f24e0
Allow build of translated documentation
2013-06-08 16:13:51 +02:00
russkel
f80b1063e4
Update submitting-patches.txt
...
Few quick fixes to the terminology in order to match what is used on the Django Trac at the moment.
2013-06-08 14:53:27 +09: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