software powering 0xdb.org and Pad.ma is called pandora now

This commit is contained in:
j 2010-02-16 15:52:34 +05:30
commit 7c0e365a0a
46 changed files with 30 additions and 21 deletions

13
pandora/app/models.py Normal file
View file

@ -0,0 +1,13 @@
from django.db import models
# Create your models here.
class Page(models.Model):
created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True)
name = models.CharField(max_length=1024, unique=True)
body = models.TextField(blank=True)
def __unicode__(self):
return self.name