11 lines
249 B
Python
11 lines
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
|