Ticket #4539: views.py

File views.py, 257 bytes (added by permonik@…, 17 years ago)

Sample view

Line 
1from django.shortcuts import render_to_response
2def main(request):
3 sp = {'wave': 'wave', 'count': 'count', 'spell': 'spell', 'target': 'target', 'caster': 'caster'}
4 context = { 'spells': [sp] }
5 return render_to_response('testing.html', context)
Back to Top