summaryrefslogtreecommitdiff
path: root/archaeological_files/wizards.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-22 16:59:00 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-22 16:59:00 +0200
commitf88edd03db806b846ad10c68279a1a7c4902f3ee (patch)
tree608a87900972a8d227dabd864a669bd8bc1c633b /archaeological_files/wizards.py
parent0daa90c284b5829d42974a8c9f3fbae9bf8fcf28 (diff)
downloadIshtar-f88edd03db806b846ad10c68279a1a7c4902f3ee.tar.bz2
Ishtar-f88edd03db806b846ad10c68279a1a7c4902f3ee.zip
Bookmark: manage missing bookmark configuration
Diffstat (limited to 'archaeological_files/wizards.py')
-rw-r--r--archaeological_files/wizards.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/archaeological_files/wizards.py b/archaeological_files/wizards.py
index 7fdb5e8ff..106008192 100644
--- a/archaeological_files/wizards.py
+++ b/archaeological_files/wizards.py
@@ -24,7 +24,7 @@ from django.shortcuts import render
from django.utils.translation import ugettext_lazy as _
from ishtar_common.forms import reverse_lazy
-from ishtar_common.wizards import ClosingWizard
+from ishtar_common.wizards import ClosingWizard, SearchWizard
from archaeological_operations.wizards import OperationWizard,\
OperationAdministrativeActWizard
from archaeological_operations.models import AdministrativeAct, Parcel, \
@@ -32,6 +32,10 @@ from archaeological_operations.models import AdministrativeAct, Parcel, \
import models
+class FileSearch(SearchWizard):
+ model = models.File
+
+
class FileWizard(OperationWizard):
model = models.File
object_parcel_type = 'associated_file'