from django.shortcuts import render
from django.utils.safestring import mark_safe
import json

def index(request):
    return render(request, 'draw/index.html', {})

def room(request, room_name):
    return render(request, 'draw/room.html', {
        'room_name_json': mark_safe(json.dumps(room_name))
    })
  
def StudentInterface(request):
    return render(request,'draw/StudentInterface.html',{})
  
def TeacherInterface(request):
    return render(request,'draw/TeacherInterface.html',{})
  
def Success(request):
    return render(request,'draw/Success.html',{})