X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fmodels.py;h=79cb25d307ce500d7ef31028f3be33969b8c967e;hb=4ee78b17e6c8bb54fc94bcddd6b0abb3d8c1a0fc;hp=316ed54438e8669891849564aa32b61e9f66f74b;hpb=4b33467baf861ce0e1e43b46d64d51db35577040;p=myslice.git diff --git a/portal/models.py b/portal/models.py index 316ed544..79cb25d3 100644 --- a/portal/models.py +++ b/portal/models.py @@ -1,3 +1,25 @@ +# -*- coding: utf-8 -*- +# +# portal/models.py: models for the portal application +# This file is part of the Manifold project. +# +# Authors: +# Jordan Augé +# Copyright 2013, UPMC Sorbonne Universités / LIP6 +# +# This program is free software; you can redistribute it and/or modify it under +# the terms of the GNU General Public License as published by the Free Software +# Foundation; either version 3, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# this program; see the file COPYING. If not, write to the Free Software +# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + from django.db import models # Create your models here. @@ -7,6 +29,8 @@ class Institution(models.Model): # list of associated email domains class PendingUser(models.Model): + # NOTE We might consider migrating the fields to CharField, which would + # simplify form creation in forms.py first_name = models.TextField() last_name = models.TextField() email = models.TextField()