diff options
author | Madhusudan.C.S | 2010-07-14 19:34:12 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2010-07-14 19:34:12 +0530 |
commit | 757267b3028fe5b1cd8b006df85f1f20c962ad0a (patch) | |
tree | 3180476da69e0b2f5a83a6122f5cca73133f86d9 /project/scipycon/proceedings/models.py | |
parent | 9d1eb5461b49eedb5fd771026cea3ac431bb889e (diff) | |
download | scipycon-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.py | 9 |
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. """ |