~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlpoll/views.py

  • Committer: kaputtnik
  • Date: 2019-06-14 18:40:56 UTC
  • mfrom: (532.1.31 widelands)
  • Revision ID: kaputtnik-20190614184056-l0ha8pm5zais9mxk
Adapted code for use with python 3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
from django.template import RequestContext
4
4
from django.http import HttpResponseNotAllowed, HttpResponseRedirect, HttpResponseForbidden
5
5
from django.urls import reverse
6
 
from models import Poll, Choice, Vote
 
6
from .models import Poll, Choice, Vote
7
7
from django.views import generic
8
8
 
9
9