Tim Martin
e2e773c04a
[1.7.x] Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
...
Thanks cjerdonek for the report.
Backport of a779757706
from master
2014-03-27 07:02:02 -04:00
Tim Graham
994274ea83
[1.7.x] Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers.
...
All signals should now be registered in AppConfig.ready().
Thanks un33k for the report.
Backport of 5233b36693
from master
2014-03-26 10:41:45 -04:00
Andrew Godwin
1cb6729f58
[1.7.x] Add some syncdb deprecation stuff into the deprecation doc
...
Backport of 378359de1c
from master
2014-03-25 20:02:07 -04:00
Simon Charette
78211b13a5
[1.7.x] Fixed #12030 -- Validate integer field range at the model level.
...
Thanks to @timgraham for the review.
Backport of 1506c71a95
from master
2014-03-25 14:31:54 -04:00
Tim Graham
7eaf329ad3
[1.7.x] Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
...
refs #14305 .
Thanks Adrian Klaver for the report.
Backport of 9b7ba8af1b
from master
2014-03-25 14:03:02 -04:00
Adam Kaliński
eb1600e9d1
[1.7.x] Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
...
Thanks EvilDMP for the suggestion.
Backport of ec08d62a20
from master
2014-03-24 09:45:50 -04:00
Tim Graham
57a373b08c
[1.7.x] Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.
...
Thanks valgarv at gmx.net for the report.
Backport of 60d2dde286
from master
2014-03-24 09:19:46 -04:00
Tim Graham
68a80166cd
[1.7.x] Fixed #21665 -- Documented that changes in assertRedirects may be required given new URL escaping behavior.
...
Thank pdc for the report.
Backport of 62e81bc00b from master
2014-03-24 09:09:19 -04:00
Tim Graham
70b34f095c
[1.7.x] Updated six to 1.6.1.
...
Backport of 2ec82c7387
from master
2014-03-24 07:34:18 -04:00
Moayad Mardini
f847aeb6f8
[1.7.x] Fixed #22265 -- Clarfied consistent behavior of migrations.
...
Thanks aruseni for the report.
Backport of bff77e2aa8
from master
2014-03-24 07:27:27 -04:00
Claude Paroz
e1a6a3024f
[1.7.x] Fixed #22317 -- Fixed documented handler400 default value
...
Backport of 3f7615cddc
from master.
2014-03-23 21:20:19 +01:00
Claude Paroz
4b72532048
[1.7.x] Added release note about strip_tags improvement
...
Backport of 1c8dbb0cc
from master.
2014-03-22 12:35:56 +01:00
Claude Paroz
80f08dbdbc
[1.7.x] Improved strip_tags and clarified documentation
...
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
Backport of 6ca6c36f82
from master.
2014-03-22 11:01:14 +01:00
Aymeric Augustin
60d2213d43
[1.7.x] Small doc changes missed in 66076268
.
...
Partial backport of 253e8ac2
from master.
2014-03-21 22:09:57 +01:00
Thomas Schreiber
79989263a2
[1.7.x] Fixed typos in docs (django.contrib.site)
...
Backport of 907ac64641
from master.
2014-03-21 20:02:03 +01:00
Tim Graham
563d6a6bba
[1.7.x] Replaced an instance of PIL with Pillow in the docs.
...
Done in 4965a77407
on master.
2014-03-21 11:23:59 -04:00
Dejan Noveski
b74ec85c1d
[1.7.x] Fixed #22255 -- Added support for specifying re flags in RegexValidator
...
Backport of 4d0c5f6142
from master.
2014-03-21 11:18:26 +01:00
Bryan Helmig
cc8a800d0c
[1.7.x] Fixed minor syntax error in Queryset docs
...
Backport of f2eea960e0
from master.
2014-03-21 11:14:57 +01:00
Daniel Hahler
ac9c7701a7
Replaced reference to ModelAdmin.get_formsets() (deprecated) with get_formsets_with_inlines().
2014-03-19 20:37:00 -04:00
Anubhav Joshi
0399523cf1
Fixed #22253 -- Added django-i18n to the mailing lists docs.
...
Thanks bmispelon for the suggestion.
2014-03-19 07:22:01 -04:00
Simon Charette
cc5804bcab
Amended login required mixin documentation to honor **initkwargs.
2014-03-17 18:45:06 -04:00
zedr
fad47367bf
Fixed #21179 -- Added a StreamingHttpResponse example for CSV files.
...
Thanks charettes for the suggestion.
2014-03-17 07:22:27 -04:00
Tim Graham
5840445664
Fixed #22006 -- Documented how to write a login_required mixin for CBVs.
...
Thanks django at patjack.co.uk for the suggestion and mockforest
for the draft patch.
2014-03-17 06:49:59 -04:00
Anubhav Joshi
ad43fdaa00
Fixed #21860 -- Added to_field_name to ModelChoiceField docs.
...
Thanks Keryn Knight for the suggestion.
2014-03-16 15:40:52 -04:00
Anubhav Joshi
abade6413b
Fixed #21991 -- Added warning regarding tests failure if locales not installed.
...
Thanks reidrac for the report.
2014-03-16 14:34:18 -04:00
Daniel Pyrathon
885e7adf56
Fixed #22242 -- Documented common cookie size limit.
2014-03-16 10:40:59 -04:00
Claude Paroz
5a976b4bec
Fixed #22245 -- Avoided widget overwrite in forms.IntegerField subclasses
...
Thanks Jeroen Pulles for the report and Simon Charette for the review.
2014-03-13 16:58:14 +01:00
Dejan Noveski
958b511a80
Fixed #22262 -- Added the correct line in the last example of Translator lines
2014-03-13 14:13:27 +01:00
Iain Dawson
c8823cf481
Fixed a grammar error in topics/i18n/translation.
...
Hooks are quantum; you can not have an amount of them.
2014-03-13 10:04:30 +01:00
Akis Kesoglou
aaad3e27ac
Fixed #22217 - ManyToManyField.through_fields fixes.
...
- Docs description of arguments mix up.
- Keep it from erroneously masking E332 check.
- Add checks E338 and E339, tweak message of E337.
2014-03-11 19:33:04 -03:00
Tim Graham
89e4226ed1
Updated spelling_wordlist.
2014-03-11 08:11:16 -04:00
Tim Graham
ce3d9f847d
Fixed typo in docs/ref/django-admin.txt
...
Thanks Wes Kendall for the report.
2014-03-11 08:09:44 -04:00
Shai Berger
05daaf2eea
Added myself to the committers list, finally.
2014-03-10 22:28:01 +02:00
Aymeric Augustin
1be31c320c
Fixed #21875 -- Clarified that get_user_model() only works at run time.
...
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00
Erik Romijn
daaf6cf9a4
Added myself to the committers list.
2014-03-10 17:25:47 +01:00
Daniel Pyrathon
819e09b848
Fixed #22210 -- Saving model instances to non-related fields.
...
Previously, saving a model instance to a non-related field (in
particular a FloatField) would silently convert the model to an Integer
(the pk) and save it. This is undesirable behaviour, and likely to cause
confusion so the validatio has been hardened.
Thanks to @PirosB3 for the patch and @jarshwah for the review.
2014-03-10 15:25:18 +00:00
Jeremy Dunck
0e52b2863b
Substituted 'shortcut function' for 'factory method' in tutorial
...
Many newbies don't know what a factory method is, nor is it pertinent to the
information the tutorial hopes to convey.
2014-03-09 14:07:39 -07:00
Aymeric Augustin
3315535ae8
Fixed an example to match the code.
2014-03-09 21:20:34 +01:00
Shai Berger
0615eaf24a
Corrected a few missed references to old test settings
2014-03-09 08:33:33 +02:00
Shai Berger
41afae4ce9
Reorganized the database test settings
...
Change database test settings from "TEST_"-prefixed entries in the
database settings dictionary to setting in a dictionary that is itself
an entry "TEST" in the database settings.
Refs #21775
Thanks Josh Smeaton for review.
2014-03-09 03:57:18 +02:00
Claude Paroz
210d0489c5
Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings
...
Thanks Anssi Kääriäinen for the idea and Simon Charette for the
review.
2014-03-08 09:57:40 +01:00
Russell Keith-Magee
70ec4d776e
Fixed #22034 -- Added a specific set of relation checks for GenericInlineModelAdmin.
...
Thanks to jwa for the report.
2014-03-08 11:25:23 +08:00
Anssi Kääriäinen
219d928852
Fixed #21863 -- supplemented get_lookup() with get_transform()
...
Also fixed #22124 -- Expanded explanation of exactly what is going on in
as_sql() methods.
2014-03-07 14:52:13 +00:00
Szczepan Cieślik
a0f2525202
Fixed #22141 -- Added a spelling checker for documentation.
2014-03-07 09:29:23 -05:00
Tim Graham
8f9c3d0565
Fixed typo in docs/ref/checks.txt
2014-03-07 09:18:06 -05:00
Roger Hu
9b729ddd8f
Fixed #22185 -- Added settings.CSRF_COOKIE_AGE
...
Thanks Paul McMillan for the review.
2014-03-06 08:28:43 -05:00
Claude Paroz
06efeae598
Added --previous flag to msgmerge command used by makemessages
...
Also took the opportunity to slightly refactor gettext options
so as to ease customization by subclassing the command.
Thanks Michal Čihař for the report and initial patch.
2014-03-06 10:20:01 +01:00
Gabe Jackson
b77f26313c
Fixed #22207 -- Added support for GenericRelation reverse lookups
...
GenericRelation now supports an optional related_query_name argument.
Setting related_query_name adds a relation from the related object back to
the content type for filtering, ordering and other query operations.
Thanks to Loic Bistuer for spotting a couple of important issues in
his review.
2014-03-05 22:37:53 +02:00
Akis Kesoglou
c627da0ccc
Fixed #14549 - Removed restriction of single FKs on intermediary tables
...
Thanks to Loic Bistuer for review. Minor changes to error messages
done by committer.
2014-03-05 22:33:58 +02:00
Chris Wilson
95c74b9d69
Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength
2014-03-05 20:09:28 +01:00