Anssi Kääriäinen
|
7eba5fbc02
|
Fixed a couple of stale tests caused by patch for #19462
Commit was 088d3bc2f8
|
2012-12-13 15:02:08 +02:00 |
Anssi Kääriäinen
|
088d3bc2f8
|
Fixed #19462 -- Made assertQuerysetEqual detect undefined ordering
If there are more than one values to compare against and the qs isn't
ordered then assertQuerysetEqual will raise a ValueError.
|
2012-12-13 13:33:11 +02:00 |
Florian Apolloner
|
7e97f4f510
|
Fixed an order dependant test failure.
|
2012-12-11 16:25:47 +01:00 |
Florian Apolloner
|
1eb0da1c5b
|
Fixed a test failure in the comment tests.
|
2012-12-10 23:34:51 +01:00 |
Florian Apolloner
|
27560924ec
|
Fixed a security issue in get_host.
Full disclosure and new release forthcoming.
|
2012-12-10 22:11:40 +01:00 |
Florian Apolloner
|
a2f2a39956
|
Fixed #18856 -- Ensured that redirects can't be poisoned by malicious users.
|
2012-12-10 22:11:39 +01:00 |
Claude Paroz
|
0cdfa76e68
|
Amended an SQL test fixture to not include an id value
Some backends might need special handling for auto-increment values.
This was introduced in 5fa5621f57 . Thanks Michael Manfre for spotting
the issue.
|
2012-12-10 17:49:04 +01:00 |
Aymeric Augustin
|
49519328b4
|
Fixed #19392 -- Improved error for old-style url tags with dashes.
Thanks dloewenherz for the report.
|
2012-12-09 16:17:56 +01:00 |
Claude Paroz
|
8248d14029
|
Removed US localflavor-specific tests from core
Also fixes #9045.
|
2012-12-08 21:07:59 +01:00 |
Claude Paroz
|
04e6542b5a
|
Fixed #19423 -- Prevented ModelAdmin sharing widgets due to formfield_overrides
Thanks joebuyer at manycycles.com for the report and Simon Charette
for the review.
|
2012-12-08 12:41:11 +01:00 |
Claude Paroz
|
c91667338a
|
Fixed #19357 -- Allow non-ASCII chars in filesystem paths
Thanks kujiu for the report and Aymeric Augustin for the review.
|
2012-12-08 11:13:52 +01:00 |
Andreas Hug
|
66dfcc10b3
|
Fixed #18574 -- Make BaseFormSet.is_valid call its underlying forms' is_valid
Thanks Simon Charette for the report and the initial patch.
|
2012-12-06 20:00:56 +01:00 |
Claude Paroz
|
34dcf51e06
|
Fixed #19367 -- Fixed saving ContentFile in filesystem storage
This was not working properly when ContentFile was initialized with
an unicode string.
Thanks Alexey Boriskin for the report and the test.
|
2012-12-06 17:14:44 +01:00 |
Marc Aymerich
|
553838a285
|
Fixed #19429 -- Applied linebreaksbr to read-only fields in inlines
Applied to inlines what ec9d6b1122 did for main fieldsets.
|
2012-12-06 09:52:02 +01:00 |
Anssi Kääriäinen
|
632cf32b43
|
Fixed #19391 -- Oracle specific failure in tests
The failure was caused by using None as a choice for a CharField. To
avoid Oracle's "" <-> NULL handling the field type was changed to
IntegerField.
|
2012-12-04 22:49:02 +02:00 |
Julien Phalip
|
c196e01100
|
Fixed the admin_filters tests for Postgres.
|
2012-12-04 10:36:56 -08:00 |
Claude Paroz
|
795ac7deda
|
Fixed #19378 -- Ensured get_success_url returns a non-lazy URL
|
2012-12-04 13:22:42 +01:00 |
Andrew Godwin
|
501c7a221c
|
Merge pull request #573 from tominsam/master
Fixed #19070: urlize template filter raises exception in some cases
|
2012-12-04 02:18:10 -08:00 |
Ramiro Morales
|
b64d30405a
|
Fixed #18697 -- Made values accepted for two customizable admin templates consistent.
Thanks and at cloverfastfood dot com for the report.
|
2012-12-04 01:13:01 -03:00 |
Sebastián Magrí
|
88e1715639
|
Fixed #19318 -- Ensured that the admin's SimpleListFilter options can be displayed as selected even if the lookup's first element is not a string.
|
2012-12-03 11:53:15 -08:00 |
Claude Paroz
|
5fa5621f57
|
Fixed #19416 -- Fixed multi-line commands in initial SQL files
Thanks Aymeric Augustin for detecting this regression.
|
2012-12-03 20:47:08 +01:00 |
Tom Insam
|
161cafb6f6
|
another failing test case for square brackets.
|
2012-12-03 12:11:32 +00:00 |
Aymeric Augustin
|
baae4b8187
|
Fixed #19397 -- Crash on binary files in project templates.
Thanks gw 2012 at tnode com for the report.
|
2012-12-03 10:45:18 +01:00 |
Julien Phalip
|
2e2c4968f6
|
Fixed #17050 -- Added some CSS class names to the admin index pages to facilitate per-app or per-model style customizations. Thanks to scytale for the report and to H0ff1 and thiderman for their work on the patch.
|
2012-12-02 20:54:34 -08:00 |
Claude Paroz
|
349c4c37f8
|
Fixed #19015 -- Add ISO input formats to all formats
|
2012-12-01 14:05:52 +01:00 |
Claude Paroz
|
0eeae15056
|
Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
Thanks markteisman at hotmail.com for the report.
|
2012-11-29 21:45:43 +01:00 |
Anssi Kääriäinen
|
163b471e9e
|
Converted a couple of assertEquals -> assertEqual
|
2012-11-28 23:44:50 +02:00 |
Tai Lee
|
6ebf115206
|
Fixed #14694 -- Made ``defer()`` work with reverse relations
Reverse o2o fields are now usable with defer.
|
2012-11-28 18:17:10 +02:00 |
Danilo Bargen
|
c10aaa70a4
|
Fixed #19370 -- Made date filter properly handle midnight value
|
2012-11-27 21:24:16 +01:00 |
Anssi Kääriäinen
|
64f6e0370a
|
Made some tests behave nicer re connection handling
|
2012-11-27 19:47:20 +02:00 |
Edward Tjörnhammar
|
29d59a879e
|
Fixed #17911 -- Ensure that admin readonly fields' display values are shown in change forms when the raw value is None.
|
2012-11-25 23:13:30 +01:00 |
Julien Phalip
|
ae206d78f6
|
Fixed #17646 -- Added a get_list_filter() method to ModelAdmin. Thanks to rasca for the suggestion and to mateusgondim for the patch.
|
2012-11-25 20:39:23 +01:00 |
Claude Paroz
|
f26b956e80
|
Fixed test failure following capitalization fix in 2f035a972
|
2012-11-25 19:54:38 +01:00 |
Aymeric Augustin
|
7644800070
|
Change exception type to reduce confusion.
TemplateSyntaxError is expected at compile time, not at run time.
Refs #19280.
|
2012-11-25 19:51:42 +01:00 |
Claude Paroz
|
a5d47415f4
|
Enabled SimpleTestCase to be decorated by override_settings
Refs #18417. Also fixed some test case classes which subclassed
the wrong parent.
|
2012-11-25 19:06:17 +01:00 |
Claude Paroz
|
9f7cefd505
|
Fixed #18417 -- Raised exception when unittest.TestCase is decorated with override_settings
|
2012-11-25 19:06:17 +01:00 |
Aymeric Augustin
|
d266919584
|
Fixed #19280 -- Raised an explicit exception for the old {% url %} syntax.
|
2012-11-24 22:10:51 +01:00 |
Aymeric Augustin
|
690cac3a34
|
Used a django.test.TestCase for compatibility with @override_settings.
These tests were silently skipped.
|
2012-11-24 22:10:51 +01:00 |
Anssi Kääriäinen
|
dc569c8801
|
Fixed ordering-related failure in m2m_through_regress tests
|
2012-11-24 16:03:21 +02:00 |
Chris Khoo
|
bf1871d874
|
Fixed #19237 -- Improved strip_tags utility
The previous pattern didn't properly addressed cases where '>'
was present inside quoted tag content.
|
2012-11-24 12:16:52 +01:00 |
Russell Keith-Magee
|
18d7c1ea3a
|
Simplified the deletions performed by the swappable_models test.
This is required to allow the test to run without error under SQLite in the CI environment.
|
2012-11-24 15:07:50 +08:00 |
Russell Keith-Magee
|
c8985a8a73
|
Fixed #19806 -- Ensure that content types and permissions aren't created for swapped models.
Thanks to rizumu for the report.
|
2012-11-24 13:43:20 +08:00 |
Anssi Kääriäinen
|
0a0a0d66b3
|
Fixed #19351 -- SQLite bulk_insert of more than 500 single-field objs
|
2012-11-24 01:13:12 +02:00 |
Anssi Kääriäinen
|
a27582484c
|
Fixed SQLite's collapsing of same-valued instances in bulk_create
SQLite used INSERT INTO tbl SELECT %s UNION SELECT %s, the problem
was that there should have been UNION ALL instead of UNION.
Refs #19351
|
2012-11-24 01:12:17 +02:00 |
Aymeric Augustin
|
2875b5dcab
|
Tweak a test to avoid hitting a limit with SQLite.
Django cannot delete more than 999 objects at a time with SQLite.
Refs #16426, #16039.
|
2012-11-23 10:02:18 +01:00 |
Tim Graham
|
0e3690d230
|
Fixed #18974 - Warned against using models.permalink
Thanks dstufft for the draft patch.
|
2012-11-22 16:08:51 -05:00 |
Aymeric Augustin
|
a026e480da
|
Fixed #16039 -- Made post_syncdb handlers multi-db aware.
Also reverted 8fb7a90026 . Refs #17055.
|
2012-11-22 20:53:59 +01:00 |
George Hickman
|
ea6b95dbec
|
Fixed #19316 -- Set View args/kwargs/request before dispatch
|
2012-11-22 20:13:01 +01:00 |
Jannis Leidel
|
3fb83729b9
|
Merge branch 'ticket_19325' of https://github.com/hannesstruss/django into hannesstruss-ticket_19325
|
2012-11-22 10:05:08 +01:00 |
Julien Phalip
|
693b8a65ad
|
Modified a staticfiles test to use a unicode character that has just one single representation. The previously used character (ş) has two different representations (u'\u015f' and u's\u0327'), which caused spurious failures when the tests were run across multiple platforms (e.g. on a Linux VM hosted on a Mac).
|
2012-11-21 09:52:09 +01:00 |