summaryrefslogtreecommitdiff
path: root/project/scipycon/proceedings/models.py
diff options
context:
space:
mode:
authorMadhusudan.C.S2010-07-14 19:34:12 +0530
committerMadhusudan.C.S2010-07-14 19:34:12 +0530
commit757267b3028fe5b1cd8b006df85f1f20c962ad0a (patch)
tree3180476da69e0b2f5a83a6122f5cca73133f86d9 /project/scipycon/proceedings/models.py
parent9d1eb5461b49eedb5fd771026cea3ac431bb889e (diff)
downloadscipycon-757267b3028fe5b1cd8b006df85f1f20c962ad0a.tar.gz
scipycon-757267b3028fe5b1cd8b006df85f1f20c962ad0a.tar.bz2
scipycon-757267b3028fe5b1cd8b006df85f1f20c962ad0a.zip
Added base app from which all other apps inherit and made corresponding changes in other apps.
Diffstat (limited to 'project/scipycon/proceedings/models.py')
-rw-r--r--project/scipycon/proceedings/models.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/project/scipycon/proceedings/models.py b/project/scipycon/proceedings/models.py
index 5a76503..3e9e175 100644
--- a/project/scipycon/proceedings/models.py
+++ b/project/scipycon/proceedings/models.py
@@ -1,11 +1,10 @@
-# -*- coding: utf-8 -*-
-from __future__ import absolute_import
-
from django.db import models
from django.contrib.auth.models import User
+from project.scipycon.base import models as base_models
+
-class Paper(models.Model):
+class Paper(base_models.Base):
"""Data model for storing proceedings paper.
"""
@@ -22,7 +21,7 @@ class Paper(models.Model):
authors = models.ManyToManyField(User)
-class Attachments(models.Model):
+class Attachments(models.Base):
"""Stores attachments for papers.
"""