~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlwebchat/views.py

  • Committer: kaputtnik
  • Date: 2019-05-30 18:20:02 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: kaputtnik-20190530182002-g7l91m1xo28clghv
adjusted README; first commit on the new server

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# Create your views here.
2
 
from django.shortcuts import render_to_response
3
 
from django.template import RequestContext
 
2
from django.shortcuts import render
 
3
 
4
4
 
5
5
def webchat(request):
6
 
    return render_to_response('wlwebchat/index.html', context_instance=RequestContext(request))
7
 
 
 
6
    return render(request, 'wlwebchat/index.html')