project/kiwipycon/proceedings/models.py
changeset 94 87e77aa18610
parent 93 e86755df35da
child 95 f94e0cd9a862
--- a/project/kiwipycon/proceedings/models.py	Thu Apr 01 11:59:35 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-# -*- coding: utf-8 -*-
-from __future__ import absolute_import
-
-from django.db import models
-from django.contrib.auth.models import User
-
-
-class Paper(models.Model):
-    """Data model for storing proceedings paper.
-    """
-
-    # Title of the paper
-    title = models.CharField(max_length=200)
-
-    # Abstract to be published with the paper
-    abstract = models.TextField()
-
-    # Body text of the paper
-    body = models.TextField()
-
-    # Authors
-    authors = models.ManyToManyField(User)
-
-
-class Attachments(models.Model):
-    """Stores attachments for papers.
-    """
-
-    # Attachment for generating paper
-    attachments = models.FileField(upload_to='attachments/%Y/%m/%d')
-
-    # The paper to which this attachment belongs to
-    paper = models.ForeignKey(Paper)