added is_pushed and some "styling"
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user