django-tenant-schemas icon indicating copy to clipboard operation
django-tenant-schemas copied to clipboard

Support the UserModel living in the Shared Schema (for createsuperuser Command)

Open JamesMaroney opened this issue 6 years ago • 0 comments
trafficstars

In order to support a special requirement I have that the superusers should exist in the shared schema, I had to make a small change to the overridden createsuperuser Command. Now it only overrides the django-defined version if the UserModel isn't in the settings.SHARED_APPS registry.

JamesMaroney avatar Nov 20 '18 23:11 JamesMaroney