Quickfix to solve ;
1 2 3 4 5 6 7 8 | migration_module = import_module("%s.%s" % (module_name, migration_name)) File "C:\Python27\lib\importlib\__init__.py", line 37, in import_module __import__(name) File "D:\Python\vasham\dashboards\migrations\0004_auto_20141112_1644.py", line 7, in <module> class Migration(migrations.Migration): File "D:\Python\vasham\dashboards\migrations\0004_auto_20141112_1644.py", line 18, in Migration preserve_default=True, TypeError: __init__() got an unexpected keyword argument ‘preserve_default’ |
Is
1 | pip install django –upgrade |