models order

This commit is contained in:
sanj 2010-11-11 05:56:15 +05:30
parent b90940d305
commit 89c6273c53

View File

@ -1,8 +1,8 @@
from django.db import models from django.db import models
class PadmaText(models.Model): class PadmaText(models.Model):
slug = models.SlugField()
title = models.CharField(max_length=512) title = models.CharField(max_length=512)
slug = models.SlugField()
author = models.CharField(max_length=512, blank=True) author = models.CharField(max_length=512, blank=True)
author_bio = models.TextField(blank=True) author_bio = models.TextField(blank=True)
abstract = models.TextField(blank=True) abstract = models.TextField(blank=True)