It works!

This commit is contained in:
Daniel Quinn committed 2015-12-20 19:23:33 +00:00
1 parent cbc8c25f3b
commit 855ee64097
17 files changed
+392

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
from django.db import models
class Document(models.Model):
sender = models.CharField(max_length=128, blank=True, db_index=True)
title = models.CharField(max_length=128, blank=True, db_index=True)
content = models.TextField(db_index=True)
created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True)