From cc12f1d8b3fdf8a6ad4afec384a33859d1a8fcd1 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 10 Dec 2018 13:51:16 +0100 Subject: [PATCH] Fix import order --- passbook/audit/models.py | 2 +- passbook/core/migrations/0003_invite.py | 5 +++-- passbook/core/urls.py | 1 + requirements.txt | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/passbook/audit/models.py b/passbook/audit/models.py index a6da47718..918c65888 100644 --- a/passbook/audit/models.py +++ b/passbook/audit/models.py @@ -1,6 +1,6 @@ """passbook audit models""" -from logging import getLogger from json import dumps, loads +from logging import getLogger from django.conf import settings from django.core.exceptions import ValidationError diff --git a/passbook/core/migrations/0003_invite.py b/passbook/core/migrations/0003_invite.py index 42379d5b4..bef182a2e 100644 --- a/passbook/core/migrations/0003_invite.py +++ b/passbook/core/migrations/0003_invite.py @@ -1,9 +1,10 @@ # Generated by Django 2.1.4 on 2018-12-10 12:13 +import uuid + +import django.db.models.deletion from django.conf import settings from django.db import migrations, models -import django.db.models.deletion -import uuid class Migration(migrations.Migration): diff --git a/passbook/core/urls.py b/passbook/core/urls.py index 14c3f7b5e..603d560c7 100644 --- a/passbook/core/urls.py +++ b/passbook/core/urls.py @@ -16,6 +16,7 @@ admin.site.login = RedirectView.as_view(pattern_name='passbook_core:auth-login') core_urls = [ path('auth/login/', authentication.LoginView.as_view(), name='auth-login'), path('auth/logout/', authentication.LogoutView.as_view(), name='auth-logout'), + path('auth/sign_up/', authentication.SignUpView.as_view(), name='auth-sign-up'), path('', overview.OverviewView.as_view(), name='overview'), ] diff --git a/requirements.txt b/requirements.txt index 5092f5252..0edc1767d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ -r passbook/ldap/requirements.txt -r passbook/saml_idp/requirements.txt -r passbook/tfa/requirements.txt --r passbook/oauth_provider/requirements.txt \ No newline at end of file +-r passbook/oauth_provider/requirements.txt +-r passbook/audit/requirements.txt