summaryrefslogtreecommitdiffstats
path: root/core/views_other.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip@Muscogee.localdomain>2020-05-15 21:32:55 +0100
committerPhilip Sargent <philip@Muscogee.localdomain>2020-05-15 21:32:55 +0100
commitd4ac28af18ef41661c299a1b9fc1f630cda6193c (patch)
treebe6a0200be3459835c21769a8073c6c45739d00d /core/views_other.py
parent931aa4e3cba04382b8d8c94658c7a871c739be5b (diff)
downloadtroggle-d4ac28af18ef41661c299a1b9fc1f630cda6193c.tar.gz
troggle-d4ac28af18ef41661c299a1b9fc1f630cda6193c.tar.bz2
troggle-d4ac28af18ef41661c299a1b9fc1f630cda6193c.zip
Remove PHOTOS_ROOT and DPhoto class
Diffstat (limited to 'core/views_other.py')
-rw-r--r--core/views_other.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/views_other.py b/core/views_other.py
index cc9782b..6adca9c 100644
--- a/core/views_other.py
+++ b/core/views_other.py
@@ -1,5 +1,5 @@
-from troggle.core.models import Cave, Expedition, Person, LogbookEntry, PersonExpedition, PersonTrip, DPhoto, QM
-#from troggle.core.forms import UploadFileForm
+from troggle.core.models import Cave, Expedition, Person, LogbookEntry, PersonExpedition, PersonTrip, QM
+#from troggle.core.forms import UploadFileForm, DPhoto
from django.conf import settings
from django import forms
from django.template import loader, Context
@@ -30,7 +30,7 @@ def frontpage(request):
expeditions = Expedition.objects.order_by("-year")
logbookentry = LogbookEntry
cave = Cave
- photo = DPhoto
+ #photo = DPhoto
from django.contrib.admin.templatetags import log
return render(request,'frontpage.html', locals())