JourneyJoker/clients/models.py

11 lines
No EOL
249 B
Python

from django.db import models
from django.contrib.auth import get_user_model
class Profile(models.Model):
user = models.ForeignKey(get_user_model(), models.CASCADE)
class ClientProfile(Profile):
pass
class PartnerProfile(Profile):
pass