diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-09-09 20:04:26 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-09-09 20:04:26 +0200 |
| commit | da926e6708b89dcaee865632784781c54ace833b (patch) | |
| tree | 7c7a7a01a5cf2be00a3e737341d65c18d264e7a7 /archaeological_finds/views.py | |
| parent | 8cdbd67f679ba10668ba667371c27c2541aaa2fd (diff) | |
| download | Ishtar-da926e6708b89dcaee865632784781c54ace833b.tar.bz2 Ishtar-da926e6708b89dcaee865632784781c54ace833b.zip | |
Add many fields to finds - associated migrations, forms and autocomplete view (refs #2784)
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), |
