diff options
Diffstat (limited to 'archaeological_finds/views.py')
-rw-r--r-- | archaeological_finds/views.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index 63a173edb..4628457c2 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2010-2013 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2010-2015 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as @@ -26,7 +26,8 @@ from ishtar_common.forms_common import SourceForm, AuthorFormset, \ SourceDeletionForm from archaeological_context_records.forms import RecordFormSelection -from ishtar_common.views import get_item, show_item, revert_item +from ishtar_common.views import get_item, show_item, revert_item, \ + get_autocomplete_generic from ishtar_common.wizards import SearchWizard from wizards import * @@ -114,6 +115,8 @@ find_source_deletion_wizard = FindSourceDeletionWizard.as_view([ label=_(u"Find: source deletion"), url_name='find_source_deletion',) +autocomplete_objecttype = get_autocomplete_generic(models.ObjectType) + """ treatment_creation_wizard = TreatmentWizard.as_view([ ('basetreatment-treatment_creation', BaseTreatmentForm), |