Claude Paroz
69125ce904
Extended variable name in handlers/base.py
...
Refs #24733 .
2015-05-05 10:58:27 +02:00
Luis Del Giudice
69ddc1b3da
Fixed #24693 -- Added label and label_lower property to Model._meta
2015-05-02 16:58:18 +02:00
daphshez
57202a112a
Fixed #23271 -- Fixed makemessages crash/test failure for some locales.
2015-05-01 10:27:28 -04:00
Harry
40768ec29d
Fixed #24707 -- Improved error reporting for explicitly imported uncallable views
2015-04-26 19:19:15 +02:00
Marten Kenbeek
1521861b3c
Fixed #24703 -- Changed squashmigrations to use a MigrationLoader
...
Changed squashmigrations to not instantiate a MigrationExecutor,
but to directly use a MigrationLoader instance instead.
2015-04-25 17:41:17 +02:00
David Danier
9346e45f84
Fixed #24664 -- Removed misleading arg name from TemporaryFileUploadHandler.new_file
2015-04-20 11:59:30 +02:00
Claude Paroz
8097e54832
Fixed #23879 -- Allowed model migration skip based on feature/vendor
...
Thanks Carl Meyer for the report and review, and Tim Graham for the
review.
2015-04-18 15:17:49 +02:00
Anoop Thomas Mathew
2400329508
Fixed #24349 -- Limited domain name labels to 63 characters in EmailValidator
2015-04-17 18:08:33 -04:00
Yitzhak Clark
188a241880
Fixed #21652 -- Added notification when processing objects in loaddata
...
Added a running count of the objects processed by loaddata when
verbosity >= 3.
2015-04-16 09:42:18 -04:00
Joe Borg
503bbc49d8
Added missing periods in migrate help messages.
2015-04-14 08:10:16 -04:00
Adam Chainz
5564d0f2ee
Fixed #24560 -- Added a --dry-run mode to the createcachetable command.
2015-04-09 12:15:50 -04:00
Richard Eames
727e40c879
Fixed #19820 -- Added more helpful error messages to Python deserializer.
2015-04-09 10:56:33 -04:00
Tim Graham
0824c02603
Removed unused exception "as" variable.
2015-04-08 13:09:51 -04:00
steve
2fc19b9238
Fixed #24544 -- Fixed get_image_dimensions() on image buffers that Pillow fails to parse.
...
Thanks Steve Kossouho for the report and original patch.
2015-04-07 19:51:19 -04:00
Claude Paroz
426b63ba04
Fixed #24571 -- Restored testserver positional arguments parsing
...
Thanks Domas Lapinskas for the report and Tim Graham for the
review.
2015-04-04 10:46:29 +02:00
Matt Hooks
2c39f282b8
Fixed typo in django.core.files.File docstring.
2015-04-02 20:38:22 -04:00
Simon Charette
5bc3123479
Fixed #24558 -- Made dumpdata mapping ordering deterministic.
...
Thanks to gfairchild for the report and Claude for the review.
2015-04-02 15:21:43 -04:00
Claude Paroz
a2e56db8a7
Removed unused import in makemessages
2015-04-01 20:01:12 +02:00
Claude Paroz
3f4e778402
Refs #24500 -- Avoided locale.getpreferredencoding in makemessages
...
Fixes a regression introduced in 53c2cf1e
.
2015-04-01 19:57:48 +02:00
Bertrand Bordage
3e64f3d0fc
Fixed #24531 -- Improved CommaSeparatedIntegerField validation.
...
`','`, `'1,,1'`, `',1'` etc. are no longer considered as valid
comma-separated integer lists.
2015-03-25 18:49:59 -04:00
Raúl Cumplido
cda74c7fc9
Fixed #24441 -- Changed get_image_dimensions() return value for broken images
2015-03-25 12:39:29 -04:00
Anssi Kääriäinen
8f30556329
Renamed Field.rel attribute to remote_field
...
Field.rel is now deprecated. Rel objects have now also remote_field
attribute. This means that self == self.remote_field.remote_field.
In addition, made the Rel objects a bit more like Field objects. Still,
marked ManyToManyFields as null=True.
2015-03-25 08:16:12 -04:00
Pakal
53c2cf1e7b
Fixed #24500 -- Fixed makemessages encoding problems retrieving gettext version.
2015-03-21 09:08:51 -04:00
Tim Graham
a3e75f6bed
Removed unused imports.
2015-03-20 17:57:11 -04:00
Claude Paroz
ba37ac749e
Adapted sendtestemail to be more argparse-ish
2015-03-20 20:40:35 +01:00
Loek van Gent
d898ba1bec
Fixed #24419 -- Added sendtestemail management command
2015-03-20 12:03:50 -04:00
Claude Paroz
a0c2eb46dd
Fixed #23960 -- Removed http.fix_location_header
...
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-03-18 18:22:50 +01:00
Bas Peschier
0339844b70
Fixed #24476 -- Added context manager/decorator for overriding script prefix.
...
Tests were using an undocumented keyword argument for easily overriding
script prefix while reversing. This is now changed into a test utility
which can be used as decorator or context manager.
2015-03-18 13:03:25 -04:00
John Giannelos
8758a63ddb
Fixed #24427 -- Stopped writing migration files in dry run mode when merging.
...
Also added display of migration to stdout when verbosity=3.
2015-03-16 14:04:37 -04:00
Berker Peksag
34fb909180
Fixed #12982 -- Added a get_or_set() method to the BaseCache backend.
2015-03-14 20:07:16 +02:00
Claude Paroz
a52cd407b8
Fed tuples to startswith when appropriate
2015-03-13 21:58:28 +01:00
medmunds
5993b52e6d
Fixed #24416 -- Added support for lazy email addresses.
2015-03-13 12:33:49 -04:00
Claude Paroz
aa5ab114e3
Fixed #24122 -- Redirected to translated url after setting language
...
Thanks gbdlin for the initial patch and Tim Graham for the review.
2015-03-13 16:46:40 +01:00
Bas Peschier
c9f1a12925
Fixed #24013 -- Fixed escaping of reverse() prefix.
...
Prefix was treated as a part of the url pattern, which it is not.
Improved tests to conform with RFC 3986 which allows certain
characters in path segments without being escaped.
2015-03-12 19:05:17 -04:00
Bas Peschier
f0f5212624
Fixed #12943 -- Allowed unnamed arguments to be propagated in includes
...
Propagated unnamed arguments as positional arguments into included
URLconfs if no named arguments are defined. Positional and keyword
arguments are never combined.
2015-03-12 09:18:39 -04:00
Claude Paroz
578ac17f81
Made runserver use leave_locale_alone
2015-03-09 18:59:27 +01:00
Marten Kenbeek
e272904ff7
Fixed #23407 -- Extended coverage of makemigrations --noinput option.
...
Changed --noinput option in makemigrations to suppress all user prompts,
not just when combined with --merge.
2015-03-08 19:44:14 +01:00
Bas Peschier
336512fae7
Fixed #23173 -- Fixed incorrect stripping of SCRIPT_URL
2015-03-08 15:48:27 +01:00
Claude Paroz
767c33d1fa
Fixed #24369 -- Prevented crash when flushing before db migration
...
Thanks Thomas Tanner for the report and Tim Graham for the review.
2015-03-05 08:57:28 +01:00
Claude Paroz
23c612199a
Simplified emit_post_migrate from flush command
...
Follow-up of f4f24d30e0
.
2015-02-28 16:10:32 +01:00
Claude Paroz
90ab6ee612
Revert "Fixed #24369 -- Prevented crash when `flush`ing before db migration"
...
This reverts commit 9f1dbe29c0
.
The proposed solution does not pass the test suite.
2015-02-28 12:11:27 +01:00
Claude Paroz
9f1dbe29c0
Fixed #24369 -- Prevented crash when `flush`ing before db migration
...
Thanks Thomas Tanner for the report.
2015-02-28 10:12:32 +01:00
Aymeric Augustin
556a74879f
Fixed a few uses of Template that relied on a default engine.
...
Refs #24389 .
2015-02-22 23:13:55 +01:00
Aymeric Augustin
c688460df6
Removed rmtree_errorhandler.
...
The stated reason for its introduction in d18d37ce
no longer applies
since Django's code repository was switched from Subversion to git.
Furthermore it never had any effect because shutil.rmtree ignores its
onerror argument when ignore_errors is True.
The reason for its use in template management commands is unclear.
2015-02-22 23:09:42 +01:00
Loic Bistuer
bed504d70b
Fixed #24351 , #24346 -- Changed the signature of allow_migrate().
...
The new signature enables better support for routing RunPython and
RunSQL operations, especially w.r.t. reusable and third-party apps.
This commit also takes advantage of the deprecation cycle for the old
signature to remove the backward incompatibility introduced in #22583 ;
RunPython and RunSQL won't call allow_migrate() when when the router
has the old signature.
Thanks Aymeric Augustin and Tim Graham for helping shape up the patch.
Refs 22583.
2015-02-20 21:34:09 +07:00
Alex Vidal
e467919c63
Fixed typo in django.core.servers.basehttp message.
2015-02-19 19:31:49 -05:00
Tim Graham
81a94cc616
Refs #24324 -- Fixed makemessages crash when Django is installed in a non-ASCII path.
2015-02-17 08:06:33 -05:00
Tim Graham
4a0aeac1b5
Refs #24324 -- Fixed management command discovery on non-ASCII paths.
2015-02-17 07:27:47 -05:00
Andriy Sokolovskiy
5c995dcfc2
Fixed #24320 - Used field.value_to_string() in serialization of foreign key.
...
This fixes serialization of a ForeignKey to a UUIDField as the
test indicates.
2015-02-13 12:37:23 -05:00
Markus Holtermann
f287bec583
Fixed #24184 -- Prevented automatic soft-apply of migrations
...
Previously Django only checked for the table name in CreateModel
operations in initial migrations and faked the migration automatically.
This led to various errors and unexpected behavior. The newly introduced
--fake-initial flag to the migrate command must be passed to get the
same behavior again. With this change Django will bail out in with a
"duplicate relation / table" error instead.
Thanks Carl Meyer and Tim Graham for the documentation update, report
and review.
2015-02-13 14:29:59 +01:00