First commit
This commit is contained in:
commit
440f5a7df4
1563 changed files with 217996 additions and 0 deletions
5
courses/context_processors.py
Normal file
5
courses/context_processors.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
from .models import Course
|
||||
|
||||
def course_list(request):
|
||||
courses = Course.objects.all()
|
||||
return {'courses': courses}
|
||||
Loading…
Add table
Add a link
Reference in a new issue