mirror of
https://github.com/Rushilwiz/spaceout.git
synced 2025-04-18 18:40: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.
|
# Create your views here.
|
||||||
def register_view(request):
|
def register_view(request):
|
||||||
if request.user or request.user.is_authenticated:
|
if request.user.is_authenticated:
|
||||||
return redirect('home')
|
return redirect('home')
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
form = UserRegisterForm(request.POST)
|
form = UserRegisterForm(request.POST)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user