~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlimages/views.py

  • Committer: franku
  • Date: 2019-04-11 15:06:09 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: somal@arcor.de-20190411150609-801l72ffxgr6gkui
converted to python 3.6 using 2to3 script

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
from django.http import HttpResponse, HttpResponseRedirect
4
4
from django.shortcuts import get_object_or_404, render
5
5
 
6
 
from models import Image
7
 
from forms import UploadImageForm
 
6
from .models import Image
 
7
from .forms import UploadImageForm
8
8
 
9
9
 
10
10
def display(request, image, revision):