models changed to add date

This commit is contained in:
sanj 2010-12-30 20:28:15 +05:30
parent 316e8f787e
commit 8e53e4aa95

View File

@ -1,6 +1,7 @@
from django.db import models
class PadmaText(models.Model):
date = models.DateField(null=True)
title = models.CharField(max_length=512)
slug = models.SlugField()
author = models.CharField(max_length=512, blank=True)