Added models validator for REQUIRED_FIELDS not being a list. #862

wants to merge 2 commits into


None yet

2 participants

I spent some time debugging createsuperuser raising optparse.OptionConflictError. I forgot to make REQUIRED_FIELDS custom user model a list. This validation error should help others avoid my mistake.


You should open a ticket in trac and link it to this PR. We mainly use PR to review patches.

Concerning the patch, shouldn't tuple be also allowed or even preferred in this case?

Sorry, I had read in the docs that a ticket wasn't necessary if its a small update, and I thought this fell in that case.

I'm sure tuple would also be acceptable, but I was just followed the documentation.

Edit: Ticket submitted to trac here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment