Closed ojengwa closed 8 years ago
You need to update the database engine in the settings :)
Still having the same error. Here's my DB's default engine:
'ENGINE': 'django.db.backends.postgresql',
I am on Django 1.9.4. It was working before I added tenant_schemas
.
Thanks!!! @mikicz :)
Hi guys,
i have put the same settings as the tutorial
'ENGINE': 'tenant_schemas.postgresql_backend',
but i still having the same error when trying to run _migrateschema --shared
the error is:
'DatabaseWrapper' object has no attribute 'set_schema_to_public'
@mehemmelbachir sure?, see please this tutorial and check if you have the correct settings: https://github.com/bernardopires/django-tenant-schemas/blob/master/examples/tenant_tutorial/tenant_tutorial/settings.py#L14
I followed the example in the documentations but I get this error:
What could I be getting wrong, please? :)