django-tenants added, and configurated customers app
This commit is contained in:
10
core/apps/customers/models/client.py
Normal file
10
core/apps/customers/models/client.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.db import models
|
||||
|
||||
from django_tenants.models import TenantMixin
|
||||
|
||||
|
||||
class Client(TenantMixin):
|
||||
name = models.CharField(max_length=100)
|
||||
created_at = models.DateField(auto_now_add=True)
|
||||
|
||||
auto_create_schema = True
|
||||
Reference in New Issue
Block a user