Commit bed71975 authored by David Seaward's avatar David Seaward

cleanup

parent 640870e4
......@@ -28,10 +28,3 @@ def deactivate_all_expired_limits():
@shared_task
def debug_connection_task():
common.debug_connection_task()
@shared_task
def monitor_woo1():
# keep legacy task header so that it is flushed out of queue
# FIXME: this will be removed in the next release
pass
......@@ -21,12 +21,12 @@ class UserManager(BaseUserManager):
def create_user(self, username, email=None, password=None, **extra_fields):
"""Create regular users in LDAP, with no Django password."""
user = super(UserManager, self).create_user(username, email, password, **extra_fields)
return super(UserManager, self).create_user(username, email, password, **extra_fields)
def create_superuser(self, username, email=None, password=None, **extra_fields):
"""Create superusers with a Django password."""
super(UserManager, self).create_superuser(username, email, password, **extra_fields)
return super(UserManager, self).create_superuser(username, email, password, **extra_fields)
class User(AbstractUser):
......
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