You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-19Lines changed: 10 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -5,23 +5,20 @@ to the database scheme.
5
5
6
6
Based on [django-add-default-value](https://github.com/3YOURMIND/django-add-default-value/) by [3YOURMIND](https://github.com/3YOURMIND). This variant drops support for other databases, specifically the Azure ODBC driver which does not support current versions of Django.
@@ -64,25 +59,21 @@ Modify the migration to add a default value:
64
59
+ )
65
60
]
66
61
67
-
If you check ``python manage.py sqlmigrate [app name] [migration]``,
62
+
If you check `python manage.py sqlmigrate [app name] [migration]`,
68
63
you will see that the default value now gets set.
69
64
70
-
71
-
72
65
## Testing
73
66
74
67
You can test against multiple versions of Django using `tox`. To test across Python versions, use pyenv to run `tox` under each version.
75
68
76
-
77
-
78
69
## License
79
70
80
71
django-add-default-value-postgresql is released under the Apache 2.0 License, based on [django-add-default-value](https://github.com/3YOURMIND/django-add-default-value/) by [3YOURMIND](https://github.com/3YOURMIND) which is also released under the Apache 2.0 License.
81
72
82
73
### Changes from original source
83
74
84
-
* removed MySQL-related code
85
-
* removed MSSQL-related code
86
-
* added allow_migrate_model check on database_forwards and database_backwards
87
-
* added support for Python 3.7and 3.8, dropped support for <3.6
88
-
* added support for Django 2.2 and 3.0, dropped support for <2.2
75
+
- removed MySQL-related code
76
+
- removed MSSQL-related code
77
+
- added allow_migrate_model check on database_forwards and database_backwards
78
+
- added support for Python 3.7, 3.8, and 3.9, dropped support for <3.6
79
+
- added support for Django 2.2 and 3.0, dropped support for <2.2
0 commit comments