/documents/models.py

http://django-jchat.googlecode.com/ · Python · 8 lines · 4 code · 2 blank · 2 comment · 0 complexity · 7675ea21ed3101db43af3b03a3fd1a61 MD5 · raw file

  1. from django.db import models
  2. # Create your models here.
  3. class Document(models.Model):
  4. """Dummy document model, just for testing use"""
  5. title = models.CharField(max_length=100)
  6. description = models.CharField(max_length=1500)