-
Notifications
You must be signed in to change notification settings - Fork 34
corsheaders makes dumpdata management command unavailable #16
Comments
Thanks for the report. Fix incoming soon. |
This fix is important. |
I just ran |
This is really problematic. :-( |
@vhf Sorry, I think I am missing something here. Why are you adding empty migration instead of a real one? |
@IlianIliev please submit a better patch. |
@vhf any comments? |
I just found out that I have made a mistake and the migrations were not actually installed which led to issues when running some commands e.g. |
Manually running
makemigrations
also doesn’t help, because there is nomigrations
module exists under corsheaders. I know from the sources that it is optional (and undocumented!) to use a model for whitelisting, but bricking management commands is not a Good Way To Go™Adding
corsheaders/migrations/__init__.py
solves the problem, though.The text was updated successfully, but these errors were encountered: