From e9ed5af643f96f92f2a9e97c3b751efff8727b6d Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Tue, 13 Jul 2010 17:59:47 +0530 Subject: Moved the files to new Django app named scipycon and modified settings. --- project/kiwipycon/proceedings/models.py | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 project/kiwipycon/proceedings/models.py (limited to 'project/kiwipycon/proceedings/models.py') diff --git a/project/kiwipycon/proceedings/models.py b/project/kiwipycon/proceedings/models.py deleted file mode 100644 index 5a76503..0000000 --- a/project/kiwipycon/proceedings/models.py +++ /dev/null @@ -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) -- cgit