diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-14 16:08:22 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-02-15 17:20:19 +0100 |
commit | 6a32aa4712b173b76b718e8aa478df38af21e5ed (patch) | |
tree | bc8b8fd64733e37960f0afbbe57c0ca3a2267116 /archaeological_operations/views.py | |
parent | 29ca22925d3fbdfdc2c7a09b1d99cc36b0874369 (diff) | |
download | Ishtar-6a32aa4712b173b76b718e8aa478df38af21e5ed.tar.bz2 Ishtar-6a32aa4712b173b76b718e8aa478df38af21e5ed.zip |
Explicit imports
Diffstat (limited to 'archaeological_operations/views.py')
-rw-r--r-- | archaeological_operations/views.py | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py index 2cf4b8fb1..8ca97826e 100644 --- a/archaeological_operations/views.py +++ b/archaeological_operations/views.py @@ -19,20 +19,40 @@ import json +from django.conf import settings from django.core.urlresolvers import reverse from django.db.models import Q from django.http import HttpResponse from django.shortcuts import render, redirect from django.utils.translation import ugettext_lazy as _, pgettext_lazy +from ishtar_common.models import get_current_profile, IshtarSiteProfile +from archaeological_operations import models + +from ishtar_common.forms import ClosingDateFormSelection, FinalForm +from ishtar_common.forms_common import AuthorFormset, SourceDeletionForm +from archaeological_operations.forms import ArchaeologicalSiteForm, \ + OperationFormSelection, OperationFormFileChoice, OperationFormGeneral, \ + OperationFormModifGeneral, FinalOperationClosingForm, \ + CollaboratorForm, ArchaeologicalSiteFormSet, OperationFormPreventive, \ + OperationFormPreventiveDiag, TownFormset, SelectedTownFormset, \ + SelectedParcelGeneralFormSet, SelectedParcelFormSet, RemainForm, \ + PeriodForm, RecordRelationsFormSet, OperationFormAbstract, \ + OperationDeletionForm, SiteFormSelection, OperationSourceFormSelection, \ + SourceOperationFormSelection, OperationSourceForm, \ + AdministrativeActOpeFormSelection, AdministrativeActOpeForm, \ + AdministrativeActOpeModifForm, FinalAdministrativeActDeleteForm, \ + AdministrativeActRegisterFormSelection, DocumentGenerationAdminActForm + from ishtar_common.views import get_item, show_item, revert_item, new_item + from ishtar_common.wizards import SearchWizard, check_rights_condition -from ishtar_common.forms import ClosingDateFormSelection -from ishtar_common.forms_common import AuthorFormset, SourceDeletionForm -from ishtar_common.models import get_current_profile, IshtarSiteProfile -from wizards import * -from forms import * -import models +from archaeological_operations.wizards import has_associated_file, \ + is_preventive, OperationWizard, OperationModificationWizard, \ + OperationClosingWizard, OperationDeletionWizard, SiteSearch, \ + OperationSourceWizard, OperationSourceDeletionWizard, \ + OperationAdministrativeActWizard, OperationEditAdministrativeActWizard, \ + AdministrativeActDeletionWizard def autocomplete_patriarche(request): |