Permalink
Browse files

renamed Contact to TransientContact and removed fields that don't belong

  • Loading branch information...
brosner committed Apr 15, 2010
1 parent 3453617 commit 9936e591cd62ce54bfd556053ec32ceef62c73eb
Showing with 1 addition and 5 deletions.
  1. +1 −5 contacts_import/models.py
@@ -5,16 +5,12 @@
from django.contrib.auth.models import User
-class Contact(models.Model):
+class TransientContact(models.Model):
# The user who created this contact
user = models.ForeignKey(User, related_name="contacts")
name = models.CharField(max_length=100, blank=True)
email = models.EmailField()
- added = models.DateField(default=date.today)
-
- # the user(s) this contact ultimately corrosponds to
- users = models.ManyToManyField(User)
def __unicode__(self):
return "%s (%s's contact)" % (self.email, self.user)

0 comments on commit 9936e59

Please sign in to comment.