Show measured website storage on hosting accounts
This commit is contained in:
1 parent
9be1fa17b7
commit
eeea33013f
11 files changed
+419
-1
No files matched your search
@@ -377,6 +377,15 @@ class WebActivation(ProvisioningJob):
|
||||
)
|
||||
|
||||
|
||||
class SiteStorageUsage(ProvisioningJob):
|
||||
account = models.OneToOneField(
|
||||
HostingAccount, on_delete=models.CASCADE, related_name="storage_usage"
|
||||
)
|
||||
domain = DomainNameField(max_length=253)
|
||||
used_bytes = models.PositiveBigIntegerField(null=True, blank=True)
|
||||
measured_at = models.DateTimeField(null=True, blank=True)
|
||||
|
||||
|
||||
class WebHTTPS(ProvisioningJob):
|
||||
plan = models.OneToOneField(
|
||||
WebProvisioningPlan, on_delete=models.CASCADE, related_name="https"
|
||||
|
||||
Reference in new issue
Block a user