Add the hosting account administration foundation
This commit is contained in:
1 parent
c5bcd9eb4d
commit
695c8ed212
14 files changed
+330
No files matched your search
@@ -0,0 +1,12 @@
|
||||
from django.db import models
|
||||
|
||||
from .fields import DomainNameField
|
||||
|
||||
|
||||
class HostingAccount(models.Model):
|
||||
name = models.CharField(max_length=120)
|
||||
primary_domain = DomainNameField(max_length=253, unique=True)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.primary_domain)
|
||||
Reference in new issue
Block a user