allow to disable listing
This commit is contained in:
parent
42050d069b
commit
25b91fb01b
6 changed files with 44 additions and 4 deletions
|
@ -98,6 +98,7 @@ class CloudProvider(models.Model):
|
|||
blank=True,
|
||||
)
|
||||
is_featured = models.BooleanField(default=False)
|
||||
disable_listing = models.BooleanField(default=False)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
@ -125,6 +126,8 @@ class Service(models.Model):
|
|||
features = ProseEditorField()
|
||||
is_featured = models.BooleanField(default=False)
|
||||
is_coming_soon = models.BooleanField(default=False)
|
||||
disable_listing = models.BooleanField(default=False)
|
||||
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
|
||||
|
@ -176,6 +179,8 @@ class ConsultingPartner(models.Model):
|
|||
)
|
||||
|
||||
is_featured = models.BooleanField(default=False)
|
||||
disable_listing = models.BooleanField(default=False)
|
||||
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
|
||||
|
@ -207,6 +212,8 @@ class ServiceOffering(models.Model):
|
|||
null=True,
|
||||
)
|
||||
|
||||
disable_listing = models.BooleanField(default=False)
|
||||
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
updated_at = models.DateTimeField(auto_now=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue