Skip to content

Commit

Permalink
Fixes some of issues with the example projects
Browse files Browse the repository at this point in the history
  • Loading branch information
tomturner committed Apr 6, 2021
1 parent 656e96d commit 082716b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
WSGI_APPLICATION = 'tenant_multi_types_tutorial.wsgi.application'

HAS_MULTI_TYPE_TENANTS = True
MULTI_TYPE_DATABASE_FIELD = 'type' # needs to be a char field length depends of the max type value
MULTI_TYPE_DATABASE_FIELD = 'type' # needs to be a char field length depends on the max size of the type value

TENANT_TYPES = {
"public": { # this is the name of the public schema from get_public_schema_name
Expand Down
2 changes: 1 addition & 1 deletion examples/tenant_multi_types/tenant_type_one_only/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@


class TenantOnlyConfig(AppConfig):
name = 'tenant_only'
name = 'tenant_type_one_only'

0 comments on commit 082716b

Please sign in to comment.