app/soc/models/user.py
changeset 533 ba3309b2fd30
parent 529 7c5ec72cdcf1
child 540 e14e9cf23097
--- a/app/soc/models/user.py	Fri Nov 21 08:38:53 2008 +0000
+++ b/app/soc/models/user.py	Fri Nov 21 08:41:23 2008 +0000
@@ -28,10 +28,10 @@
 
 from django.utils.translation import ugettext_lazy
 
-from soc.models import base
+import soc.models.linkable
 
 
-class User(base.ModelWithFieldAttributes):
+class User(soc.models.linkable.Linkable):
   """A user and associated login credentials, the fundamental identity entity.
 
   User is a separate Model class from Person because the same login 
@@ -80,14 +80,6 @@
   public_name = db.StringProperty(required=True,
       verbose_name=ugettext_lazy('Public name'))
       
-  #: Required field storing link_id used in URLs to identify user.
-  #: Lower ASCII characters only.
-  link_id = db.StringProperty(required=True,
-      verbose_name=ugettext_lazy('Link ID'))
-  link_id.help_text = ugettext_lazy(
-      'Field used in URLs to identify user. '
-      'Lower ASCII characters only.')
-
   #: field storing whether User is a Developer with site-wide access.
   is_developer = db.BooleanProperty(
       verbose_name=ugettext_lazy('Is Developer'))