mirror of
https://github.com/Rushilwiz/spaceout.git
synced 2025-04-08 14:00:16 -04:00
Another Commit
This commit is contained in:
parent
11474ecb96
commit
891bb6226d
|
@ -9,7 +9,7 @@ from .forms import *
|
|||
|
||||
# Create your views here.
|
||||
def register_view(request):
|
||||
if request.user or request.user.is_authenticated:
|
||||
if request.user.is_authenticated:
|
||||
return redirect('home')
|
||||
if request.method == "POST":
|
||||
form = UserRegisterForm(request.POST)
|
||||
|
|
Loading…
Reference in New Issue
Block a user