extracss = models.ManyToManyField(CSSDocument, null=True, blank=True)
folder = models.ForeignKey('Folder', null=True, blank=True)
format = models.CharField(max_length=10, choices=FORMAT_CHOICES)
slug = models.SlugField()
content = models.TextField()
extracss = models.ManyToManyField(CSSDocument, null=True, blank=True)
folder = models.ForeignKey('Folder', null=True, blank=True)
format = models.CharField(max_length=10, choices=FORMAT_CHOICES)
slug = models.SlugField()
content = models.TextField()
def save(self, force_insert=False, force_update=False):
super(Folder, self).save(force_insert, force_update)
if self.parent == None:
def save(self, force_insert=False, force_update=False):
super(Folder, self).save(force_insert, force_update)
if self.parent == None: