diff legacy/management/commands/import_old_users.py @ 789:9e803323a0d0

Removing AUTH_PROFILE_MODULE and get_profile().
author Brian Neal <bgneal@gmail.com>
date Fri, 23 May 2014 15:10:11 -0500
parents ee87ea74d46b
children
line wrap: on
line diff
--- a/legacy/management/commands/import_old_users.py	Sun May 18 17:43:37 2014 -0500
+++ b/legacy/management/commands/import_old_users.py	Fri May 23 15:10:11 2014 -0500
@@ -139,7 +139,7 @@
 
         u.save()
 
-        p = u.get_profile()
+        p = u.profile
         p.location = row['user_from'].decode('latin-1')
         p.occupation = row['user_occ'].decode('latin-1')
         p.interests = row['user_interests'].decode('latin-1')