From 990bb60728b1d8ea8bb1c61fa43e749e7e8be670 Mon Sep 17 00:00:00 2001 From: Sh-Ac Date: Wed, 4 Sep 2019 14:56:29 +0530 Subject: create pages for library of topics --- fossee_manim/views.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'fossee_manim/views.py') diff --git a/fossee_manim/views.py b/fossee_manim/views.py index f547db2..3732ce7 100644 --- a/fossee_manim/views.py +++ b/fossee_manim/views.py @@ -541,6 +541,20 @@ def faqs(request): categories = Category.objects.all() return render(request, 'fossee_manim/faqs.html', {'categories': categories}) -def workshops(request): +def outreach(request): categories = Category.objects.all() - return render(request, 'fossee_manim/workshops.html', {'categories': categories}) + return render(request, 'fossee_manim/outreach.html', {'categories': categories}) + +def library(request): + categories = Category.objects.all() + return render(request, 'fossee_manim/library.html', {'categories': categories}) + +def libraryMath(request): + categories = Category.objects.all() + return render(request, 'fossee_manim/libraryMath.html', {'categories': categories}) +def libraryPhys(request): + categories = Category.objects.all() + return render(request, 'fossee_manim/libraryPhys.html', {'categories': categories}) +def libraryCS(request): + categories = Category.objects.all() + return render(request, 'fossee_manim/libraryCS.html', {'categories': categories}) -- cgit