wreck some unused stuff
parent
54a155d7c4
commit
a23bfe5b5e
|
@ -25,15 +25,6 @@ class Townie(User):
|
||||||
null=False,
|
null=False,
|
||||||
choices=SSH_TYPE_CHOICES)
|
choices=SSH_TYPE_CHOICES)
|
||||||
|
|
||||||
@property
|
|
||||||
def home_path(self):
|
|
||||||
return "/home/{}".format(self.username)
|
|
||||||
|
|
||||||
def accept(self):
|
|
||||||
"""Sets self.pending to False. Indicates the user has been signed up
|
|
||||||
after review."""
|
|
||||||
self.pending = False
|
|
||||||
|
|
||||||
# TODO consider a generic ensure method that syncs this model with the
|
# TODO consider a generic ensure method that syncs this model with the
|
||||||
# system. there will likely be things besides shell that we want to keep
|
# system. there will likely be things besides shell that we want to keep
|
||||||
# track of in the DB.
|
# track of in the DB.
|
||||||
|
|
Loading…
Reference in New Issue