diff --git a/archilance/settings/base.py b/archilance/settings/base.py index c17774f..af737c0 100644 --- a/archilance/settings/base.py +++ b/archilance/settings/base.py @@ -314,6 +314,8 @@ else: WAGTAIL_SITE_NAME = 'PROEKTON' +REGISTRATION_FORM = 'registration.forms.RegistrationFormTermsOfService' + # class ASCIIFileSystemStorage(FileSystemStorage): # def get_valid_name(self, name): diff --git a/templates/partials/footer.html b/templates/partials/footer.html index b29df6b..f70f86f 100644 --- a/templates/partials/footer.html +++ b/templates/partials/footer.html @@ -41,6 +41,11 @@ Мой офис {% endif %} + {% if request.user.is_staff %} +
  • + Админка +
  • + {% endif %} {% endif %} diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index e6845e6..0177e0e 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -89,9 +89,9 @@
    - -

    Регистрируясь, я подтверждаю свое согласие у условиями пользавательского - соглашения

    + +

    Регистрируясь, я подтверждаю свое согласие у условиями пользовательского соглашения

    + {{ form.tos.errors }}