Tim Graham
25d987b21e
[1.5.x] Fixed #20134 -- Correct list of fields that UserManager requires.
...
Thanks semenov and pegler.
Backport of da5069f68f
from master.
2013-07-04 10:20:09 -04:00
Tim Graham
82a6a956d5
[1.5.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:33:40 -04:00
Tim Graham
fa37f45c32
[1.5.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:34:00 -04:00
Tim Graham
9c501e6638
[1.5.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:34 -04:00
SusanTan
583f340d7d
[1.5.x] Fixed #20609 -- Documented how to use request.user with RequestFactory
...
Thanks michel@ for the suggestion.
Backport of 75041d5ea3
from stable/1.5.x.
2013-07-03 11:12:04 -04:00
Claude Paroz
44df41e5fd
[1.5.x] Fixed #20695 -- Fixed contrib.humanize translation syntax errors
...
Affected language: Mexican Spanish, Mongolian, Romanian, Turkish
Translations for 1.6 and master will be refetched from Transifex.
Thanks ruless at gmail.com for the report.
2013-07-03 16:39:26 +02:00
Tomáš Ehrlich
6151fdf930
[1.5.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:39:05 -04:00
Tim Graham
4453d8651a
[1.5.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:31 -04:00
Tim Graham
62a9abeff0
[1.5.x] Fixed #20677 - Typos in generic_inlineformset_factory docs.
...
Thanks Riley Strong for the report.
Backport of 3fd0ee5b46
from master
2013-06-29 14:17:38 -04:00
Baptiste Mispelon
def1881370
[1.5.x] Fixed missing slash in reusable apps tutorial.
...
Backport of 5caced89e0
from master.
2013-06-28 09:52:25 +02:00
jktravis
b91e138405
Fixed #20670 -- Fixed project layout in reusable apps tutorial.
...
Backport of 70d3adf9f2
from master.
Thanks to nicklasp for the report.
2013-06-28 09:50:59 +02:00
Trey Hunner
058ad52b3d
[1.5.x] Added missing preposition in documentation
...
Backport of 2ec54e7fbc
from master
2013-06-27 18:03:39 -04:00
Ken Bolton
ceff19805e
[1.5.x] Fixed typo in docs/ref/signals.txt
...
Backport of 6fcb7ba842
from master
2013-06-27 17:53:54 -04:00
Baptiste Mispelon
20295f2788
[1.5.x] Fixed #20665 -- Missing backslash in sitemaps documentation
...
Backport of 5005303ae7
from master.
2013-06-27 09:44:17 +02:00
Daniel Izquierdo
030ef4d1af
[1.5.x] Fixed #20654 -- Fixed type of `m2m_changed`'s `pk_set` arg in docs
...
Backport of 9a2b07f1b4
from master
2013-06-25 07:52:15 -04:00
Aymeric Augustin
02619227a9
[1.5.x] Fixed #20636 -- Stopped stuffing values in the settings.
...
In Django < 1.6, override_settings restores the settings module that was
active when the override_settings call was executed, not when it was
run. This can make a difference when override_settings is applied to a
class, since it's executed when the module is imported, not when the
test case is run.
In addition, if the settings module for tests is stored alongside the
tests themselves, importing the settings module can trigger an import
of the tests. Since the settings module isn't fully imported yet,
class-level override_settings statements may store a reference to an
incorrect settings module. Eventually this will result in a crash during
test teardown because the settings module restored by override_settings
won't the one that was active during test setup.
While Django should prevent this situation in the future by failing
loudly in such dubious import sequences, that change won't be backported
to 1.5 and 1.4. However, these versions received the "allowed hosts"
patch and they're prone to "AttributeError: 'Settings' object has no
attribute '_original_allowed_hosts'". To mitigate this regression, this
commits stuffs _original_allowed_hosts on a random module instead of the
settings module.
This problem shouldn't occur in Django 1.6, see #20290 , but this patch
will be forward-ported for extra safety.
Also tweaked backup variable names for consistency.
2013-06-24 20:40:19 +02:00
Tim Graham
7e6c0387b3
[1.5.x] Clarified get_list_or_404 docs, refs #14150 .
...
Backport of e161e4ff11
from master
2013-06-24 07:03:29 -04:00
Simon Meers
11a8a7f266
[1.5.x] Corrected minor typos in FileUploadHandler.receive_data_chunk docs.
...
Backport of 6466a08
from master.
2013-06-24 14:11:08 +10:00
Baptiste Mispelon
4821a99ca4
[1.5.x] Fixed errors and inconsistencies in CBV topic documentation.
...
Backport of bd9fbd1497
from master.
2013-06-23 00:29:59 +02:00
Tim Graham
519fdacf51
Fixed #20634 - Corrected doc mistake re: staticfiles finders strategy.
...
Thanks claudep for the catch and bmispelon for the research.
Backport of 9be93aa809
from master.
2013-06-21 15:00:06 -04:00
James Bennett
9b0604e514
[1.5.x] Fixed #19881 -- Documented that get_next/previous_by_FOO uses default manager.
...
Backport of ba610cb319
from master
2013-06-21 13:16:51 -04:00
Baptiste Mispelon
ee8996d8a6
[1.5.x] Fixed #20612 -- Fixed incorrect wording in CBV documentation
...
Thanks to ndokos for the report.
Backport of b53ed5ac55
from master.
2013-06-21 17:53:10 +02:00
Tim Graham
843802ec26
[1.5.x] Fixed #19319 -- Updated example httpd.conf for Apache 2.4
...
Thanks colinnkeenan@ for the report.
Backport of 7314007c5b
from master
2013-06-20 13:35:59 -04:00
Tim Graham
b5f8339211
[1.5.x] Fixed error in last commit. Thanks Simon Charette.
...
Backport of 6ef199a08e
from master
2013-06-20 10:43:41 -04:00
Harm Geerts
891d003353
[1.5.x] Modified tutorial 3 to use RequestContext in place of Context.
...
Backport of df4a74d709
from master
2013-06-20 10:01:13 -04:00
Baptiste Mispelon
f171ed6b68
Fixed broken reference in documentation.
2013-06-19 10:39:01 +02:00
Aymeric Augustin
9d86550a70
[1.5.x] Fixed #20615 -- Added trove classifiers for major Python versions.
...
Backport of efe6e160
.
2013-06-18 13:26:41 +02:00
Baptiste Darthenay
a952044228
[1.5.x] Fixed #20614 -- Typo in documentation.
...
Backport of 39b245fd76
from master
2013-06-17 07:01:48 -04:00
Tim Graham
e411e99312
[1.5.x] Fixed #20604 - Fixed file example in docs.
...
Thanks Chris Lasher for the report.
Backport of a1122e14a6
from master
2013-06-14 21:29:20 -04:00
Pablo Sanfilippo
e65f0c2559
[1.5.x] Fixed an erroneous import in example code.
...
Backport of bd68f701b
from master. Fixes #20595 .
2013-06-14 09:33:20 +02:00
Jaap Roes
60353458ae
[1.5.x] 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 .
Backport of 3ce1d30
.
Conflicts:
docs/howto/deployment/wsgi/index.txt
2013-06-12 20:57:21 +02:00
Tim Graham
b75f1f3d27
[1.5.x] Fixed #20500 - Updated flatpages URLconf example to work with APPEND_SLASH.
...
Thanks josh.23.french@.
Backport of 536703abf0
from master
2013-06-11 12:27:09 -04:00
Tim Graham
cd1aec65cc
[1.5.x] Fixed #20578 - Typo in BaseFormSet module name
...
Backport of 9ff5f100dd
from master
2013-06-10 14:37:38 -04:00
Tim Graham
46dacb5bb1
[1.5.x] Fixed #19875 - Added warnings regarding DEBUG=False and empty ALLOWED_HOSTS
...
Backport of 4e94c84e50
from master
2013-06-09 15:06:23 -04:00
Tim Graham
3bd9852401
[1.5.x] Fixed #20567 - Documented BoundField.id_for_label.
...
Thanks littlepig for the suggestion.
Backport of 175a102ddc
from master.
2013-06-09 12:16:56 -04:00
Claude Paroz
44a0abd792
[1.5.x] Allow build of translated documentation
...
Backport of 6a092f24e
from master.
2013-06-08 16:14:45 +02:00
Tim Graham
023710211f
[1.5.x] Fixed #20545 - Made class-based view MRO lists consistent.
...
Thanks wim@ for the suggestion.
Backport of c36b75c814
from master
2013-06-03 10:14:29 -04:00
Tim Graham
56192d21d5
[1.5.x] Fixed #20543 - Typo in db model fields docs.
...
Thanks i.amber.jain@ for the report.
Backport of f315693304
from master
2013-06-01 05:50:09 -04:00
Tim Graham
f7fefb361d
[1.5.x] Fixed #20166 - Corrected TEST_DEPENDENCIES example in testing docs.
...
Thanks czambran.
Backport of f10e9af227
from master
2013-05-31 08:20:10 -04:00
Tim Graham
1c5cccedb4
[1.5.x] Fixed #20326 - Corrected form wizard get_form() example.
...
Thanks tris@ for the report.
Backport of 646a2216e9
from master
2013-05-31 08:08:42 -04:00
Gavin Wahl
e873de0a5a
[1.5.x] Fixed regroup example.
...
Chicago was missing.
Backport of e6ff238
from master.
2013-05-29 21:50:52 -04:00
Tim Graham
1ce5672753
[1.5.x] Fixed #20525 -- Added versionadded for clearsessions.
...
Thanks wiml@.
Backport of 8a6e040bfa
from master
2013-05-28 20:15:09 -04:00
Tim Graham
17d60438e9
[1.5.X] Fixed #20523 - Incorrect form field for FilePathField.
...
Thanks sane4ka.sh@ for the report.
Backport of 1fdc3d256d
from master
2013-05-28 11:59:41 -04:00
Tim Graham
2e026739dc
[1.5.X] Fixed #20513 - Expanded docs on QuerySet caching.
...
Thanks seddonym.
Backport of 8365d76da0
from master
2013-05-28 08:43:05 -04:00
Aymeric Augustin
8f2eaab0e5
[1.5.x] Fixed URL for six inventory.
...
Backport of 749c2e4
from master.
2013-05-27 11:16:27 +02:00
Andrew Godwin
fd48d2d438
[1.5.x] Rotate CSRF token on login
...
Backport of 1514f17aa6
from master
2013-05-24 22:20:44 +01:00
Tim Graham
82fc3ce41d
[1.5.x] Fixed #20492 - Removed a broken link in GIS docs.
...
Backport of fbab3209fc
from master
2013-05-24 12:36:12 -04:00
Alasdair Nicol
d6025d790f
[1.5.x] Updated link to jQuery Cookie plugin site
...
Backport of 81f454a322
from master
2013-05-24 12:25:48 -04:00
Tim Graham
cd15a51c3e
[1.5.x] Fixed #20316 - Clarified transaction behavior of TestCase.
...
Thanks uberj@ for the report and lolek09 for the patch.
Backport of dffdca1109
from master
2013-05-23 11:12:33 -04:00
Tim Graham
9ed2121eca
[1.5.x] Fixed #20417 - Noted that a server restart is required to load new templatetag modules.
...
Thanks Katya for the suggestion.
Backport of a46a399534
from master
2013-05-23 08:54:24 -04:00