models changed to add date
This commit is contained in:
parent
316e8f787e
commit
8e53e4aa95
|
@ -1,6 +1,7 @@
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
|
||||||
class PadmaText(models.Model):
|
class PadmaText(models.Model):
|
||||||
|
date = models.DateField(null=True)
|
||||||
title = models.CharField(max_length=512)
|
title = models.CharField(max_length=512)
|
||||||
slug = models.SlugField()
|
slug = models.SlugField()
|
||||||
author = models.CharField(max_length=512, blank=True)
|
author = models.CharField(max_length=512, blank=True)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user