From 5e6d967b1bf14b715b306d8bc7637f94a813757b Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Mon, 4 Apr 2011 21:04:33 +0200 Subject: cleanup and turn form into wizard --- .../meetingtools/apps/userprofile/__init__.py | 0 .../meetingtools/apps/userprofile/admin.py | 4 ---- .../meetingtools/apps/userprofile/models.py | 21 --------------------- 3 files changed, 25 deletions(-) delete mode 100644 src/templates/meetingtools/apps/userprofile/__init__.py delete mode 100644 src/templates/meetingtools/apps/userprofile/admin.py delete mode 100644 src/templates/meetingtools/apps/userprofile/models.py (limited to 'src/templates/meetingtools/apps/userprofile') diff --git a/src/templates/meetingtools/apps/userprofile/__init__.py b/src/templates/meetingtools/apps/userprofile/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/src/templates/meetingtools/apps/userprofile/admin.py b/src/templates/meetingtools/apps/userprofile/admin.py deleted file mode 100644 index 21ca598..0000000 --- a/src/templates/meetingtools/apps/userprofile/admin.py +++ /dev/null @@ -1,4 +0,0 @@ -from django.contrib import admin -from meetingtools.apps.userprofile.models import UserProfile - -admin.site.register(UserProfile) \ No newline at end of file diff --git a/src/templates/meetingtools/apps/userprofile/models.py b/src/templates/meetingtools/apps/userprofile/models.py deleted file mode 100644 index b0bc7ae..0000000 --- a/src/templates/meetingtools/apps/userprofile/models.py +++ /dev/null @@ -1,21 +0,0 @@ -''' -Created on Jul 5, 2010 - -@author: leifj -''' -from django.db import models -from django.contrib.auth.models import User - -class UserProfile(models.Model): - user = models.ForeignKey(User,blank=True,related_name='profile') - display_name = models.CharField(max_length=255,blank=True) - email = models.EmailField(blank=True) - idp = models.CharField(max_length=255) - timecreated = models.DateTimeField(auto_now_add=True) - lastupdated = models.DateTimeField(auto_now=True) - - def __unicode__(self): - return "%s - %s" % (self.user.username,self.display_name) - -def profile(user): - return UserProfile.objects.get(user=user) -- cgit v1.1