summaryrefslogtreecommitdiff
path: root/archaeological_operations/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/views.py')
-rw-r--r--archaeological_operations/views.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py
index a8ded32cf..5e7288caa 100644
--- a/archaeological_operations/views.py
+++ b/archaeological_operations/views.py
@@ -18,21 +18,23 @@
# See the file COPYING for details.
import json
-import os
from django.core.urlresolvers import reverse
from django.db.models import Q
from django.http import HttpResponse
from django.shortcuts import render_to_response, redirect
-from django.template.defaultfilters import slugify
from django.utils.translation import ugettext_lazy as _, pgettext_lazy
from ishtar_common.views import get_item, show_item, revert_item, new_item
from ishtar_common.wizards import SearchWizard
+from ishtar_common.forms import ClosingDateFormSelection
+from ishtar_common.forms_common import AuthorFormset, TownFormset, \
+ SourceDeletionForm
from wizards import *
from forms import *
import models
+
def autocomplete_patriarche(request, non_closed=True):
if (not request.user.has_perm('ishtar_common.view_operation',
models.Operation)
@@ -56,6 +58,7 @@ def autocomplete_patriarche(request, non_closed=True):
for operation in operations])
return HttpResponse(data, mimetype='text/plain')
+
def autocomplete_archaeologicalsite(request):
if (not request.user.has_perm(
'archaeological_operations.view_archaeologicalsite',