Add queued Apache configuration previews
Persist preview requests before dispatch and render them with Celery and RabbitMQ. Show completed previews in Django admin and document the grouped PR workflow.
This commit is contained in:
1 parent
695c8ed212
commit
84d94f7efa
14 files changed
+313
-5
No files matched your search
@@ -10,3 +10,15 @@ class HostingAccount(models.Model):
|
||||
|
||||
def __str__(self):
|
||||
return str(self.primary_domain)
|
||||
|
||||
|
||||
class WebProvisioningPlan(models.Model):
|
||||
account = models.ForeignKey(HostingAccount, on_delete=models.CASCADE)
|
||||
primary_domain = DomainNameField(max_length=253)
|
||||
requested_at = models.DateTimeField(auto_now_add=True)
|
||||
last_dispatched_at = models.DateTimeField(null=True, blank=True)
|
||||
completed_at = models.DateTimeField(null=True, blank=True)
|
||||
apache_config = models.TextField(blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.primary_domain)
|
||||
Reference in new issue
Block a user