-
Notifications
You must be signed in to change notification settings - Fork 11
Conversation
…ords for your USERSETTINGS_MODEL
Im not sure how this passed all the tests!
So the test should fail. Please correct me if I'm wrong. EDIT: Thank you for your pull request. |
If you look at django function https://github.com/django/django/blob/master/django/db/models/fields/__init__.py#L720 you'll see that mostly return empty string when no default. Thats why model can be created without defining fields. But I've got your message and made some checks. |
Thank you for a quick response. I did not know about However, this management command would still fail (to batch add usersettings) if the While I realise, you have added a |
So, it was my suggestion. Because for me it is very useful. |
I close this for now. I'll take this idea of into consideration for the next release, see if I can figure out a way to batch create usersettings.... may be using some sort of fixtures. I'll look into issue #3 .. that's a big oversight in my side (Sorry). I should have thought of that. I will push a fix as soon as I can. Hopefully, all I'll have to do is a put |
Allow you to initialize db records for your USERSETTINGS_MODEL.
With tests.