Skip to content

Commit a185ed7

Browse files
committed
RequestContext in there, so that staticfiles works.
1 parent a5ca3b1 commit a185ed7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

join/views.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
from django.http import HttpResponse
22
from django.template import Template
33
from django.shortcuts import render_to_response
4+
from django.template import RequestContext
5+
46

57
def index(request):
68
"""index for join section"""
7-
return render_to_response('join_index.html', {})
9+
return render_to_response('join_index.html', RequestContext(request))

0 commit comments

Comments
 (0)