2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-15 20:57:16 +00:00

quick hack to make work in django1.0 Photo to DPhoto

This commit is contained in:
goatchurch
2009-08-23 23:29:05 +01:00
parent e4496e4cd8
commit 20eac2d04b
6 changed files with 12 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
from troggle.core.models import Cave, Expedition, Person, LogbookEntry, PersonExpedition, PersonTrip, Photo, QM
from troggle.core.models import Cave, Expedition, Person, LogbookEntry, PersonExpedition, PersonTrip, DPhoto, QM
from django.conf import settings
from django import forms
from django.template import loader, Context
@@ -28,7 +28,7 @@ def frontpage(request):
expeditions = Expedition.objects.order_by("-year")
logbookentry = LogbookEntry
cave = Cave
photo = Photo
photo = DPhoto
from django.contrib.admin.templatetags import log
return render_with_context(request,'frontpage.html', locals())