Commit 81745713 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Some fixes

parent 2642cd48
......@@ -26,6 +26,7 @@ class User(AbstractUser):
user_type = models.CharField(
max_length=20,
choices=TYPE_CHOICES,
default='apiclient',
)
sub = models.CharField(
max_length=150,
......@@ -165,7 +166,7 @@ class User(AbstractUser):
return 'APICLIENT {}'.format(self.username)
else:
raise Exception()
self.username
def msg(self, msg):
return '[{}] {}'.format(self, msg)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment