1
0
mirror of https://github.com/django/django.git synced 2024-12-27 19:46:22 +00:00
Commit Graph

17440 Commits

Author SHA1 Message Date
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
James Bennett
1694e091f1 [1.7.x] Correct oversight in trove classifiers, as this branch is now beta status. 2014-03-23 23:09:12 -05: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
Alex Gaynor
6d254e5a97 [1.7.x] Removed an unused variable.
Backport of 684e8a941b from master
2014-03-22 13:17:51 -04:00
Claude Paroz
d345a030c2 [1.7.x] Fixed #22241 -- Selectively added line breaks in admin read-only fields
When content is supposed to contain HTML, we do not try to add
line breaks in read-only contents.
Thanks Alexander Todorov for the report.
Backport of c94bff2 from master.
2014-03-22 17:11:12 +01:00
Patrick Michaud
908bdea482 [1.7.x] Fixed #22256 -- Replaced bad fallback for missing PATH
Thanks Baptiste Mispelon for the review.
Backport of acee46fc9 from master.
2014-03-22 16:54:02 +01:00
Claude Paroz
07d4b3c8f2 [1.7.x] Tweaked strip_tags tests to pass on Python 3.3
Backport of 6a0291bdaf from master.
2014-03-22 14:44:13 +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
Antti Hirvonen
0c19383a1f [1.7.x] Fixed #22302 -- Updated Finnish locale formats
Backport of aaa2110259 from master.
2014-03-22 10:55:10 +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
Tim Graham
caa753ffd6 [1.7.x] Fixed flake8 warnings.
Backport of 35f46ec7a9 from master
2014-03-21 06:25:21 -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
James Bennett
dda6224459 [1.7.x] Bump version numbers for 1.7 beta 1. 2014-03-20 19:42:11 -05:00
Aymeric Augustin
222262ca23 Fixed #22163 -- Stopped ignoring unhandled kwargs in select_for_update. 2014-03-20 22:22:00 +01:00
Alex Gaynor
0cf158cf9a Fixed a small collection of flake8 violations that had snuck in 2014-03-20 10:30:41 -07:00
Baptiste Mispelon
3ecc25bd58 Removed a file accidentally added in 81f5408c7a. 2014-03-20 10:37:39 +01:00
Andrew Godwin
831ce69cbb Mark model renaming as irreversible for now (#22248) 2014-03-19 21:25:26 -07:00
Andrew Godwin
81f5408c7a Fixed #22275: unique_together broken if ForeignKey split into new file.
Thanks to bak1an for the patch.
2014-03-19 21:23:21 -07:00
Andrew Godwin
356f064c49 Merge pull request #2221 from bmispelon/LazyObject-refactor
Fixed #21840 -- Moved dunder methods from SimpleLazyObject to LazyObject...
2014-03-19 21:01:24 -07: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
Eric Palakovich Carr
c11b9346d4 Fixed migration so MySQL GIS test doesn't fail; refs #22001.
The test previously failed with the error:
(1170, "BLOB/TEXT column 'name' used in key specification without a key length")
2014-03-19 06:49:29 -04:00
smallcode
61fdb8d487 Fixed regression in file locking on some platforms.
Some platforms with os.name == 'posix' do not have the
fcntl module, e.g. AppEngine.

refs #19373.
2014-03-18 10:35:22 -04:00
Florian Apolloner
8520e43e13 Fixed a regression from 2e5b82f627 2014-03-18 15:30:52 +01:00
Florian Apolloner
2e5b82f627 Made a test app label unique. 2014-03-18 14:51:06 +01:00
Daniel Hahler
fc167c9b5e Mentioned that `dumpdata --natural` is deprecated. 2014-03-18 07:25:37 -04:00
Matthew Somerville
61296fb1ba Fixed #22283 -- Updated documentation referring to non-existent tuples. 2014-03-18 10:57:47 +01:00
Chris Beaven
b47ef04ea2 Fix any sqlite field migration deleting all implicit m2m tables
Fixes #22281
2014-03-18 16:54:35 +13: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
Marc Tamlyn
834d78ffc3 Remove u prefixes, skip test unless spatial db.
Refs #22001, d22b291890
2014-03-15 12:49:03 +00:00
Anubhav Joshi
659b5678fc Fixed #22184 -- Allowed template_tests.tests to be run isolated 2014-03-15 12:34:11 +01:00
Russell Keith-Magee
bb2c58c701 Merge pull request #2430 from NathanRSmith/ticket_21989
Fixed #21989 - Modified first day of week in AU locale.

Although Australia is a signatory to ISO 8601, there's a lot of evidence to suggest that this is in the same category as "officially, the USA uses metric". See the ticket for supporting details.
2014-03-15 09:26:53 +08:00
Marc Tamlyn
d22b291890 Fixed #22001 -- Ensure db_type is respected.
db_parameters should respect an already existing db_type method and
return that as its type string. In particular, this was causing some
fields from gis to not be generated.

Thanks to @bigsassy and @blueyed for their work on the patch.

Also fixed #22260
2014-03-14 22:32:17 +00:00
Nathan Smith
cfbc887b2c Changed start of week for Australia to Sunday as requested in https://code.djangoproject.com/ticket/21989 2014-03-14 14:00:27 -04:00
Baptiste Mispelon
37f7f233f5 Fixed #22272 -- Fixed regression in DecimalField when using decimal_places=0.
Thanks to trac user merb for the report.
2014-03-14 17:21:59 +01:00
Claude Paroz
666a2ad22f Merged model_forms_regress with model_forms tests 2014-03-14 15:18:08 +01:00
Claude Paroz
72cfbdc10a Fixed #6103 -- Splitted tests in model_forms tests 2014-03-14 09:44:56 +01: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