fixed registrarion/requirements
This commit is contained in:
parent
b2fdd42f45
commit
9cdcdb7a0c
@ -8,6 +8,9 @@ from main.models import UserProfile
|
||||
from django.contrib.auth.models import User
|
||||
from main.forms import CustomRegistrationForm
|
||||
from django_registration.views import RegistrationView
|
||||
|
||||
from django.contrib.auth.decorators import login_required
|
||||
|
||||
from zenpy import Zenpy
|
||||
|
||||
|
||||
@ -50,7 +53,7 @@ class CustomRegistrationView(RegistrationView):
|
||||
else:
|
||||
return reverse_lazy('django_registration_disallowed')
|
||||
|
||||
|
||||
#@login_required()
|
||||
def profile_page(request):
|
||||
"""
|
||||
Отображение страницы профиля
|
||||
|
@ -2,6 +2,8 @@
|
||||
Django==3.1.6
|
||||
Pillow==8.1.0
|
||||
zenpy~=2.0.24
|
||||
django-registration==3.1.1
|
||||
|
||||
|
||||
# Documentation
|
||||
Sphinx==3.4.3
|
||||
|
Loading…
x
Reference in New Issue
Block a user