software powering 0xdb.org and Pad.ma is called pandora now
This commit is contained in:
parent
e724c67f05
commit
7c0e365a0a
46 changed files with 30 additions and 21 deletions
13
pandora/app/models.py
Normal file
13
pandora/app/models.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue