Skip to content

Commit

Permalink
removed pc conflict policy
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanqasaur committed Jul 4, 2015
1 parent dd672a9 commit 80b913a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/conf/conf/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class UserPCConflict(Model):
user = ForeignKey(UserProfile, null=True, related_name='userpcconflict_user')
pc = ForeignKey(UserProfile, null=True, related_name='userpcconflict_pc')

'''
@staticmethod
def jeeves_get_private_user(uppc):
return None
Expand All @@ -52,6 +53,7 @@ def jeeves_get_private_pc(uppc):
def jeeves_restrict_userpcconflictlabel(uppc, ctxt):
return True
#return ctxt.level == 'chair' or uppc.user == ctxt
'''

class Paper(Model):
#latest_version = ForeignKey('PaperVersion', related_name='latest_version_of', null=True)
Expand Down

0 comments on commit 80b913a

Please sign in to comment.