summaryrefslogtreecommitdiff
path: root/fossee_manim/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'fossee_manim/views.py')
-rw-r--r--fossee_manim/views.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/fossee_manim/views.py b/fossee_manim/views.py
index b950c45..d82de00 100644
--- a/fossee_manim/views.py
+++ b/fossee_manim/views.py
@@ -79,7 +79,7 @@ def index(request):
user = request.user
form = UserLoginForm()
if user.is_authenticated() and is_email_checked(user):
- return redirect('/proposal/')
+ return redirect('/proposal_status/')
elif request.method == "POST":
form = UserLoginForm(request.POST)
if form.is_valid():
@@ -87,7 +87,7 @@ def index(request):
login(request, user)
if is_superuser(user):
return redirect("/admin")
- return redirect('/proposal/')
+ return redirect('/proposal_status/')
anime = AnimationStats.objects.filter(animation__status='released').order_by('-id')[:5]
return render(request, "fossee_manim/index.html", {"form": form,
"anime" : anime
@@ -530,14 +530,14 @@ def search_category(request, cat=None):
def guidelines(request):
- user = request.user
categories = Category.objects.all()
-
return render(request, 'fossee_manim/guidelines.html', {'categories': categories})
def honorarium(request):
- pass
+ categories = Category.objects.all()
+ return render(request, 'fossee_manim/honorarium.html', {'categories': categories})
def faqs(request):
- pass \ No newline at end of file
+ categories = Category.objects.all()
+ return render(request, 'fossee_manim/faqs.html', {'categories': categories}) \ No newline at end of file