added is_pushed and some "styling"

This commit is contained in:
Holger Sielaff
2024-07-13 10:19:49 +02:00
parent 3640ab759d
commit e7b2dff233
7 changed files with 24 additions and 13 deletions

View File

@@ -32,4 +32,10 @@ class NameAware(models.Model):
name = models.CharField(max_length=100, unique=True, db_index=True)
class PublishedAware(models.Model):
class Meta:
abstract= True
is_published = models.BooleanField(default=False, blank=True)