Andrew Godwin
|
64887c644a
|
Fixed #21142: Dependency failures on unmigrated apps.
|
2014-01-08 13:00:12 +00:00 |
Aymeric Augustin
|
20d487c27b
|
Replaced Options.object_name.lower() by Options.model_name.
Thanks Simon for the suggestion.
Also removed inappropriate lowercasing of app labels in migrations.
Unlike model names, they are case sensitive.
|
2013-12-29 18:48:37 +01:00 |
Aymeric Augustin
|
1716b7ce5a
|
Renamed AppCache to Apps.
Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
|
2013-12-24 12:25:17 +01:00 |
Andrew Godwin
|
cee4fe7307
|
Better default name for migrations we can't give nice names to
|
2013-12-11 13:23:07 +00:00 |
Andrew Godwin
|
248fdb1110
|
Change FKs when what they point to changes
|
2013-12-11 13:16:29 +00:00 |
Baptiste Mispelon
|
72479a2957
|
Made the migration detector use meta.local_fields instead of meta.fields.
Refs #21010.
Thanks to Loïc for the patch.
|
2013-12-06 15:23:21 +01:00 |
Andrew Godwin
|
3b8e46cbc7
|
Migration VCS conflict detection and --merge for makemigrations
|
2013-12-04 16:01:49 +00:00 |
Andrew Godwin
|
ce05b8a69e
|
Don't make a second migration if there was a force-null-default addcol.
|
2013-12-04 13:56:22 +00:00 |
Simon Charette
|
42ac138009
|
Fixed a deprecation warning introduced by 96dd48c83f .
|
2013-11-28 21:42:24 -05:00 |
Andrew Godwin
|
96dd48c83f
|
Change initial migration writing to work as docs suggest.
Application template now includes an empty migrations module, and
the autodetector will only make initial migrations for apps with
empty modules.
|
2013-11-27 12:34:31 +00:00 |
Milton Mazzarri
|
cbc7cbbc5b
|
Fixed flake8 E251 violations
|
2013-11-03 03:22:11 -06:00 |
Markus Holtermann
|
5a424c2393
|
Fixed #21114 -- Migrations must not have a dependency to themselves.
|
2013-09-17 11:47:19 -04:00 |
Andrew Godwin
|
05e14e8eaf
|
Migration autodetector now corerctly deals with proxy models
|
2013-09-06 12:39:46 -05:00 |
Simon Charette
|
11cd7388f7
|
Fixed #20989 -- Removed useless explicit list comprehensions.
|
2013-08-30 10:57:51 -04:00 |
Andrew Godwin
|
2e7f45a372
|
Change autodetector changes API to be just one method
|
2013-08-21 22:25:15 +01:00 |
Andrew Godwin
|
21be9fef7b
|
Stop being overcautious about Field.rel
|
2013-08-11 00:01:30 +01:00 |
Andrew Godwin
|
7970d97a70
|
Docs tweaks (thanks timgraham)
|
2013-08-10 20:00:12 +01:00 |
Andrew Godwin
|
9b4a789eef
|
Add [y/n] to autodetector questions and allow for default value
|
2013-08-09 17:45:19 +01:00 |
Andrew Godwin
|
c8cbdabfab
|
Fix Python 3 support
|
2013-07-26 17:08:12 +01:00 |
Andrew Godwin
|
3b20af3e96
|
Autodetection of unique_together changes
|
2013-07-02 11:25:18 +01:00 |
Andrew Godwin
|
e2d7e83256
|
Autodetect ForeignKeys and add dependencies/split on circulars
|
2013-06-22 17:15:51 +01:00 |
Andrew Godwin
|
cca40703df
|
Prompt about renames rather than doing them automatically
|
2013-06-21 15:32:15 +01:00 |
Andrew Godwin
|
92a10f5552
|
Autodetect field renames. HAHAHA. AHAHAHAHA. YES.
|
2013-06-20 16:02:43 +01:00 |
Andrew Godwin
|
47e4b86ddf
|
Autodetect field alters
|
2013-06-20 15:19:30 +01:00 |
Andrew Godwin
|
73e30e9d3b
|
Better naming, and prompt for NOT NULL field addition
|
2013-06-19 17:01:48 +01:00 |
Andrew Godwin
|
41214eaf18
|
Autodetect fields, have migrate actually work
|
2013-06-19 16:41:04 +01:00 |
Andrew Godwin
|
f25a385a5e
|
Makemigration command now works
|
2013-06-19 16:23:52 +01:00 |
Andrew Godwin
|
ab5cbae9b7
|
First stab at some migration creation commands
|
2013-06-19 15:36:22 +01:00 |
Andrew Godwin
|
91c470def5
|
Auto-naming for migrations and some writer fixes
|
2013-06-07 17:56:43 +01:00 |
Andrew Godwin
|
cd809619a2
|
Autodetector tests
|
2013-06-07 15:49:48 +01:00 |
Andrew Godwin
|
4492f06408
|
A bit of an autodetector and a bit of a writer
|
2013-06-07 15:28:38 +01:00 |