diff --git a/.gitignore b/.gitignore index 289210e..f90e8ec 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ tags dhcpd.* webvirtcloud/settings.py *migrations/* +.coverage +htmlcov \ No newline at end of file diff --git a/accounts/admin.py b/accounts/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/accounts/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/accounts/backends.py b/accounts/backends.py deleted file mode 100644 index e66b94a..0000000 --- a/accounts/backends.py +++ /dev/null @@ -1,13 +0,0 @@ -from django.contrib.auth.backends import RemoteUserBackend -from accounts.models import UserInstance, UserAttributes -from instances.models import Instance - -class MyRemoteUserBackend(RemoteUserBackend): - - #create_unknown_user = True - - def configure_user(self, user): - #user.is_superuser = True - UserAttributes.configure_user(user) - return user - diff --git a/admin/templates/admin/common/form.html b/admin/templates/admin/common/form.html index 4ff3fd3..ced001e 100644 --- a/admin/templates/admin/common/form.html +++ b/admin/templates/admin/common/form.html @@ -11,6 +11,7 @@