Loic Bistuer
|
e565e1332d
|
Fixed #21275 -- Fixed a serializer error when generating migrations for contrib.auth.
The migration serializer now looks for a deconstruct method on any object.
|
2013-10-21 14:54:52 -04:00 |
Loic Bistuer
|
8d6953d55c
|
Added support for serializing class methods. - Refs #21290.
The new handling allows us to do away with the whitelisting that was
required to support date and datetime objects.
|
2013-10-19 12:10:18 -04:00 |
Loic Bistuer
|
584110417f
|
Fixed #21283 -- Added support for migrations if models is a package.
Thanks Markus Holtermann for the report.
|
2013-10-19 09:48:57 -04:00 |
Andrew Godwin
|
763ac8b642
|
First pass on squashmigrations command; files are right, execution not.
|
2013-10-16 12:00:07 +01:00 |
Loic Bistuer
|
d59f1993f1
|
Made MigrationWriter look for a "deconstruct" attribute on functions.
Refs #20978.
|
2013-09-10 10:12:23 -04:00 |
Loic Bistuer
|
adc0ab3386
|
Fixed #21037 -- Made MigrationWriter raise a ValueError when serializing lambda functions.
|
2013-09-06 20:13:01 -04:00 |
Loic Bistuer
|
ff9e116198
|
Fixed #21008 -- Made MigrationWriter handle Promise objects.
|
2013-08-31 20:26:44 -04:00 |
Simon Charette
|
11cd7388f7
|
Fixed #20989 -- Removed useless explicit list comprehensions.
|
2013-08-30 10:57:51 -04:00 |
Andrew Godwin
|
9f73629420
|
utils.importlib is deprecated
|
2013-08-09 17:36:16 +01:00 |
Andrew Godwin
|
c8cbdabfab
|
Fix Python 3 support
|
2013-07-26 17:08:12 +01:00 |
Andrew Godwin
|
f25a385a5e
|
Makemigration command now works
|
2013-06-19 16:23:52 +01:00 |
Andrew Godwin
|
91c470def5
|
Auto-naming for migrations and some writer fixes
|
2013-06-07 17:56:43 +01:00 |
Andrew Godwin
|
c7aa4b5338
|
Field encoding
|
2013-06-07 15:36:31 +01:00 |
Andrew Godwin
|
4492f06408
|
A bit of an autodetector and a bit of a writer
|
2013-06-07 15:28:38 +01:00 |