Add the hosting account administration foundation

This commit is contained in:
parkel committed 2026-11-19 21:08:13 +01:00
1 parent c5bcd9eb4d
commit 695c8ed212
14 files changed
+330

No files matched your search

+12
View File
@@ -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)