diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2013-07-09 16:18:03 +0100 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2013-07-09 16:18:03 +0100 |
commit | 57e3758f5e23a4bf87e060429741c6ce465cf4e4 (patch) | |
tree | f43bec29dbc33468d2ba4b300e596ffe106678e1 | |
parent | 5f578ad17ce98661e8528d0ff7885fe7e5b84ef8 (diff) |
Don't bother to use is_crowd_user.
This field is only set, never used. Yes, it would be good to differentiate
from-Crowd users, but not the expense of breaking compatibility (adding extra
fields to system table breaks migrations in 3rd party products, etc.). Ideally,
there should be separate table with foreign key to User.
-rw-r--r-- | crowdrest/backend.py | 2 | ||||
-rw-r--r-- | crowdrest/models.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crowdrest/backend.py b/crowdrest/backend.py index ff3fd74..30d1f96 100644 --- a/crowdrest/backend.py +++ b/crowdrest/backend.py @@ -66,7 +66,7 @@ class CrowdRestBackend(object): saveUser = False if created: - user.is_crowd_user = True + #user.is_crowd_user = True user.set_unusable_password() saveUser = True diff --git a/crowdrest/models.py b/crowdrest/models.py index e9d3bee..41017ef 100644 --- a/crowdrest/models.py +++ b/crowdrest/models.py @@ -1,4 +1,4 @@ from django.contrib.auth.models import User from django.db import models -models.BooleanField(default=False,help_text=("Crowd backed user?")).contribute_to_class(User,'is_crowd_user')
\ No newline at end of file +#models.BooleanField(default=False,help_text=("Crowd backed user?")).contribute_to_class(User,'is_crowd_user')
\ No newline at end of file |