diff options
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/__init__.py | 1 | ||||
-rw-r--r-- | archaeological_finds/admin.py | 121 | ||||
-rw-r--r-- | archaeological_finds/fixtures/initial_data-fr.json | 14702 | ||||
-rw-r--r-- | archaeological_finds/forms_treatments.py | 55 | ||||
-rw-r--r-- | archaeological_finds/lookups.py | 84 | ||||
-rw-r--r-- | archaeological_finds/migrations/0001_initial.py | 1408 | ||||
-rw-r--r-- | archaeological_finds/migrations/0002_auto_20170414_2123.py | 503 | ||||
-rw-r--r-- | archaeological_finds/migrations/0003_views.py | 22 | ||||
-rw-r--r-- | archaeological_finds/migrations/0004_auto_20170802_1557.py | 30 | ||||
-rw-r--r-- | archaeological_finds/migrations/0005_auto_20170804_2024.py | 102 | ||||
-rw-r--r-- | archaeological_finds/migrations/0006_auto_20170826_1152.py | 67 | ||||
-rw-r--r-- | archaeological_finds/migrations/0086_auto__chg_field_treatmentsource_external_id__chg_field_treatmentfileso.py | 1251 | ||||
-rw-r--r-- | archaeological_finds/models_finds.py | 227 | ||||
-rw-r--r-- | archaeological_finds/models_treatments.py | 103 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0001_initial.py | 814 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0002_auto__add_field_findsource_reference__add_field_findsource_internal_re.py (renamed from archaeological_finds/migrations/0002_auto__add_field_findsource_reference__add_field_findsource_internal_re.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0003_auto__add_field_materialtype_code.py (renamed from archaeological_finds/migrations/0003_auto__add_field_materialtype_code.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0004_auto__add_field_historicalfind_image__add_field_historicalfind_thumbna.py (renamed from archaeological_finds/migrations/0004_auto__add_field_historicalfind_image__add_field_historicalfind_thumbna.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0005_auto__add_conservatorystate__add_field_historicalfind_conservatory_sta.py (renamed from archaeological_finds/migrations/0005_auto__add_conservatorystate__add_field_historicalfind_conservatory_sta.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0006_auto__add_field_historicalfind_history_creator_id__add_field_treatment.py (renamed from archaeological_finds/migrations/0006_auto__add_field_historicalfind_history_creator_id__add_field_treatment.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0007_init_history_creator.py (renamed from archaeological_finds/migrations/0007_init_history_creator.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0008_reinit_history_creator.py (renamed from archaeological_finds/migrations/0008_reinit_history_creator.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0009_auto__chg_field_materialtype_recommendation__chg_field_treatment_perso.py (renamed from archaeological_finds/migrations/0009_auto__chg_field_materialtype_recommendation__chg_field_treatment_perso.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0010_auto__chg_field_treatment_history_creator__chg_field_treatment_history.py (renamed from archaeological_finds/migrations/0010_auto__chg_field_treatment_history_creator__chg_field_treatment_history.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0011_auto__add_field_historicalfind_weight_unit__add_field_historicalfind_d.py (renamed from archaeological_finds/migrations/0011_auto__add_field_historicalfind_weight_unit__add_field_historicalfind_d.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0012_auto__add_preservationtype__add_field_historicalfind_preservation_to_c.py (renamed from archaeological_finds/migrations/0012_auto__add_preservationtype__add_field_historicalfind_preservation_to_c.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0013_auto__del_field_historicalfind_discovery_date__del_field_find_discover.py (renamed from archaeological_finds/migrations/0013_auto__del_field_historicalfind_discovery_date__del_field_find_discover.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0014_auto__chg_field_find_dating.py (renamed from archaeological_finds/migrations/0014_auto__chg_field_find_dating.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0015_auto__add_field_historicalfind_external_id__add_field_find_external_id.py (renamed from archaeological_finds/migrations/0015_auto__add_field_historicalfind_external_id__add_field_find_external_id.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0016_auto__add_field_treatment_external_id__add_field_historicaltreatment_e.py (renamed from archaeological_finds/migrations/0016_auto__add_field_treatment_external_id__add_field_historicaltreatment_e.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0017_auto__add_field_findsource_external_id__add_field_treatmentsource_exte.py (renamed from archaeological_finds/migrations/0017_auto__add_field_findsource_external_id__add_field_treatmentsource_exte.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0018_auto.py (renamed from archaeological_finds/migrations/0018_auto.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0019_auto__chg_field_preservationtype_txt_idx__chg_field_treatmenttype_txt_.py (renamed from archaeological_finds/migrations/0019_auto__chg_field_preservationtype_txt_idx__chg_field_treatmenttype_txt_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0020_auto__chg_field_historicalfind_weight_unit__chg_field_find_weight_unit.py (renamed from archaeological_finds/migrations/0020_auto__chg_field_historicalfind_weight_unit__chg_field_find_weight_unit.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0021_auto__add_objecttype__add_field_historicalfind_is_complete__add_field_.py (renamed from archaeological_finds/migrations/0021_auto__add_objecttype__add_field_historicalfind_is_complete__add_field_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0022_auto__add_field_objecttype_parent.py (renamed from archaeological_finds/migrations/0022_auto__add_field_objecttype_parent.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0023_auto__del_field_historicalfind_heigth__add_field_historicalfind_height.py (renamed from archaeological_finds/migrations/0023_auto__del_field_historicalfind_heigth__add_field_historicalfind_height.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0024_auto.py (renamed from archaeological_finds/migrations/0024_auto.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0025_find_to_finds.py (renamed from archaeological_finds/migrations/0025_find_to_finds.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0026_auto__del_field_historicalfind_material_type_id__del_field_find_materi.py (renamed from archaeological_finds/migrations/0026_auto__del_field_historicalfind_material_type_id__del_field_find_materi.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0027_auto__add_field_historicalfind_index__add_field_find_index.py (renamed from archaeological_finds/migrations/0027_auto__add_field_historicalfind_index__add_field_find_index.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0028_auto.py (renamed from archaeological_finds/migrations/0028_auto.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0029_dating_to_datings.py (renamed from archaeological_finds/migrations/0029_dating_to_datings.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0030_auto__del_field_historicalfind_dating_id__del_field_find_dating.py (renamed from archaeological_finds/migrations/0030_auto__del_field_historicalfind_dating_id__del_field_find_dating.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0031_auto__add_field_historicalfind_dating_comment__add_field_find_dating_c.py (renamed from archaeological_finds/migrations/0031_auto__add_field_historicalfind_dating_comment__add_field_find_dating_c.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0032_auto__add_field_historicalfind_checked__add_field_find_checked.py (renamed from archaeological_finds/migrations/0032_auto__add_field_historicalfind_checked__add_field_find_checked.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0033_auto__add_field_historicalfind_check_date__add_field_find_check_date.py (renamed from archaeological_finds/migrations/0033_auto__add_field_historicalfind_check_date__add_field_find_check_date.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0034_auto__add_field_historicalbasefind_cache_short_id__add_field_historica.py (renamed from archaeological_finds/migrations/0034_auto__add_field_historicalbasefind_cache_short_id__add_field_historica.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0035_auto.py (renamed from archaeological_finds/migrations/0035_auto.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0036_preservation_to_preservations.py (renamed from archaeological_finds/migrations/0036_preservation_to_preservations.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0037_auto__del_field_historicalfind_preservation_to_consider_id__del_field_.py (renamed from archaeological_finds/migrations/0037_auto__del_field_historicalfind_preservation_to_consider_id__del_field_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0038_auto__add_field_historicalbasefind_batch__add_field_basefind_batch.py (renamed from archaeological_finds/migrations/0038_auto__add_field_historicalbasefind_batch__add_field_basefind_batch.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0039_is_isolated_batch.py (renamed from archaeological_finds/migrations/0039_is_isolated_batch.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0040_auto__del_field_historicalbasefind_is_isolated__del_field_basefind_is_.py (renamed from archaeological_finds/migrations/0040_auto__del_field_historicalbasefind_is_isolated__del_field_basefind_is_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0041_auto__add_integritytype.py (renamed from archaeological_finds/migrations/0041_auto__add_integritytype.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0042_auto__chg_field_historicalfind_label__chg_field_find_label__chg_field_.py (renamed from archaeological_finds/migrations/0042_auto__chg_field_historicalfind_label__chg_field_find_label__chg_field_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0043_auto__add_field_findsource_duplicate__chg_field_findsource_internal_re.py (renamed from archaeological_finds/migrations/0043_auto__add_field_findsource_duplicate__chg_field_findsource_internal_re.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0044_auto__add_field_findsource_receipt_date_in_documentation__add_field_tr.py (renamed from archaeological_finds/migrations/0044_auto__add_field_findsource_receipt_date_in_documentation__add_field_tr.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0045_auto__add_findbasket__add_unique_findbasket_label_user.py (renamed from archaeological_finds/migrations/0045_auto__add_findbasket__add_unique_findbasket_label_user.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0046_auto__add_field_basefind_point__add_field_basefind_line__add_field_bas.py (renamed from archaeological_finds/migrations/0046_auto__add_field_basefind_point__add_field_basefind_line__add_field_bas.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0047_auto__add_field_historicalfind_conservatory_comment__add_field_histori.py (renamed from archaeological_finds/migrations/0047_auto__add_field_historicalfind_conservatory_comment__add_field_histori.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0048_auto__add_field_treatmenttype_upstream_is_many__add_field_treatmenttyp.py (renamed from archaeological_finds/migrations/0048_auto__add_field_treatmenttype_upstream_is_many__add_field_treatmenttyp.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0049_auto__chg_field_historicalfind_external_id__chg_field_find_external_id.py (renamed from archaeological_finds/migrations/0049_auto__chg_field_historicalfind_external_id__chg_field_find_external_id.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0050_auto__add_field_historicalfind_auto_external_id__add_field_find_auto_e.py (renamed from archaeological_finds/migrations/0050_auto__add_field_historicalfind_auto_external_id__add_field_find_auto_e.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0051_auto__add_remarkabilitytype.py (renamed from archaeological_finds/migrations/0051_auto__add_remarkabilitytype.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0052_auto__add_field_historicalfind_estimated_value__add_field_find_estimat.py (renamed from archaeological_finds/migrations/0052_auto__add_field_historicalfind_estimated_value__add_field_find_estimat.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0053_view_find_treatments.py (renamed from archaeological_finds/migrations/0053_view_find_treatments.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0054_rename_treatment_views.py (renamed from archaeological_finds/migrations/0054_rename_treatment_views.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0055_auto__add_field_findsource_image__add_field_findsource_thumbnail__add_.py (renamed from archaeological_finds/migrations/0055_auto__add_field_findsource_image__add_field_findsource_thumbnail__add_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0056_auto__add_field_historicalfind_cached_label__add_field_find_cached_lab.py (renamed from archaeological_finds/migrations/0056_auto__add_field_historicalfind_cached_label__add_field_find_cached_lab.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0057_generate_cached_label.py (renamed from archaeological_finds/migrations/0057_generate_cached_label.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0058_auto__chg_field_historicalfind_image__chg_field_historicalfind_thumbna.py (renamed from archaeological_finds/migrations/0058_auto__chg_field_historicalfind_image__chg_field_historicalfind_thumbna.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0059_auto__add_field_historicalfind_thickness__add_field_find_thickness.py (renamed from archaeological_finds/migrations/0059_auto__add_field_historicalfind_thickness__add_field_find_thickness.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0060_auto__add_field_historicalfind_topographic_reference_point__add_field_.py (renamed from archaeological_finds/migrations/0060_auto__add_field_historicalfind_topographic_reference_point__add_field_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0061_auto__add_field_historicalfind_min_number_of_individuals__add_field_fi.py (renamed from archaeological_finds/migrations/0061_auto__add_field_historicalfind_min_number_of_individuals__add_field_fi.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0062_auto__del_field_historicaltreatment_other_location__add_field_historic.py (renamed from archaeological_finds/migrations/0062_auto__del_field_historicaltreatment_other_location__add_field_historic.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0063_treats_generate_year_index.py (renamed from archaeological_finds/migrations/0063_treats_generate_year_index.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0064_auto__add_unique_treatment_index_year.py (renamed from archaeological_finds/migrations/0064_auto__add_unique_treatment_index_year.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0065_copy_treatment_types.py (renamed from archaeological_finds/migrations/0065_copy_treatment_types.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0066_auto__del_field_historicaltreatment_treatment_type_id__del_field_treat.py (renamed from archaeological_finds/migrations/0066_auto__del_field_historicaltreatment_treatment_type_id__del_field_treat.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0067_on_delete_for_views.py (renamed from archaeological_finds/migrations/0067_on_delete_for_views.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0068_auto__add_treatmentfile__add_unique_treatmentfile_year_index__add_hist.py (renamed from archaeological_finds/migrations/0068_auto__add_treatmentfile__add_unique_treatmentfile_year_index__add_hist.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0069_auto__add_field_historicaltreatment_file_id__add_field_treatment_file.py (renamed from archaeological_finds/migrations/0069_auto__add_field_historicaltreatment_file_id__add_field_treatment_file.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0070_auto__add_treatmentfilesource.py (renamed from archaeological_finds/migrations/0070_auto__add_treatmentfilesource.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0071_auto__add_field_historicaltreatment_cached_label__add_field_treatment_.py (renamed from archaeological_finds/migrations/0071_auto__add_field_historicaltreatment_cached_label__add_field_treatment_.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0072_auto__add_field_treatmentfile_applicant__add_field_treatmentfile_appli.py (renamed from archaeological_finds/migrations/0072_auto__add_field_treatmentfile_applicant__add_field_treatmentfile_appli.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0073_auto__add_treatmentstate__add_field_historicaltreatment_treatment_stat.py (renamed from archaeological_finds/migrations/0073_auto__add_treatmentstate__add_field_historicaltreatment_treatment_stat.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0074_auto__add_field_find_collection__add_field_historicalfind_collection_i.py (renamed from archaeological_finds/migrations/0074_auto__add_field_find_collection__add_field_historicalfind_collection_i.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0075_auto__chg_field_find_container__chg_field_find_upstream_treatment__chg.py (renamed from archaeological_finds/migrations/0075_auto__chg_field_find_container__chg_field_find_upstream_treatment__chg.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0076_auto__add_field_treatmenttype_order__add_field_treatmenttype_parent.py (renamed from archaeological_finds/migrations/0076_auto__add_field_treatmenttype_order__add_field_treatmenttype_parent.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0077_auto__add_field_historicaltreatment_estimated_cost__add_field_historic.py (renamed from archaeological_finds/migrations/0077_auto__add_field_historicaltreatment_estimated_cost__add_field_historic.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0078_fix_treatment_views.py (renamed from archaeological_finds/migrations/0078_fix_treatment_views.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0079_auto__del_field_find_topographic_reference_point__del_field_historical.py (renamed from archaeological_finds/migrations/0079_auto__del_field_find_topographic_reference_point__del_field_historical.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0080_auto__add_field_basefind_x__add_field_basefind_y__add_field_basefind_z.py (renamed from archaeological_finds/migrations/0080_auto__add_field_basefind_x__add_field_basefind_y__add_field_basefind_z.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0081_regenerate_treatment_views.py (renamed from archaeological_finds/migrations/0081_regenerate_treatment_views.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0082_auto__add_batchtype__add_field_basefind_new_batch__add_field_historica.py (renamed from archaeological_finds/migrations/0082_auto__add_batchtype__add_field_basefind_new_batch__add_field_historica.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0083_batch_to_new_batch.py (renamed from archaeological_finds/migrations/0083_batch_to_new_batch.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0084_auto__del_field_basefind_new_batch__chg_field_basefind_batch__del_fiel.py (renamed from archaeological_finds/migrations/0084_auto__del_field_basefind_new_batch__chg_field_basefind_batch__del_fiel.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/0085_create_bulk_update_view.py (renamed from archaeological_finds/migrations/0085_create_bulk_update_view.py) | 0 | ||||
-rw-r--r-- | archaeological_finds/old_migrations/__init__.py | 0 | ||||
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 1 | ||||
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_treatment.html | 1 | ||||
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_treatmentfile.html | 1 | ||||
-rw-r--r-- | archaeological_finds/tests.py | 39 | ||||
-rw-r--r-- | archaeological_finds/urls.py | 99 | ||||
-rw-r--r-- | archaeological_finds/views.py | 11 |
106 files changed, 9725 insertions, 9917 deletions
diff --git a/archaeological_finds/__init__.py b/archaeological_finds/__init__.py index e69de29bb..42c74e66d 100644 --- a/archaeological_finds/__init__.py +++ b/archaeological_finds/__init__.py @@ -0,0 +1 @@ +default_app_config = 'ishtar_common.apps.ArchaeologicalFindsConfig' diff --git a/archaeological_finds/admin.py b/archaeological_finds/admin.py index 8fd168316..a43793414 100644 --- a/archaeological_finds/admin.py +++ b/archaeological_finds/admin.py @@ -17,28 +17,62 @@ # See the file COPYING for details. +from ajax_select import make_ajax_form +from ajax_select.fields import AutoCompleteSelectField + +from django import forms from django.contrib import admin +from django.contrib.gis.forms import PointField, PolygonField, \ + LineStringField, OSMWidget +from django.utils.translation import ugettext_lazy as _ +from ishtar_common.apps import admin_site from ishtar_common.admin import HistorizedObjectAdmin, GeneralTypeAdmin import models +class AdminBaseFindForm(forms.ModelForm): + class Meta: + model = models.BaseFind + exclude = [] + point_2d = PointField(label=_(u"Point (2D)"), required=False, + widget=OSMWidget) + line = LineStringField(label=_(u"Line"), required=False, + widget=OSMWidget) + polygon = PolygonField(label=_(u"Polygon"), required=False, + widget=OSMWidget) + context_record = AutoCompleteSelectField('context_record') + + class BaseFindAdmin(HistorizedObjectAdmin): - list_display = ('label', 'context_record', 'batch') + list_display = ('label', 'context_record', 'index') search_fields = ('label', 'context_record__parcel__operation__name',) model = models.BaseFind + form = AdminBaseFindForm + readonly_fields = HistorizedObjectAdmin.readonly_fields + [ + 'cache_short_id', 'cache_complete_id', 'imports' + ] -admin.site.register(models.BaseFind, BaseFindAdmin) +admin_site.register(models.BaseFind, BaseFindAdmin) class FindAdmin(HistorizedObjectAdmin): - list_display = ('label', 'dating', 'volume', 'weight', - 'find_number',) - search_fields = ('label', "datings__period__label") + list_display = ('label', 'operations_lbl', 'context_records_lbl', 'index', + 'dating', 'materials') + list_filter = ('datings__period', 'material_types') + search_fields = ('label', "base_finds__cache_complete_id", + "base_finds__context_record__operation__cached_label") model = models.Find + form = make_ajax_form(model, { + 'base_finds': 'base_find', + 'container': 'container' + }) + readonly_fields = HistorizedObjectAdmin.readonly_fields + [ + 'imports', 'datings', 'cached_label' + ] -admin.site.register(models.Find, FindAdmin) +admin_site.register(models.Find, FindAdmin) class FindSourceAdmin(admin.ModelAdmin): @@ -46,60 +80,105 @@ class FindSourceAdmin(admin.ModelAdmin): list_filter = ('source_type',) search_fields = ('title', ) model = models.FindSource + form = make_ajax_form(model, { + 'authors': 'author', + 'find': 'find' + }) -admin.site.register(models.FindSource, FindSourceAdmin) +admin_site.register(models.FindSource, FindSourceAdmin) -class PropertyAdmin(admin.ModelAdmin): +class PropertyAdmin(HistorizedObjectAdmin): list_display = ['find', 'person', 'start_date', 'end_date'] search_fields = ('find__label', 'person__name') model = models.Property + form = make_ajax_form(model, { + 'find': 'find', + 'person': 'person', + }) + readonly_fields = HistorizedObjectAdmin.readonly_fields + [ + 'administrative_act', 'imports', ] -admin.site.register(models.Property, PropertyAdmin) + def has_add_permission(self, request): + return False + +admin_site.register(models.Property, PropertyAdmin) class TreatmentAdmin(HistorizedObjectAdmin): - list_display = ('location', 'treatment_types_lbl', 'container', 'person') + list_display = ('year', 'index', 'label','treatment_types_lbl', 'location', + 'downstream_lbl', 'upstream_lbl', 'container', 'person') + list_filter = ('treatment_types', 'treatment_state', 'year') model = models.Treatment + form = make_ajax_form(model, { + 'person': 'person', + 'organization': 'organization', + 'file': 'treatment_file', + 'location': 'warehouse', + 'container': 'container', + }) + readonly_fields = HistorizedObjectAdmin.readonly_fields + [ + 'imports', 'cached_label', 'downstream_lbl', 'upstream_lbl' + ] + + def has_add_permission(self, request): + return False -admin.site.register(models.Treatment, TreatmentAdmin) +admin_site.register(models.Treatment, TreatmentAdmin) class TreatmentFileAdmin(HistorizedObjectAdmin): - list_display = ('year', 'index', 'name', 'internal_reference') - search_fields = ('cached_label',) + list_display = ('type', 'year', 'index', 'name', + 'applicant', 'in_charge', 'internal_reference') + list_filter = ('type', 'year') + search_fields = ('name', 'applicant__name', 'applicant__surname', + 'applicant__raw_name', 'applicant_organisation__name', + 'cached_label') model = models.TreatmentFile + form = make_ajax_form(model,{ + 'in_charge': 'person', + 'applicant': 'person', + 'applicant_organisation': 'organization', + }) + exclude = ['imports'] + readonly_fields = HistorizedObjectAdmin.readonly_fields + [ + 'cached_label', + ] -admin.site.register(models.TreatmentFile, TreatmentFileAdmin) +admin_site.register(models.TreatmentFile, TreatmentFileAdmin) class TreatmentSourceAdmin(admin.ModelAdmin): - list_display = ('treatment', 'title', 'source_type',) + list_display = ('title', 'treatment', 'source_type',) list_filter = ('source_type',) - search_fields = ('title',) + search_fields = ('title', 'treatment__cached_label') model = models.TreatmentSource + form = make_ajax_form(model, { + 'treatment': 'treatment', + 'authors': 'author' + }) -admin.site.register(models.TreatmentSource, TreatmentSourceAdmin) +admin_site.register(models.TreatmentSource, TreatmentSourceAdmin) class HierarchicalTypeAdmin(GeneralTypeAdmin): list_display = ['label', 'txt_idx', 'parent', 'available', 'comment'] -admin.site.register(models.ObjectType, HierarchicalTypeAdmin) +admin_site.register(models.ObjectType, HierarchicalTypeAdmin) class MaterialTypeAdmin(HierarchicalTypeAdmin): list_display = HierarchicalTypeAdmin.list_display + ['recommendation'] search_fields = ('label', 'parent__label', 'comment',) -admin.site.register(models.MaterialType, MaterialTypeAdmin) +admin_site.register(models.MaterialType, MaterialTypeAdmin) class TreatmentTypeAdmin(admin.ModelAdmin): list_display = HierarchicalTypeAdmin.list_display + [ 'order', 'virtual', 'upstream_is_many', 'downstream_is_many'] model = models.TreatmentType -admin.site.register(models.TreatmentType, TreatmentTypeAdmin) +admin_site.register(models.TreatmentType, TreatmentTypeAdmin) general_models = [ models.ConservatoryState, models.RemarkabilityType, @@ -108,4 +187,4 @@ general_models = [ models.BatchType ] for model in general_models: - admin.site.register(model, GeneralTypeAdmin) + admin_site.register(model, GeneralTypeAdmin) diff --git a/archaeological_finds/fixtures/initial_data-fr.json b/archaeological_finds/fixtures/initial_data-fr.json index c7f0699b1..0c835841e 100644 --- a/archaeological_finds/fixtures/initial_data-fr.json +++ b/archaeological_finds/fixtures/initial_data-fr.json @@ -1,7652 +1,7052 @@ [ - { - "pk": 56, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.MT", - "parent": 27, - "label": "Alliage cuivreux", - "recommendation": "", - "txt_idx": "copper-alloy" - } - }, - { - "pk": 16, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout ce qui ne rentre pas dans les autres cases...", - "available": true, - "code": "M.AT", - "parent": null, - "label": "Autre", - "recommendation": "", - "txt_idx": "other" - } - }, - { - "pk": 51, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OG", - "parent": 23, - "label": "Bois non travaill\u00e9", - "recommendation": "", - "txt_idx": "wood" - } - }, - { - "pk": 52, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OG", - "parent": 22, - "label": "Bois travaill\u00e9", - "recommendation": "", - "txt_idx": "shaped_wood" - } - }, - { - "pk": 45, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "BRZ", - "parent": 56, - "label": "Bronze", - "recommendation": "", - "txt_idx": "brz" - } - }, - { - "pk": 24, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Toute la vaisselle c\u00e9ramique y compris les amphores", - "available": true, - "code": "M.TC", - "parent": 13, - "label": "C\u00e9ramique", - "recommendation": "", - "txt_idx": "ceramic" - } - }, - { - "pk": 47, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OG", - "parent": 23, - "label": "Charbon de bois", - "recommendation": "\u00c9viter l'\u00e9crasement", - "txt_idx": "charcoal" - } - }, - { - "pk": 46, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Fait de plusieurs mati\u00e8res", - "available": true, - "code": "CP", - "parent": null, - "label": "Composite", - "recommendation": "", - "txt_idx": "composite" - } - }, - { - "pk": 44, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OG", - "parent": 22, - "label": "Cuir", - "recommendation": "", - "txt_idx": "leather" - } - }, - { - "pk": 34, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.EP", - "parent": 32, - "label": "Enduit peint", - "recommendation": "", - "txt_idx": "painted_plaster" - } - }, - { - "pk": 54, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.TC", - "parent": 24, - "label": "Fa\u00efence", - "recommendation": "", - "txt_idx": "faience" - } - }, - { - "pk": 43, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OS", - "parent": 39, - "label": "Faune", - "recommendation": "", - "txt_idx": "animal_bone" - } - }, - { - "pk": 49, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.MT", - "parent": 28, - "label": "Fer", - "recommendation": "", - "txt_idx": "Iron" - } - }, - { - "pk": 50, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.MT", - "parent": 28, - "label": "Fonte", - "recommendation": "", - "txt_idx": "cast_iron" - } - }, - { - "pk": 48, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OG", - "parent": 23, - "label": "Graine", - "recommendation": "Hygrom\u00e9trie \u00e0 contr\u00f4ler, \u00e9viter l'\u00e9crasement", - "txt_idx": "seed" - } - }, - { - "pk": 55, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.TC", - "parent": 24, - "label": "Gr\u00e8s c\u00e9ramique", - "recommendation": "", - "txt_idx": "stoneware" - } - }, - { - "pk": 17, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout ce qui n'a pas pu \u00eatre identifi\u00e9, qui est ind\u00e9terminable \u00e0 ce jour (semble t-il)", - "available": true, - "code": "M.ID", - "parent": null, - "label": "Ind\u00e9termin\u00e9", - "recommendation": "", - "txt_idx": "unknown" - } - }, - { - "pk": 20, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout \u00e9l\u00e9ment en pierre intervenant dans la construction : pierre taill\u00e9e, moellon, pierre sculpt\u00e9e, statue \u2026", - "available": true, - "code": "M.LP", - "parent": 11, - "label": "Lapidaire", - "recommendation": "", - "txt_idx": "lapidary" - } - }, - { - "pk": 19, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout ce qui a rapport \u00e0 la pierre, \u00e0 la taille et \u00e0 l'industrie de la pierre durant la pr\u00e9histoire (ou plus r\u00e9cemment d'ailleurs)", - "available": true, - "code": "M.LT", - "parent": 11, - "label": "Lithique", - "recommendation": "", - "txt_idx": "lithic" - } - }, - { - "pk": 32, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout mat\u00e9riau de construction qui n'est ni de la pierre, ni de la TCA, ni du verre : terre crue, torchis, pl\u00e2tre, enduit peint, mosa\u00efque, bois ...", - "available": true, - "code": "M.AT", - "parent": 16, - "label": "Mat\u00e9riaux de construction autre", - "recommendation": "", - "txt_idx": "constr_material" - } - }, - { - "pk": 14, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.MT", - "parent": null, - "label": "M\u00e9tal", - "recommendation": "", - "txt_idx": "metal" - } - }, - { - "pk": 28, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout objet en m\u00e9tal ferreux", - "available": true, - "code": "M.MT", - "parent": 14, - "label": "M\u00e9tal ferreux", - "recommendation": "", - "txt_idx": "iron_metal" - } - }, - { - "pk": 27, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout objet en m\u00e9tal non ferreux", - "available": true, - "code": "M.MT", - "parent": 14, - "label": "M\u00e9tal non ferreux", - "recommendation": "", - "txt_idx": "not_iron_metal" - } - }, - { - "pk": 11, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.MI", - "parent": null, - "label": "Min\u00e9ral", - "recommendation": "", - "txt_idx": "mineral" - } - }, - { - "pk": 29, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Monnaies, jetons \u00e0 compter, poids mon\u00e9taires, coins", - "available": true, - "code": "M.MT", - "parent": 14, - "label": "Mon\u00e9taire", - "recommendation": "", - "txt_idx": "monetary" - } - }, - { - "pk": 18, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Type de mat\u00e9riau inconnu car non \u00e9tudi\u00e9", - "available": true, - "code": "M.?", - "parent": null, - "label": "Non \u00e9tudi\u00e9", - "recommendation": "", - "txt_idx": "not_studied" - } - }, - { - "pk": 12, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OG", - "parent": null, - "label": "Organique", - "recommendation": "", - "txt_idx": "organic" - } - }, - { - "pk": 23, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Mat\u00e9riaux naturels et de nature biologique (mnnb). Tout objet organique brut : os humain, reste de boucherie, graine, coquillage, corne \u2026", - "available": true, - "code": "M.OG", - "parent": 12, - "label": "Organique non travaill\u00e9", - "recommendation": "", - "txt_idx": "raw_organic" - } - }, - { - "pk": 22, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Cuir, tissu, tabletterie, vannerie, cordage, bois (hors construction), tout objet travaill\u00e9 (transform\u00e9) en mat\u00e9riau organique", - "available": true, - "code": "M.OG", - "parent": 12, - "label": "Organique travaill\u00e9", - "recommendation": "", - "txt_idx": "organicwork" - } - }, - { - "pk": 42, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OS", - "parent": 39, - "label": "Os humain", - "recommendation": "", - "txt_idx": "human_bone" - } - }, - { - "pk": 39, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OS", - "parent": 23, - "label": "Os non travaill\u00e9", - "recommendation": "", - "txt_idx": "unworked_bone" - } - }, - { - "pk": 40, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.OS", - "parent": 22, - "label": "Os travaill\u00e9", - "recommendation": "", - "txt_idx": "bonework" - } - }, - { - "pk": 21, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout ce qui n'est ni de l'industrie lithique, ni de la pierre de construction : meule, vaisselle, objet manufactur\u00e9 \u2026", - "available": true, - "code": "M.MI", - "parent": 11, - "label": "Pierre autre", - "recommendation": "", - "txt_idx": "other_stone" - } - }, - { - "pk": 53, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.TC", - "parent": 24, - "label": "Porcelaine", - "recommendation": "", - "txt_idx": "porcelain" - } - }, - { - "pk": 37, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "P.NT", - "parent": 16, - "label": "Pr\u00e9l\u00e8vement non trait\u00e9", - "recommendation": "", - "txt_idx": "sampling_not_processed" - } - }, - { - "pk": 35, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "P.TE", - "parent": 16, - "label": "Pr\u00e9l\u00e8vement trait\u00e9 et \u00e9tudi\u00e9", - "recommendation": "", - "txt_idx": "sampling_processed_studied" - } - }, - { - "pk": 36, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "P.NE", - "parent": 16, - "label": "Pr\u00e9l\u00e8vement trait\u00e9 non \u00e9tudi\u00e9", - "recommendation": "", - "txt_idx": "sampling_processed_not_studied" - } - }, - { - "pk": 33, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Plastique \u2026", - "available": true, - "code": "M.AT", - "parent": 16, - "label": "Synth\u00e9tique", - "recommendation": "", - "txt_idx": "synthetic" - } - }, - { - "pk": 13, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.TC", - "parent": null, - "label": "Terre cuite", - "recommendation": "", - "txt_idx": "earthenware" - } - }, - { - "pk": 25, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Mat\u00e9riaux de construction en terre cuite", - "available": true, - "code": "M.TC", - "parent": 13, - "label": "Terre cuite architecturale", - "recommendation": "", - "txt_idx": "architect_earthenwork" - } - }, - { - "pk": 26, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout ce qui n'est ni de la vaisselle c\u00e9ramique, ni de la TCA : peson, statuette, jouet \u2026", - "available": true, - "code": "M.TC", - "parent": 13, - "label": "Terre cuite autre", - "recommendation": "", - "txt_idx": "other_earthenwork" - } - }, - { - "pk": 15, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "", - "available": true, - "code": "M.VR", - "parent": null, - "label": "Verre", - "recommendation": "", - "txt_idx": "glass" - } - }, - { - "pk": 31, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout objet en verre autre que le verre li\u00e9 \u00e0 la construction : vaisselle \u2026", - "available": true, - "code": "M.VR", - "parent": 15, - "label": "Verre autre", - "recommendation": "", - "txt_idx": "glass_other" - } - }, - { - "pk": 30, - "model": "archaeological_finds.materialtype", - "fields": { - "comment": "Tout objet en verre li\u00e9 \u00e0 la construction : vitrage \u2026", - "available": true, - "code": "M.VR", - "parent": 15, - "label": "Verre construction", - "recommendation": "", - "txt_idx": "glass_constr" - } - }, - { - "pk": 1, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Le fait de mettre du mobilier dans un contenant. Que cela soit le conditionnement initial ou un re-conditionnement. ", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Conditionnement", - "upstream_is_many": false, - "order": 10, - "txt_idx": "packaging" - } - }, - { - "pk": 16, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Conservation-restauration", - "upstream_is_many": false, - "order": 10, - "txt_idx": "conservation" - } - }, - { - "pk": 14, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Consultation sur place", - "upstream_is_many": false, - "order": 10, - "txt_idx": "local_consultation" - } - }, - { - "pk": 4, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "D\u00e9placement de mobilier, entre deux d\u00e9p\u00f4ts : le mobilier ne peut pas \u00eatre stock\u00e9 ailleurs que dans un lieu consid\u00e9r\u00e9 comme un d\u00e9p\u00f4t.", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "D\u00e9placement", - "upstream_is_many": false, - "order": 10, - "txt_idx": "moving" - } - }, - { - "pk": 10, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Processus qui permet d'\u00e9liminer le sel qui impr\u00e8gne un objet arch\u00e9ologique ou un lot d'objets.", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "D\u00e9salinisation", - "upstream_is_many": false, - "order": 10, - "txt_idx": "desalinisation" - } - }, - { - "pk": 7, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Division d'un lot de mobilier en plusieurs lots.", - "available": true, - "downstream_is_many": true, - "parent": null, - "virtual": false, - "label": "Division", - "upstream_is_many": false, - "order": 10, - "txt_idx": "split" - } - }, - { - "pk": 11, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "R\u00e9duction des oxydes d\u00e9velopp\u00e9s sur/dans un objet arch\u00e9ologique par l'usage de courant \u00e9lectrique.", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "\u00c9lectrolyse", - "upstream_is_many": false, - "order": 10, - "txt_idx": "electrolysis" - } - }, - { - "pk": 6, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "R\u00e9union de plusieurs objets ou lots mobiliers en un seul. Ce type de traitement peut impliquer ou non un reconditionnement.\r\n\r\nExemple : Remontage d'une c\u00e9ramique \u00e0 partir de tessons d\u00e9j\u00e0 pr\u00e9sents dans un contenant (pas de reconditionnement), regroupement d'une partie de la faune (os) d'une op\u00e9ration et cr\u00e9ation d'une nouvelle caisse dans ce but (reconditionnement \u00e0 faire).", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Groupement", - "upstream_is_many": true, - "order": 10, - "txt_idx": "physical_grouping" - } - }, - { - "pk": 5, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Regroupement d'un ensemble de mobilier. Exemple : ensemble des outils provenant d'une fouille, mobilier datant d'un site, tessonier virtuel, etc.", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": true, - "label": "Groupement virtuel", - "upstream_is_many": true, - "order": 10, - "txt_idx": "virtual_group" - } - }, - { - "pk": 13, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Action de nettoyer le mobilier, d'ordinaire \u00e0 l'eau", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Lavage", - "upstream_is_many": false, - "order": 10, - "txt_idx": "washing" - } - }, - { - "pk": 15, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Marquage", - "upstream_is_many": false, - "order": 10, - "txt_idx": "marking" - } - }, - { - "pk": 18, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "", - "available": true, - "downstream_is_many": false, - "parent": 17, - "virtual": false, - "label": "Photographie", - "upstream_is_many": false, - "order": 10, - "txt_idx": "photo" - } - }, - { - "pk": 9, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Photographie produisant un film (positif ou n\u00e9gatif).", - "available": true, - "downstream_is_many": false, - "parent": 18, - "virtual": false, - "label": "Photographie argentique", - "upstream_is_many": false, - "order": 10, - "txt_idx": "regular_photography" - } - }, - { - "pk": 8, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Prise de vue \u00e0 l'aide d'un appareil photo num\u00e9rique.", - "available": true, - "downstream_is_many": false, - "parent": 18, - "virtual": false, - "label": "Photographie num\u00e9rique", - "upstream_is_many": false, - "order": 10, - "txt_idx": "digital_photography" - } - }, - { - "pk": 17, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Prises de vue", - "upstream_is_many": false, - "order": 10, - "txt_idx": "shooting" - } - }, - { - "pk": 19, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "", - "available": true, - "downstream_is_many": false, - "parent": 17, - "virtual": false, - "label": "Radiographie", - "upstream_is_many": false, - "order": 10, - "txt_idx": "radioX" - } - }, - { - "pk": 2, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Radiographie (rayon X) qui produit un ou des films radio.", - "available": true, - "downstream_is_many": false, - "parent": 19, - "virtual": false, - "label": "Radiographie argentique", - "upstream_is_many": false, - "order": 10, - "txt_idx": "regular_x_ray" - } - }, - { - "pk": 3, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Radiographie (rayon X) qui produit un ou des fichiers num\u00e9riques.", - "available": true, - "downstream_is_many": false, - "parent": 19, - "virtual": false, - "label": "Radiographie num\u00e9rique", - "upstream_is_many": false, - "order": 10, - "txt_idx": "digital_x_ray" - } - }, - { - "pk": 12, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Regroupement d\u2019\u00e9l\u00e9ments afin d'en remonter un. Ceci traduit le remontage physique des \u00e9l\u00e9ments. Ils constituent dor\u00e9navant un seul objet issu du remontage de plusieurs.", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": false, - "label": "Remontage", - "upstream_is_many": true, - "order": 10, - "txt_idx": "reassembly" - } - }, - { - "pk": 20, - "model": "archaeological_finds.treatmenttype", - "fields": { - "comment": "Remontage virtuel : on sait que les \u00e9l\u00e9ments remontent ensemble, mais il n'y a pas eu de remontage physique p\u00e9renne.", - "available": true, - "downstream_is_many": false, - "parent": null, - "virtual": true, - "label": "Remontage virtuel", - "upstream_is_many": true, - "order": 10, - "txt_idx": "virtual-reassembly" - } - }, - { - "pk": 6, - "model": "archaeological_finds.treatmentstate", - "fields": { - "comment": "", - "available": true, - "txt_idx": "cancelled", - "label": "Abandonn\u00e9" - } - }, - { - "pk": 3, - "model": "archaeological_finds.treatmentstate", - "fields": { - "comment": "", - "available": true, - "txt_idx": "completed", - "label": "Achev\u00e9" - } - }, - { - "pk": 5, - "model": "archaeological_finds.treatmentstate", - "fields": { - "comment": "", - "available": true, - "txt_idx": "to_be_confirmed", - "label": "\u00c0 confirmer" - } - }, - { - "pk": 2, - "model": "archaeological_finds.treatmentstate", - "fields": { - "comment": "", - "available": true, - "txt_idx": "in_progress", - "label": "En cours" - } - }, - { - "pk": 4, - "model": "archaeological_finds.treatmentstate", - "fields": { - "comment": "", - "available": true, - "txt_idx": "unknown", - "label": "Inconnu" - } - }, - { - "pk": 1, - "model": "archaeological_finds.treatmentstate", - "fields": { - "comment": "", - "available": true, - "txt_idx": "planned", - "label": "Pr\u00e9vu" - } - }, - { - "pk": 4, - "model": "archaeological_finds.conservatorystate", - "fields": { - "comment": "L\u2019\u00e9tat de l\u2019objet n\u00e9cessite un traitement pr\u00e9ventif et/ou curatif.", - "available": true, - "txt_idx": "critical", - "parent": null, - "label": "Critique" - } - }, - { - "pk": 1, - "model": "archaeological_finds.conservatorystate", - "fields": { - "comment": "L\u2019\u00e9tat de l\u2019objet est \u00e0 d\u00e9terminer.", - "available": true, - "txt_idx": "unknown", - "parent": null, - "label": "Inconnu" - } - }, - { - "pk": 3, - "model": "archaeological_finds.conservatorystate", - "fields": { - "comment": "L\u2019\u00e9tat de l\u2019objet n\u00e9cessite un traitement pr\u00e9ventif.", - "available": true, - "txt_idx": "unstable", - "parent": null, - "label": "Instable" - } - }, - { - "pk": 2, - "model": "archaeological_finds.conservatorystate", - "fields": { - "comment": "L\u2019\u00e9tat de l\u2019objet est stable.", - "available": true, - "txt_idx": "stable", - "parent": null, - "label": "Stable" - } - }, - { - "pk": 1, - "model": "archaeological_finds.remarkabilitytype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "museable", - "label": "Mus\u00e9able" - } - }, - { - "pk": 5, - "model": "archaeological_finds.preservationtype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "to_wash", - "label": "\u00c0 laver" - } - }, - { - "pk": 2, - "model": "archaeological_finds.preservationtype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "recond", - "label": "\u00c0 reconditionner" - } - }, - { - "pk": 4, - "model": "archaeological_finds.preservationtype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "to_restaur", - "label": "\u00c0 restaurer" - } - }, - { - "pk": 3, - "model": "archaeological_finds.preservationtype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "to_stab", - "label": "\u00c0 stabiliser" - } - }, - { - "pk": 1, - "model": "archaeological_finds.preservationtype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "unknown", - "label": "Ind\u00e9termin\u00e9" - } - }, - { - "pk": 8, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "abreuvoir", - "parent": null, - "label": "abreuvoir" - } - }, - { - "pk": 9, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "accessoire-de-toilette", - "parent": null, - "label": "accessoire de toilette" - } - }, - { - "pk": 10, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "affutoir", - "parent": null, - "label": "aff\u00fbtoir" - } - }, - { - "pk": 11, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "agrafe", - "parent": null, - "label": "agrafe" - } - }, - { - "pk": 12, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "aiguille", - "parent": null, - "label": "aiguille" - } - }, - { - "pk": 13, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "aiguille-a-chas", - "parent": null, - "label": "aiguille \u00e0 chas" - } - }, - { - "pk": 14, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "aiguisoir", - "parent": null, - "label": "aiguisoir" - } - }, - { - "pk": 15, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "albarel", - "parent": null, - "label": "albarel" - } - }, - { - "pk": 16, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "alene", - "parent": null, - "label": "al\u00eane" - } - }, - { - "pk": 17, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "amphore", - "parent": null, - "label": "amphore" - } - }, - { - "pk": 18, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "amphorette", - "parent": null, - "label": "amphorette" - } - }, - { - "pk": 7, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ancre", - "parent": null, - "label": "ancre" - } - }, - { - "pk": 19, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "andouillet", - "parent": null, - "label": "andouillet" - } - }, - { - "pk": 20, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "angon", - "parent": null, - "label": "angon" - } - }, - { - "pk": 21, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "anneau", - "parent": null, - "label": "anneau" - } - }, - { - "pk": 22, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "anse", - "parent": null, - "label": "anse" - } - }, - { - "pk": 23, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "applique", - "parent": null, - "label": "applique" - } - }, - { - "pk": 24, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "appui-de-fenetre", - "parent": null, - "label": "appui de fen\u00eatre" - } - }, - { - "pk": 25, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ardillon", - "parent": null, - "label": "ardillon" - } - }, - { - "pk": 26, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ardoise", - "parent": null, - "label": "ardoise" - } - }, - { - "pk": 27, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ardoise-de-couverture", - "parent": null, - "label": "ardoise de couverture" - } - }, - { - "pk": 28, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "argile", - "parent": null, - "label": "argile" - } - }, - { - "pk": 29, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "argile-brule", - "parent": null, - "label": "argile br\u00fbl\u00e9" - } - }, - { - "pk": 30, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "armille", - "parent": null, - "label": "armille" - } - }, - { - "pk": 31, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "arrache-clous", - "parent": null, - "label": "arrache-clous " - } - }, - { - "pk": 32, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "assiette", - "parent": null, - "label": "assiette" - } - }, - { - "pk": 33, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "attache", - "parent": null, - "label": "attache" - } - }, - { - "pk": 34, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "aumoniere", - "parent": null, - "label": "aum\u00f4ni\u00e8re " - } - }, - { - "pk": 35, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "avifaune-oiseau", - "parent": null, - "label": "avifaune (oiseau)" - } - }, - { - "pk": 36, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "axe-dune-meule-et-licotin", - "parent": null, - "label": "axe d'une meule et licotin" - } - }, - { - "pk": 37, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bague", - "parent": null, - "label": "bague" - } - }, - { - "pk": 38, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "balance", - "parent": null, - "label": "balance" - } - }, - { - "pk": 39, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "balle", - "parent": null, - "label": "balle" - } - }, - { - "pk": 40, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "balsamaire", - "parent": null, - "label": "balsamaire" - } - }, - { - "pk": 41, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "balustrade", - "parent": null, - "label": "balustrade" - } - }, - { - "pk": 42, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bandage-de-roue", - "parent": null, - "label": "bandage de roue" - } - }, - { - "pk": 43, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "barbacane", - "parent": null, - "label": "barbacane" - } - }, - { - "pk": 44, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "barre", - "parent": null, - "label": "barre" - } - }, - { - "pk": 45, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "barrette", - "parent": null, - "label": "barrette" - } - }, - { - "pk": 46, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "barrette-de-fourreau", - "parent": null, - "label": "barrette de fourreau" - } - }, - { - "pk": 47, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "basalte", - "parent": null, - "label": "basalte" - } - }, - { - "pk": 48, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "base", - "parent": null, - "label": "base" - } - }, - { - "pk": 49, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "base-de-colonne", - "parent": null, - "label": "base de colonne" - } - }, - { - "pk": 50, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bassin", - "parent": null, - "label": "bassin" - } - }, - { - "pk": 51, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "baton-docre", - "parent": null, - "label": "b\u00e2ton d'ocre" - } - }, - { - "pk": 52, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "battitures", - "parent": null, - "label": "battitures" - } - }, - { - "pk": 54, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "beche", - "parent": null, - "label": "b\u00eache" - } - }, - { - "pk": 53, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bec-verseur", - "parent": null, - "label": "bec verseur" - } - }, - { - "pk": 55, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "beliere", - "parent": null, - "label": "b\u00e9li\u00e8re" - } - }, - { - "pk": 56, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "biface", - "parent": null, - "label": "biface" - } - }, - { - "pk": 57, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bille", - "parent": null, - "label": "bille" - } - }, - { - "pk": 58, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bloc", - "parent": null, - "label": "bloc" - } - }, - { - "pk": 59, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bloc-sculpte", - "parent": null, - "label": "bloc sculpt\u00e9" - } - }, - { - "pk": 60, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bloc-taille", - "parent": null, - "label": "bloc taill\u00e9" - } - }, - { - "pk": 61, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bobine-a-fil", - "parent": null, - "label": "bobine \u00e0 fil" - } - }, - { - "pk": 62, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bocal", - "parent": null, - "label": "bocal" - } - }, - { - "pk": 63, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bocal-a-pharmacie", - "parent": null, - "label": "bocal \u00e0 pharmacie" - } - }, - { - "pk": 64, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bois", - "parent": null, - "label": "bois" - } - }, - { - "pk": 65, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bois-de-cerf", - "parent": null, - "label": "bois de cerf" - } - }, - { - "pk": 66, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bois-de-construction", - "parent": null, - "label": "bois de construction" - } - }, - { - "pk": 67, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boite", - "parent": null, - "label": "bo\u00eete" - } - }, - { - "pk": 68, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bol", - "parent": null, - "label": "bol" - } - }, - { - "pk": 69, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bonnet", - "parent": null, - "label": "bonnet" - } - }, - { - "pk": 70, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bord", - "parent": null, - "label": "bord " - } - }, - { - "pk": 71, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bordure", - "parent": null, - "label": "bordure" - } - }, - { - "pk": 72, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boucharde-ou-eclat", - "parent": null, - "label": "boucharde ou \u00e9clat" - } - }, - { - "pk": 73, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bouchon", - "parent": null, - "label": "bouchon" - } - }, - { - "pk": 74, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boucle", - "parent": null, - "label": "boucle" - } - }, - { - "pk": 77, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boucle-de-ceinture", - "parent": null, - "label": "boucle de ceinture" - } - }, - { - "pk": 78, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boucle-de-chaussure", - "parent": null, - "label": "boucle de chaussure" - } - }, - { - "pk": 76, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boucle-dharnachement", - "parent": null, - "label": "boucle d'harnachement" - } - }, - { - "pk": 75, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boucle-doreille", - "parent": null, - "label": "boucle d'oreille" - } - }, - { - "pk": 79, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boucle-en-8", - "parent": null, - "label": "boucle en 8" - } - }, - { - "pk": 80, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boudins", - "parent": null, - "label": "boudins" - } - }, - { - "pk": 81, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bougeoir", - "parent": null, - "label": "bougeoir" - } - }, - { - "pk": 82, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boule", - "parent": null, - "label": "boule" - } - }, - { - "pk": 83, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boulet", - "parent": null, - "label": "boulet" - } - }, - { - "pk": 84, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boulet-de-canon", - "parent": null, - "label": "boulet de canon" - } - }, - { - "pk": 85, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "boulette", - "parent": null, - "label": "boulette" - } - }, - { - "pk": 86, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bouteille", - "parent": null, - "label": "bouteille" - } - }, - { - "pk": 87, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bouterolle", - "parent": null, - "label": "bouterolle" - } - }, - { - "pk": 88, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bouton", - "parent": null, - "label": "bouton" - } - }, - { - "pk": 89, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bovide", - "parent": null, - "label": "bovid\u00e9" - } - }, - { - "pk": 90, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bracelet", - "parent": null, - "label": "bracelet" - } - }, - { - "pk": 91, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "branche", - "parent": null, - "label": "branche" - } - }, - { - "pk": 92, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bride", - "parent": null, - "label": "bride" - } - }, - { - "pk": 93, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "brides-dattaches", - "parent": null, - "label": "brides d'attaches" - } - }, - { - "pk": 94, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "brique", - "parent": null, - "label": "brique" - } - }, - { - "pk": 95, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "briquet", - "parent": null, - "label": "briquet" - } - }, - { - "pk": 96, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "briquetage-element", - "parent": null, - "label": "briquetage (\u00e9l\u00e9ment)" - } - }, - { - "pk": 97, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "broche", - "parent": null, - "label": "broche" - } - }, - { - "pk": 98, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "broyon", - "parent": null, - "label": "broyon" - } - }, - { - "pk": 99, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "bulle-pontificale", - "parent": null, - "label": "bulle pontificale" - } - }, - { - "pk": 100, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "burin", - "parent": null, - "label": "burin" - } - }, - { - "pk": 101, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "buste", - "parent": null, - "label": "buste" - } - }, - { - "pk": 102, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cabochon", - "parent": null, - "label": "cabochon" - } - }, - { - "pk": 103, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cadenas", - "parent": null, - "label": "cadenas" - } - }, - { - "pk": 104, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "calage", - "parent": null, - "label": "calage" - } - }, - { - "pk": 105, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "calcaire-moulure", - "parent": null, - "label": "calcaire moulur\u00e9" - } - }, - { - "pk": 106, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cale", - "parent": null, - "label": "cale" - } - }, - { - "pk": 107, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "calice", - "parent": null, - "label": "calice" - } - }, - { - "pk": 108, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "calotte-cranienne-et-fibula", - "parent": null, - "label": "calotte cr\u00e2nienne et fibula" - } - }, - { - "pk": 109, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "canalisation", - "parent": null, - "label": "canalisation" - } - }, - { - "pk": 110, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "canon", - "parent": null, - "label": "canon" - } - }, - { - "pk": 111, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "caquelon", - "parent": null, - "label": "caquelon" - } - }, - { - "pk": 112, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carafe", - "parent": null, - "label": "carafe" - } - }, - { - "pk": 113, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carene", - "parent": null, - "label": "car\u00e8ne" - } - }, - { - "pk": 114, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carreau", - "parent": null, - "label": "carreau" - } - }, - { - "pk": 120, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carreau-bol", - "parent": null, - "label": "carreau-bol" - } - }, - { - "pk": 116, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carreau-dangle", - "parent": null, - "label": "carreau d'angle" - } - }, - { - "pk": 115, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carreau-darbalete", - "parent": null, - "label": "carreau d'arbal\u00e8te" - } - }, - { - "pk": 117, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carreau-de-pavement", - "parent": null, - "label": "carreau de pavement" - } - }, - { - "pk": 118, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carreau-de-poele", - "parent": null, - "label": "carreau de po\u00eale" - } - }, - { - "pk": 119, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carreau-double", - "parent": null, - "label": "carreau double" - } - }, - { - "pk": 121, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "carrelage", - "parent": null, - "label": "carrelage" - } - }, - { - "pk": 122, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cartouche", - "parent": null, - "label": "cartouche" - } - }, - { - "pk": 123, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "casque", - "parent": null, - "label": "casque" - } - }, - { - "pk": 124, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "casson", - "parent": null, - "label": "casson" - } - }, - { - "pk": 125, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cavalier", - "parent": null, - "label": "cavalier" - } - }, - { - "pk": 126, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ceinture", - "parent": null, - "label": "ceinture" - } - }, - { - "pk": 127, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cerclage", - "parent": null, - "label": "cerclage" - } - }, - { - "pk": 128, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cercle", - "parent": null, - "label": "cercle" - } - }, - { - "pk": 129, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cereales", - "parent": null, - "label": "c\u00e9r\u00e9ales" - } - }, - { - "pk": 130, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cervide", - "parent": null, - "label": "cervid\u00e9" - } - }, - { - "pk": 131, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chaine", - "parent": null, - "label": "cha\u00eene" - } - }, - { - "pk": 132, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chainette", - "parent": null, - "label": "cha\u00eenette" - } - }, - { - "pk": 133, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chandelier", - "parent": null, - "label": "chandelier" - } - }, - { - "pk": 134, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chape", - "parent": null, - "label": "chape" - } - }, - { - "pk": 135, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chapelet", - "parent": null, - "label": "chapelet" - } - }, - { - "pk": 136, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chapiteau", - "parent": null, - "label": "chapiteau" - } - }, - { - "pk": 137, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "charbon", - "parent": null, - "label": "charbon" - } - }, - { - "pk": 138, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "charniere", - "parent": null, - "label": "charni\u00e8re" - } - }, - { - "pk": 140, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chatelaine", - "parent": null, - "label": "ch\u00e2telaine" - } - }, - { - "pk": 141, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chaton", - "parent": null, - "label": "chaton" - } - }, - { - "pk": 139, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chat-tete", - "parent": null, - "label": "chat (t\u00eate)" - } - }, - { - "pk": 142, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chaudron", - "parent": null, - "label": "chaudron" - } - }, - { - "pk": 143, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chaussure", - "parent": null, - "label": "chaussure" - } - }, - { - "pk": 144, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chenet", - "parent": null, - "label": "chenet" - } - }, - { - "pk": 145, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cheveux", - "parent": null, - "label": "cheveux" - } - }, - { - "pk": 146, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cheville", - "parent": null, - "label": "cheville" - } - }, - { - "pk": 147, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "chien", - "parent": null, - "label": "chien" - } - }, - { - "pk": 148, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "christ-en-croix", - "parent": null, - "label": "christ en croix" - } - }, - { - "pk": 149, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ciboire", - "parent": null, - "label": "ciboire" - } - }, - { - "pk": 150, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ciseau", - "parent": null, - "label": "ciseau" - } - }, - { - "pk": 151, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ciseaux-plat", - "parent": null, - "label": "ciseaux plat" - } - }, - { - "pk": 152, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ciste", - "parent": null, - "label": "ciste" - } - }, - { - "pk": 153, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "clarine", - "parent": null, - "label": "clarine " - } - }, - { - "pk": 154, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "claveau", - "parent": null, - "label": "claveau" - } - }, - { - "pk": 155, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "clavette", - "parent": null, - "label": "clavette" - } - }, - { - "pk": 156, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "clavicule", - "parent": null, - "label": "clavicule" - } - }, - { - "pk": 157, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cle", - "parent": null, - "label": "cl\u00e9" - } - }, - { - "pk": 158, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cle-bague", - "parent": null, - "label": "cl\u00e9 bague" - } - }, - { - "pk": 159, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cle-de-voute", - "parent": null, - "label": "cl\u00e9 de vo\u00fbte" - } - }, - { - "pk": 160, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cloche", - "parent": null, - "label": "cloche" - } - }, - { - "pk": 161, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "clochette", - "parent": null, - "label": "clochette" - } - }, - { - "pk": 162, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "clou", - "parent": null, - "label": "clou" - } - }, - { - "pk": 163, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coffret", - "parent": null, - "label": "coffret" - } - }, - { - "pk": 164, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coin", - "parent": null, - "label": "coin" - } - }, - { - "pk": 165, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "col", - "parent": null, - "label": "col" - } - }, - { - "pk": 166, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "collier", - "parent": null, - "label": "collier" - } - }, - { - "pk": 167, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "colonne", - "parent": null, - "label": "colonne" - } - }, - { - "pk": 168, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "colonnette", - "parent": null, - "label": "colonnette" - } - }, - { - "pk": 169, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cone", - "parent": null, - "label": "c\u00f4ne" - } - }, - { - "pk": 170, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "contre-plaque", - "parent": null, - "label": "contre plaque" - } - }, - { - "pk": 171, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "copeau", - "parent": null, - "label": "copeau" - } - }, - { - "pk": 172, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coprolithes", - "parent": null, - "label": "coprolithes" - } - }, - { - "pk": 173, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coquemar-tripode", - "parent": null, - "label": "coquemar tripode" - } - }, - { - "pk": 174, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coquillage-conchyliologie", - "parent": null, - "label": "coquillage (conchyliologie)" - } - }, - { - "pk": 175, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "corne", - "parent": null, - "label": "corne" - } - }, - { - "pk": 176, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "corne-dappel", - "parent": null, - "label": "corne d'appel" - } - }, - { - "pk": 177, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cornet", - "parent": null, - "label": "cornet" - } - }, - { - "pk": 178, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "corniere", - "parent": null, - "label": "corni\u00e8re" - } - }, - { - "pk": 179, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cote", - "parent": null, - "label": "c\u00f4te" - } - }, - { - "pk": 180, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coulure", - "parent": null, - "label": "coulure" - } - }, - { - "pk": 181, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coupe", - "parent": null, - "label": "coupe" - } - }, - { - "pk": 182, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coupelle", - "parent": null, - "label": "coupelle" - } - }, - { - "pk": 183, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "couteau", - "parent": null, - "label": "couteau" - } - }, - { - "pk": 184, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "couvercle", - "parent": null, - "label": "couvercle" - } - }, - { - "pk": 185, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "couvre-feu", - "parent": null, - "label": "couvre feu" - } - }, - { - "pk": 186, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "couvre-joint", - "parent": null, - "label": "couvre joint" - } - }, - { - "pk": 187, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "coxal", - "parent": null, - "label": "coxal" - } - }, - { - "pk": 188, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "crampon", - "parent": null, - "label": "crampon" - } - }, - { - "pk": 189, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "crane", - "parent": null, - "label": "cr\u00e2ne" - } - }, - { - "pk": 190, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "crapaudine", - "parent": null, - "label": "crapaudine" - } - }, - { - "pk": 191, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cremaillere-element-de", - "parent": null, - "label": "cr\u00e9maill\u00e8re ( \u00e9l\u00e9ment de )" - } - }, - { - "pk": 192, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "creuset", - "parent": null, - "label": "creuset" - } - }, - { - "pk": 193, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "crochet", - "parent": null, - "label": "crochet" - } - }, - { - "pk": 194, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "croix", - "parent": null, - "label": "croix" - } - }, - { - "pk": 195, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "croix-de-lorraine", - "parent": null, - "label": "croix de lorraine" - } - }, - { - "pk": 196, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cruche", - "parent": null, - "label": "cruche" - } - }, - { - "pk": 197, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "crucifix", - "parent": null, - "label": "crucifix" - } - }, - { - "pk": 198, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cuillere", - "parent": null, - "label": "cuill\u00e8re" - } - }, - { - "pk": 199, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cuirasse", - "parent": null, - "label": "cuirasse" - } - }, - { - "pk": 200, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "culot", - "parent": null, - "label": "culot" - } - }, - { - "pk": 201, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "culot-de-forge", - "parent": null, - "label": "culot de forge" - } - }, - { - "pk": 202, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "curette", - "parent": null, - "label": "curette" - } - }, - { - "pk": 203, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cuve", - "parent": null, - "label": "cuve" - } - }, - { - "pk": 204, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "cylindre", - "parent": null, - "label": "cylindre" - } - }, - { - "pk": 205, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dallage", - "parent": null, - "label": "dallage" - } - }, - { - "pk": 206, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dalle", - "parent": null, - "label": "dalle" - } - }, - { - "pk": 207, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "de-a-coudre", - "parent": null, - "label": "d\u00e9 \u00e0 coudre" - } - }, - { - "pk": 208, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "de-a-jouer", - "parent": null, - "label": "d\u00e9 \u00e0 jouer" - } - }, - { - "pk": 209, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dechet-chute-de-sciage", - "parent": null, - "label": "d\u00e9chet chute de sciage" - } - }, - { - "pk": 210, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dechet-de-coule", - "parent": null, - "label": "d\u00e9chet de coul\u00e9" - } - }, - { - "pk": 211, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dechets-de-forge", - "parent": null, - "label": "d\u00e9chets de forge" - } - }, - { - "pk": 212, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "decor-sculpte", - "parent": null, - "label": "d\u00e9cor sculpt\u00e9" - } - }, - { - "pk": 213, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "degorgeoir", - "parent": null, - "label": "d\u00e9gorgeoir" - } - }, - { - "pk": 214, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dent", - "parent": null, - "label": "dent" - } - }, - { - "pk": 215, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "disque", - "parent": null, - "label": "disque" - } - }, - { - "pk": 216, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "divers", - "parent": null, - "label": "divers" - } - }, - { - "pk": 217, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "divinite", - "parent": null, - "label": "divinit\u00e9" - } - }, - { - "pk": 218, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dogger", - "parent": null, - "label": "dogger" - } - }, - { - "pk": 219, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dolia", - "parent": null, - "label": "dolia" - } - }, - { - "pk": 220, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "dolium", - "parent": null, - "label": "dolium" - } - }, - { - "pk": 221, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "douelle", - "parent": null, - "label": "douelle" - } - }, - { - "pk": 222, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "douille", - "parent": null, - "label": "douille" - } - }, - { - "pk": 223, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ebauche", - "parent": null, - "label": "\u00e9bauche" - } - }, - { - "pk": 224, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "echantillon", - "parent": null, - "label": "\u00e9chantillon" - } - }, - { - "pk": 225, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "eclat", - "parent": null, - "label": "\u00e9clat" - } - }, - { - "pk": 226, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ecuelle", - "parent": null, - "label": "\u00e9cuelle" - } - }, - { - "pk": 227, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ecusson", - "parent": null, - "label": "\u00e9cusson" - } - }, - { - "pk": 228, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "element-architectural", - "parent": null, - "label": "\u00e9l\u00e9ment architectural" - } - }, - { - "pk": 230, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "element-de-char", - "parent": null, - "label": "\u00e9l\u00e9ment de char" - } - }, - { - "pk": 229, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "element-dharnachement", - "parent": null, - "label": "\u00e9l\u00e9ment d'harnachement" - } - }, - { - "pk": 231, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "embarcation", - "parent": null, - "label": "embarcation" - } - }, - { - "pk": 232, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "empreinte-de-pas", - "parent": null, - "label": "empreinte de pas" - } - }, - { - "pk": 233, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "enclume", - "parent": null, - "label": "enclume" - } - }, - { - "pk": 234, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "enduit", - "parent": null, - "label": "enduit" - } - }, - { - "pk": 235, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "enseigne-de-pelerinage", - "parent": null, - "label": "enseigne de p\u00e8lerinage" - } - }, - { - "pk": 236, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "epaule", - "parent": null, - "label": "\u00e9paule" - } - }, - { - "pk": 237, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "epee", - "parent": null, - "label": "\u00e9p\u00e9e" - } - }, - { - "pk": 238, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "eperon", - "parent": null, - "label": "\u00e9peron" - } - }, - { - "pk": 239, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "epingle", - "parent": null, - "label": "\u00e9pingle" - } - }, - { - "pk": 240, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "equide", - "parent": null, - "label": "\u00e9quid\u00e9" - } - }, - { - "pk": 241, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "escargot", - "parent": null, - "label": "escargot" - } - }, - { - "pk": 242, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "esquille", - "parent": null, - "label": "esquille" - } - }, - { - "pk": 243, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "esse", - "parent": null, - "label": "esse" - } - }, - { - "pk": 244, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "estampille", - "parent": null, - "label": "estampille" - } - }, - { - "pk": 245, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "etrier", - "parent": null, - "label": "\u00e9trier" - } - }, - { - "pk": 246, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ex-voto", - "parent": null, - "label": "ex voto" - } - }, - { - "pk": 247, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fabricat", - "parent": null, - "label": "fabricat" - } - }, - { - "pk": 248, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "faisselle", - "parent": null, - "label": "faisselle" - } - }, - { - "pk": 249, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fascine", - "parent": null, - "label": "fascine" - } - }, - { - "pk": 250, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fauchard", - "parent": null, - "label": "fauchard" - } - }, - { - "pk": 251, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "faucille", - "parent": null, - "label": "faucille" - } - }, - { - "pk": 252, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "faune", - "parent": null, - "label": "faune" - } - }, - { - "pk": 253, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "femur", - "parent": null, - "label": "f\u00e9mur" - } - }, - { - "pk": 254, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fer-a-cheval", - "parent": null, - "label": "fer \u00e0 cheval" - } - }, - { - "pk": 256, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fer-de-lance", - "parent": null, - "label": "fer de lance" - } - }, - { - "pk": 255, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fer-dequide", - "parent": null, - "label": "fer d'\u00e9quid\u00e9" - } - }, - { - "pk": 257, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ferret", - "parent": null, - "label": "ferret" - } - }, - { - "pk": 258, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ferrure-element", - "parent": null, - "label": "ferrure (\u00e9l\u00e9ment)" - } - }, - { - "pk": 259, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "feuillard", - "parent": null, - "label": "feuillard" - } - }, - { - "pk": 260, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "feuille", - "parent": null, - "label": "feuille" - } - }, - { - "pk": 261, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fiasque", - "parent": null, - "label": "fiasque" - } - }, - { - "pk": 262, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fibulas", - "parent": null, - "label": "fibulas" - } - }, - { - "pk": 263, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fibule", - "parent": null, - "label": "fibule" - } - }, - { - "pk": 264, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fiche", - "parent": null, - "label": "fiche" - } - }, - { - "pk": 265, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fiche-a-beliere", - "parent": null, - "label": "fiche \u00e0 b\u00e9li\u00e8re" - } - }, - { - "pk": 266, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "figurine", - "parent": null, - "label": "figurine" - } - }, - { - "pk": 267, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fil", - "parent": null, - "label": "fil" - } - }, - { - "pk": 268, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fiole", - "parent": null, - "label": "fiole" - } - }, - { - "pk": 269, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "flacon", - "parent": null, - "label": "flacon" - } - }, - { - "pk": 270, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fleau-de-balance", - "parent": null, - "label": "fl\u00e9au de balance" - } - }, - { - "pk": 271, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fleche", - "parent": null, - "label": "fl\u00e8che" - } - }, - { - "pk": 272, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "flute", - "parent": null, - "label": "fl\u00fbte" - } - }, - { - "pk": 273, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fond", - "parent": null, - "label": "fond" - } - }, - { - "pk": 274, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "force", - "parent": null, - "label": "force" - } - }, - { - "pk": 275, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "four", - "parent": null, - "label": "four" - } - }, - { - "pk": 276, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fourche", - "parent": null, - "label": "fourche" - } - }, - { - "pk": 277, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fourreau", - "parent": null, - "label": "fourreau" - } - }, - { - "pk": 278, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "foyer", - "parent": null, - "label": "foyer" - } - }, - { - "pk": 279, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "francisque", - "parent": null, - "label": "francisque" - } - }, - { - "pk": 280, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "frette", - "parent": null, - "label": "frette" - } - }, - { - "pk": 281, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "frise-darchitrave", - "parent": null, - "label": "frise d'architrave" - } - }, - { - "pk": 282, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "furgeoire", - "parent": null, - "label": "furgeoire" - } - }, - { - "pk": 283, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fusaiole", - "parent": null, - "label": "fusa\u00efole" - } - }, - { - "pk": 284, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fusee-dobus", - "parent": null, - "label": "fus\u00e9e d'obus" - } - }, - { - "pk": 285, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "fut-de-colonne", - "parent": null, - "label": "f\u00fbt de colonne" - } - }, - { - "pk": 286, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "galet", - "parent": null, - "label": "galet" - } - }, - { - "pk": 287, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "garniture", - "parent": null, - "label": "garniture" - } - }, - { - "pk": 288, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "garniture-de-bouton", - "parent": null, - "label": "garniture de bouton" - } - }, - { - "pk": 289, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "garniture-de-ceinture", - "parent": null, - "label": "garniture de ceinture" - } - }, - { - "pk": 290, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gasteropode-escargot", - "parent": null, - "label": "gast\u00e9ropode (escargot)" - } - }, - { - "pk": 291, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gland", - "parent": null, - "label": "gland" - } - }, - { - "pk": 292, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gobelet", - "parent": null, - "label": "gobelet" - } - }, - { - "pk": 293, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gobelet-de-poele", - "parent": null, - "label": "gobelet de po\u00eale" - } - }, - { - "pk": 294, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gond", - "parent": null, - "label": "gond" - } - }, - { - "pk": 295, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gouge", - "parent": null, - "label": "gouge" - } - }, - { - "pk": 296, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "goulot", - "parent": null, - "label": "goulot" - } - }, - { - "pk": 297, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "goutte-de-verre", - "parent": null, - "label": "goutte de verre" - } - }, - { - "pk": 298, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gouttiere", - "parent": null, - "label": "goutti\u00e8re" - } - }, - { - "pk": 299, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "grain-de-chapelet", - "parent": null, - "label": "grain de chapelet" - } - }, - { - "pk": 300, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "graine", - "parent": null, - "label": "graine" - } - }, - { - "pk": 301, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "grattoir", - "parent": null, - "label": "grattoir" - } - }, - { - "pk": 302, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gravier", - "parent": null, - "label": "gravier " - } - }, - { - "pk": 303, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gravure", - "parent": null, - "label": "gravure" - } - }, - { - "pk": 304, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "grelot", - "parent": null, - "label": "grelot" - } - }, - { - "pk": 305, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "grille", - "parent": null, - "label": "grille" - } - }, - { - "pk": 306, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gros-lithique", - "parent": null, - "label": "gros lithique" - } - }, - { - "pk": 307, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "gryphees", - "parent": null, - "label": "gryph\u00e9es" - } - }, - { - "pk": 308, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "guimbarde", - "parent": null, - "label": "guimbarde" - } - }, - { - "pk": 309, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "hache", - "parent": null, - "label": "hache" - } - }, - { - "pk": 310, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "hamecon", - "parent": null, - "label": "hame\u00e7on" - } - }, - { - "pk": 311, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "herminette", - "parent": null, - "label": "herminette" - } - }, - { - "pk": 312, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "herse", - "parent": null, - "label": "herse" - } - }, - { - "pk": 313, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "hipposandale", - "parent": null, - "label": "hipposandale" - } - }, - { - "pk": 314, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "huitre", - "parent": null, - "label": "hu\u00eetre" - } - }, - { - "pk": 315, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "humerus", - "parent": null, - "label": "hum\u00e9rus" - } - }, - { - "pk": 316, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ichtyofaune-poisson", - "parent": null, - "label": "ichtyofaune (poisson)" - } - }, - { - "pk": 317, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "imbrex", - "parent": null, - "label": "imbrex" - } - }, - { - "pk": 318, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "incineration-prelevement", - "parent": null, - "label": "incin\u00e9ration (pr\u00e9l\u00e8vement)" - } - }, - { - "pk": 319, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "indetermine", - "parent": null, - "label": "ind\u00e9termin\u00e9" - } - }, - { - "pk": 320, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "inhumation", - "parent": null, - "label": "inhumation" - } - }, - { - "pk": 321, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "inscription", - "parent": null, - "label": "inscription" - } - }, - { - "pk": 322, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "intaille", - "parent": null, - "label": "intaille" - } - }, - { - "pk": 323, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "jambage", - "parent": null, - "label": "jambage" - } - }, - { - "pk": 324, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "jambiere", - "parent": null, - "label": "jambi\u00e8re" - } - }, - { - "pk": 325, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "jante", - "parent": null, - "label": "jante" - } - }, - { - "pk": 326, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "jarre", - "parent": null, - "label": "jarre" - } - }, - { - "pk": 327, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "jatte", - "parent": null, - "label": "jatte" - } - }, - { - "pk": 328, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "jeton", - "parent": null, - "label": "jeton" - } - }, - { - "pk": 329, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "joug", - "parent": null, - "label": "joug" - } - }, - { - "pk": 330, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "kugeltopf", - "parent": null, - "label": "kugeltopf" - } - }, - { - "pk": 331, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lacrymaire", - "parent": null, - "label": "lacrymaire" - } - }, - { - "pk": 332, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lame", - "parent": null, - "label": "lame" - } - }, - { - "pk": 333, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lamelle", - "parent": null, - "label": "lamelle" - } - }, - { - "pk": 334, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lampe", - "parent": null, - "label": "lampe" - } - }, - { - "pk": 335, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lampe-a-huile", - "parent": null, - "label": "lampe \u00e0 huile" - } - }, - { - "pk": 336, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lance", - "parent": null, - "label": "lance" - } - }, - { - "pk": 337, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "languette", - "parent": null, - "label": "languette" - } - }, - { - "pk": 338, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lapidaire", - "parent": null, - "label": "lapidaire" - } - }, - { - "pk": 339, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lapidaire-element", - "parent": null, - "label": "lapidaire (\u00e9l\u00e9ment)" - } - }, - { - "pk": 340, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lechefrite", - "parent": null, - "label": "l\u00e8chefrite" - } - }, - { - "pk": 341, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "levre", - "parent": null, - "label": "l\u00e8vre " - } - }, - { - "pk": 342, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lime", - "parent": null, - "label": "lime" - } - }, - { - "pk": 343, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "linceul", - "parent": null, - "label": "linceul" - } - }, - { - "pk": 344, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lingot", - "parent": null, - "label": "lingot" - } - }, - { - "pk": 345, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lissoir", - "parent": null, - "label": "lissoir" - } - }, - { - "pk": 346, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lithique", - "parent": null, - "label": "lithique" - } - }, - { - "pk": 347, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lithique-brute", - "parent": null, - "label": "lithique brute" - } - }, - { - "pk": 348, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lithique-chauffe", - "parent": null, - "label": "lithique chauff\u00e9" - } - }, - { - "pk": 349, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lithique-debitage", - "parent": null, - "label": "lithique d\u00e9bitage" - } - }, - { - "pk": 350, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lithique-divers", - "parent": null, - "label": "lithique divers" - } - }, - { - "pk": 351, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lithique-outil", - "parent": null, - "label": "lithique outil" - } - }, - { - "pk": 352, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lithique-remontage", - "parent": null, - "label": "lithique remontage" - } - }, - { - "pk": 353, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "louche", - "parent": null, - "label": "louche" - } - }, - { - "pk": 354, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "loup", - "parent": null, - "label": "loup" - } - }, - { - "pk": 355, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "macro-reste", - "parent": null, - "label": "macro-reste" - } - }, - { - "pk": 356, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "maillon", - "parent": null, - "label": "maillon" - } - }, - { - "pk": 357, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "main-droite", - "parent": null, - "label": "main droite" - } - }, - { - "pk": 358, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "main-gauche", - "parent": null, - "label": "main gauche" - } - }, - { - "pk": 359, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mammifere", - "parent": null, - "label": "mammif\u00e8re" - } - }, - { - "pk": 360, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "manche", - "parent": null, - "label": "manche" - } - }, - { - "pk": 361, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mandibule", - "parent": null, - "label": "mandibule" - } - }, - { - "pk": 362, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "manuscrit-a-lencre", - "parent": null, - "label": "manuscrit \u00e0 l'encre" - } - }, - { - "pk": 363, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "margelle-de-puits", - "parent": null, - "label": "margelle de puits" - } - }, - { - "pk": 364, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "marmite", - "parent": null, - "label": "marmite" - } - }, - { - "pk": 365, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "marteau", - "parent": null, - "label": "marteau" - } - }, - { - "pk": 366, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "massacre-de-cerf", - "parent": null, - "label": "massacre de cerf" - } - }, - { - "pk": 367, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "materiaux-de-construction", - "parent": null, - "label": "mat\u00e9riaux de construction" - } - }, - { - "pk": 368, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "maxillaire", - "parent": null, - "label": "maxillaire" - } - }, - { - "pk": 369, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "medaille", - "parent": null, - "label": "m\u00e9daille" - } - }, - { - "pk": 370, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-inferieur", - "parent": null, - "label": "membre inf\u00e9rieur" - } - }, - { - "pk": 371, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-inferieur-droit", - "parent": null, - "label": "membre inf\u00e9rieur droit" - } - }, - { - "pk": 372, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-inferieur-gauche", - "parent": null, - "label": "membre inf\u00e9rieur gauche" - } - }, - { - "pk": 373, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-posterieur-droit", - "parent": null, - "label": "membre post\u00e9rieur droit" - } - }, - { - "pk": 374, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-posterieur-gauche", - "parent": null, - "label": "membre post\u00e9rieur gauche" - } - }, - { - "pk": 375, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-superieur", - "parent": null, - "label": "membre sup\u00e9rieur" - } - }, - { - "pk": 376, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-superieur-droit", - "parent": null, - "label": "membre sup\u00e9rieur droit" - } - }, - { - "pk": 377, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "membre-superieur-gauche", - "parent": null, - "label": "membre sup\u00e9rieur gauche" - } - }, - { - "pk": 378, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "menhir", - "parent": null, - "label": "menhir" - } - }, - { - "pk": 379, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mereau", - "parent": null, - "label": "m\u00e9reau" - } - }, - { - "pk": 380, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "metacarpe", - "parent": null, - "label": "m\u00e9tacarpe" - } - }, - { - "pk": 381, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "meule", - "parent": null, - "label": "meule" - } - }, - { - "pk": 383, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "micro-faune", - "parent": null, - "label": "micro-faune" - } - }, - { - "pk": 382, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "micro-vase", - "parent": null, - "label": "micro vase" - } - }, - { - "pk": 384, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "milfiori", - "parent": null, - "label": "milfiori" - } - }, - { - "pk": 385, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "minerai", - "parent": null, - "label": "minerai " - } - }, - { - "pk": 386, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "miroir", - "parent": null, - "label": "miroir" - } - }, - { - "pk": 387, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "moellon", - "parent": null, - "label": "moellon" - } - }, - { - "pk": 388, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "molette", - "parent": null, - "label": "molette " - } - }, - { - "pk": 389, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mollusque", - "parent": null, - "label": "mollusque" - } - }, - { - "pk": 390, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "monnaie", - "parent": null, - "label": "monnaie" - } - }, - { - "pk": 391, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mordant-de-ceinture", - "parent": null, - "label": "mordant de ceinture" - } - }, - { - "pk": 392, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mors-de-cheval", - "parent": null, - "label": "mors de cheval" - } - }, - { - "pk": 393, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mortier", - "parent": null, - "label": "mortier" - } - }, - { - "pk": 394, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mosaique", - "parent": null, - "label": "mosa\u00efque" - } - }, - { - "pk": 395, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "moulage", - "parent": null, - "label": "moulage" - } - }, - { - "pk": 397, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "moule-a-kugeltopf", - "parent": null, - "label": "moule \u00e0 kugeltopf" - } - }, - { - "pk": 396, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "moule-objet", - "parent": null, - "label": "moule (objet)" - } - }, - { - "pk": 398, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "moulure", - "parent": null, - "label": "moulure" - } - }, - { - "pk": 399, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "mouture", - "parent": null, - "label": "mouture" - } - }, - { - "pk": 400, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "navette", - "parent": null, - "label": "navette" - } - }, - { - "pk": 401, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "nodule", - "parent": null, - "label": "nodule" - } - }, - { - "pk": 402, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "nodule-brule", - "parent": null, - "label": "nodule br\u00fble" - } - }, - { - "pk": 403, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "nucleus", - "parent": null, - "label": "nucl\u00e9us" - } - }, - { - "pk": 404, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ocre", - "parent": null, - "label": "ocre" - } - }, - { - "pk": 405, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "oeuf", - "parent": null, - "label": "oeuf" - } - }, - { - "pk": 406, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "oiseau", - "parent": null, - "label": "oiseau" - } - }, - { - "pk": 407, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "omoplate", - "parent": null, - "label": "omoplate" - } - }, - { - "pk": 408, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "orle", - "parent": null, - "label": "orle" - } - }, - { - "pk": 409, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "os-debite", - "parent": null, - "label": "os d\u00e9bit\u00e9" - } - }, - { - "pk": 410, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "oule", - "parent": null, - "label": "oule" - } - }, - { - "pk": 411, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "outil-indetermine", - "parent": null, - "label": "outil ind\u00e9termin\u00e9" - } - }, - { - "pk": 412, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "paillette", - "parent": null, - "label": "paillette " - } - }, - { - "pk": 413, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "panse", - "parent": null, - "label": "panse" - } - }, - { - "pk": 414, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "papier", - "parent": null, - "label": "papier" - } - }, - { - "pk": 416, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "paroi-de-four", - "parent": null, - "label": "paroi de four" - } - }, - { - "pk": 415, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "paroi-element", - "parent": null, - "label": "paroi (\u00e9l\u00e9ment)" - } - }, - { - "pk": 417, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pas", - "parent": null, - "label": "pas" - } - }, - { - "pk": 418, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "passant", - "parent": null, - "label": "passant" - } - }, - { - "pk": 419, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "passant-de-ceinture", - "parent": null, - "label": "passant de ceinture" - } - }, - { - "pk": 421, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "passe-courroi", - "parent": null, - "label": "passe-courroi" - } - }, - { - "pk": 422, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "passe-guide", - "parent": null, - "label": "passe-guide" - } - }, - { - "pk": 420, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "passe-lacet", - "parent": null, - "label": "passe lacet" - } - }, - { - "pk": 423, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "passoire", - "parent": null, - "label": "passoire" - } - }, - { - "pk": 424, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "patellas", - "parent": null, - "label": "patellas" - } - }, - { - "pk": 425, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "patere", - "parent": null, - "label": "pat\u00e8re" - } - }, - { - "pk": 426, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "patte", - "parent": null, - "label": "patte" - } - }, - { - "pk": 427, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pavage", - "parent": null, - "label": "pavage" - } - }, - { - "pk": 428, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pave", - "parent": null, - "label": "pav\u00e9" - } - }, - { - "pk": 429, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pavement", - "parent": null, - "label": "pavement" - } - }, - { - "pk": 430, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "peigne", - "parent": null, - "label": "peigne" - } - }, - { - "pk": 431, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "peinture-murale", - "parent": null, - "label": "peinture murale" - } - }, - { - "pk": 432, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pelle", - "parent": null, - "label": "pelle" - } - }, - { - "pk": 433, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pelle-a-feu", - "parent": null, - "label": "pelle \u00e0 feu" - } - }, - { - "pk": 434, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pendant-de-ceinture", - "parent": null, - "label": "pendant de ceinture" - } - }, - { - "pk": 435, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pendeloque", - "parent": null, - "label": "pendeloque" - } - }, - { - "pk": 436, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pendentif", - "parent": null, - "label": "pendentif" - } - }, - { - "pk": 437, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "penture", - "parent": null, - "label": "penture" - } - }, - { - "pk": 438, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "percoir", - "parent": null, - "label": "per\u00e7oir" - } - }, - { - "pk": 439, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "percuteur", - "parent": null, - "label": "percuteur" - } - }, - { - "pk": 440, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "perle", - "parent": null, - "label": "perle" - } - }, - { - "pk": 441, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "peson", - "parent": null, - "label": "peson" - } - }, - { - "pk": 442, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "phalange", - "parent": null, - "label": "phalange" - } - }, - { - "pk": 443, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "phosphate", - "parent": null, - "label": "phosphate" - } - }, - { - "pk": 444, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pic", - "parent": null, - "label": "pic" - } - }, - { - "pk": 445, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pichet", - "parent": null, - "label": "pichet" - } - }, - { - "pk": 446, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "piece-de-renfort", - "parent": null, - "label": "pi\u00e8ce de renfort" - } - }, - { - "pk": 447, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pied", - "parent": null, - "label": "pied" - } - }, - { - "pk": 448, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pierre-a-aiguiser", - "parent": null, - "label": "pierre \u00e0 aiguiser" - } - }, - { - "pk": 449, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pieu", - "parent": null, - "label": "pieu" - } - }, - { - "pk": 450, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pilette", - "parent": null, - "label": "pilette" - } - }, - { - "pk": 451, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pilette-dhypocauste", - "parent": null, - "label": "pilette d'hypocauste" - } - }, - { - "pk": 452, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pilier", - "parent": null, - "label": "pilier" - } - }, - { - "pk": 453, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pilum", - "parent": null, - "label": "pilum" - } - }, - { - "pk": 454, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pince-a-epiler", - "parent": null, - "label": "pince \u00e0 \u00e9piler" - } - }, - { - "pk": 455, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "piochon", - "parent": null, - "label": "piochon" - } - }, - { - "pk": 456, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pion", - "parent": null, - "label": "pion" - } - }, - { - "pk": 457, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pipe", - "parent": null, - "label": "pipe" - } - }, - { - "pk": 458, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "piquet", - "parent": null, - "label": "piquet" - } - }, - { - "pk": 459, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pirogue", - "parent": null, - "label": "pirogue" - } - }, - { - "pk": 460, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pise", - "parent": null, - "label": "pis\u00e9" - } - }, - { - "pk": 461, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "piton", - "parent": null, - "label": "piton" - } - }, - { - "pk": 462, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "planche", - "parent": null, - "label": "planche" - } - }, - { - "pk": 463, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plane", - "parent": null, - "label": "plane" - } - }, - { - "pk": 464, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque", - "parent": null, - "label": "plaque" - } - }, - { - "pk": 472, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque-boucle", - "parent": null, - "label": "plaque-boucle" - } - }, - { - "pk": 466, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque-de-ceinture", - "parent": null, - "label": "plaque de ceinture" - } - }, - { - "pk": 470, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "plaque-decorative-de-harnachement", - "parent": null, - "label": "plaque d\u00e9corative de harnachement" - } - }, - { - "pk": 465, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque-dentree-de-serrure", - "parent": null, - "label": "plaque d'entr\u00e9e de serrure" - } - }, - { - "pk": 467, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque-de-porte", - "parent": null, - "label": "plaque de porte" - } - }, - { - "pk": 468, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque-de-renfort", - "parent": null, - "label": "plaque de renfort" - } - }, - { - "pk": 469, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque-de-tole", - "parent": null, - "label": "plaque de t\u00f4le " - } - }, - { - "pk": 471, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaque-dorsale", - "parent": null, - "label": "plaque dorsale" - } - }, - { - "pk": 473, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plaquette", - "parent": null, - "label": "plaquette" - } - }, - { - "pk": 474, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plat", - "parent": null, - "label": "plat" - } - }, - { - "pk": 475, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plat-a-barbe", - "parent": null, - "label": "plat \u00e0 barbe" - } - }, - { - "pk": 476, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "plomb-de-vitrail", - "parent": null, - "label": "plomb de vitrail" - } - }, - { - "pk": 477, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "poelon", - "parent": null, - "label": "po\u00ealon" - } - }, - { - "pk": 478, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "poids", - "parent": null, - "label": "poids" - } - }, - { - "pk": 479, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "poignard", - "parent": null, - "label": "poignard" - } - }, - { - "pk": 480, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "poignee", - "parent": null, - "label": "poign\u00e9e" - } - }, - { - "pk": 481, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "poincon", - "parent": null, - "label": "poin\u00e7on" - } - }, - { - "pk": 482, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pointe", - "parent": null, - "label": "pointe" - } - }, - { - "pk": 483, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pointe-de-fleche", - "parent": null, - "label": "pointe de fl\u00e8che" - } - }, - { - "pk": 484, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pointe-de-lance", - "parent": null, - "label": "pointe de lance" - } - }, - { - "pk": 485, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pointerolle", - "parent": null, - "label": "pointerolle" - } - }, - { - "pk": 486, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "polissoir", - "parent": null, - "label": "polissoir" - } - }, - { - "pk": 487, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pommeau", - "parent": null, - "label": "pommeau" - } - }, - { - "pk": 488, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "porte-ardillon", - "parent": null, - "label": "porte ardillon" - } - }, - { - "pk": 489, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot", - "parent": null, - "label": "pot" - } - }, - { - "pk": 490, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-a-carene", - "parent": null, - "label": "pot \u00e0 car\u00e8ne" - } - }, - { - "pk": 491, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-a-cuire", - "parent": null, - "label": "pot \u00e0 cuire" - } - }, - { - "pk": 492, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-a-digitations", - "parent": null, - "label": "pot \u00e0 digitations" - } - }, - { - "pk": 493, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-anse", - "parent": null, - "label": "pot ans\u00e9" - } - }, - { - "pk": 494, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-de-chambre", - "parent": null, - "label": "pot de chambre" - } - }, - { - "pk": 497, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-decore", - "parent": null, - "label": "pot d\u00e9cor\u00e9" - } - }, - { - "pk": 495, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-de-fleur", - "parent": null, - "label": "pot de fleur" - } - }, - { - "pk": 496, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-de-poele", - "parent": null, - "label": "pot de po\u00eale" - } - }, - { - "pk": 500, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "poteau", - "parent": null, - "label": "poteau" - } - }, - { - "pk": 501, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "potin", - "parent": null, - "label": "potin" - } - }, - { - "pk": 498, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-tripode", - "parent": null, - "label": "pot tripode" - } - }, - { - "pk": 499, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "pot-verseur", - "parent": null, - "label": "pot verseur" - } - }, - { - "pk": 502, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "poutre", - "parent": null, - "label": "poutre" - } - }, - { - "pk": 503, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "prelevement", - "parent": null, - "label": "pr\u00e9l\u00e8vement" - } - }, - { - "pk": 504, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "puits", - "parent": null, - "label": "puits" - } - }, - { - "pk": 505, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "radius", - "parent": null, - "label": "radius" - } - }, - { - "pk": 506, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "rasoir", - "parent": null, - "label": "rasoir" - } - }, - { - "pk": 507, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "rebut-de-fabrication", - "parent": null, - "label": "rebut de fabrication" - } - }, - { - "pk": 508, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "recipient", - "parent": null, - "label": "r\u00e9cipient" - } - }, - { - "pk": 509, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "reduction", - "parent": null, - "label": "r\u00e9duction" - } - }, - { - "pk": 510, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "refus-de-tamis", - "parent": null, - "label": "refus de tamis" - } - }, - { - "pk": 511, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "rivet", - "parent": null, - "label": "rivet" - } - }, - { - "pk": 512, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "rondelle", - "parent": null, - "label": "rondelle" - } - }, - { - "pk": 513, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "rongeur", - "parent": null, - "label": "rongeur" - } - }, - { - "pk": 514, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "rouelle", - "parent": null, - "label": "rouelle" - } - }, - { - "pk": 515, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ruban", - "parent": null, - "label": "ruban" - } - }, - { - "pk": 516, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sabot-animal", - "parent": null, - "label": "sabot (animal)" - } - }, - { - "pk": 517, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sacrum", - "parent": null, - "label": "sacrum" - } - }, - { - "pk": 518, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sarcophage", - "parent": null, - "label": "sarcophage" - } - }, - { - "pk": 519, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "scie", - "parent": null, - "label": "scie" - } - }, - { - "pk": 520, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "scorie", - "parent": null, - "label": "scorie" - } - }, - { - "pk": 521, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "scramasaxe", - "parent": null, - "label": "scramasaxe" - } - }, - { - "pk": 522, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sculpture", - "parent": null, - "label": "sculpture" - } - }, - { - "pk": 523, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "seau", - "parent": null, - "label": "seau" - } - }, - { - "pk": 524, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sediment", - "parent": null, - "label": "s\u00e9diment" - } - }, - { - "pk": 525, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "semelle-de-chaussure", - "parent": null, - "label": "semelle de chaussure" - } - }, - { - "pk": 526, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "serfouette", - "parent": null, - "label": "serfouette *" - } - }, - { - "pk": 527, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "serpette", - "parent": null, - "label": "serpette" - } - }, - { - "pk": 528, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "serrure", - "parent": null, - "label": "serrure" - } - }, - { - "pk": 529, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sifflet", - "parent": null, - "label": "sifflet" - } - }, - { - "pk": 530, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "soc", - "parent": null, - "label": "soc" - } - }, - { - "pk": 531, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "soie", - "parent": null, - "label": "soie" - } - }, - { - "pk": 532, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sol-de-four", - "parent": null, - "label": "sol de four" - } - }, - { - "pk": 533, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sonde", - "parent": null, - "label": "sonde" - } - }, - { - "pk": 534, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "soucoupe", - "parent": null, - "label": "soucoupe" - } - }, - { - "pk": 535, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "spatule", - "parent": null, - "label": "spatule" - } - }, - { - "pk": 536, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "squelette", - "parent": null, - "label": "squelette" - } - }, - { - "pk": 537, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "statuaire-anthropomorphe", - "parent": null, - "label": "statuaire anthropomorphe" - } - }, - { - "pk": 538, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "statuaire-zoomorphe", - "parent": null, - "label": "statuaire zoomorphe" - } - }, - { - "pk": 539, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "statue", - "parent": null, - "label": "statue" - } - }, - { - "pk": 540, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "statuette", - "parent": null, - "label": "statuette" - } - }, - { - "pk": 541, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "stele", - "parent": null, - "label": "st\u00e8le" - } - }, - { - "pk": 542, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "sternum", - "parent": null, - "label": "sternum" - } - }, - { - "pk": 543, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "strigile", - "parent": null, - "label": "strigile" - } - }, - { - "pk": 544, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "stylet", - "parent": null, - "label": "stylet" - } - }, - { - "pk": 545, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tabletterie", - "parent": null, - "label": "tabletterie" - } - }, - { - "pk": 546, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "talon", - "parent": null, - "label": "talon" - } - }, - { - "pk": 547, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tariere", - "parent": null, - "label": "tari\u00e8re" - } - }, - { - "pk": 548, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tasse", - "parent": null, - "label": "tasse" - } - }, - { - "pk": 549, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tegulae", - "parent": null, - "label": "tegulae" - } - }, - { - "pk": 550, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "temporaux", - "parent": null, - "label": "temporaux" - } - }, - { - "pk": 551, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "terrazzo", - "parent": null, - "label": "terrazzo" - } - }, - { - "pk": 552, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "terre-cuite-architecturale", - "parent": null, - "label": "terre cuite architecturale" - } - }, - { - "pk": 553, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "terre-rubefiee", - "parent": null, - "label": "terre rub\u00e9fi\u00e9e" - } - }, - { - "pk": 554, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "terrine", - "parent": null, - "label": "terrine " - } - }, - { - "pk": 555, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tesselle", - "parent": null, - "label": "tesselle" - } - }, - { - "pk": 556, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tesson", - "parent": null, - "label": "tesson" - } - }, - { - "pk": 557, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tete", - "parent": null, - "label": "t\u00eate" - } - }, - { - "pk": 558, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "thermometre", - "parent": null, - "label": "thermom\u00e8tre" - } - }, - { - "pk": 559, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "thorax", - "parent": null, - "label": "thorax" - } - }, - { - "pk": 560, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tibia", - "parent": null, - "label": "tibia" - } - }, - { - "pk": 561, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tige", - "parent": null, - "label": "tige" - } - }, - { - "pk": 562, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tissu", - "parent": null, - "label": "tissu" - } - }, - { - "pk": 563, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tole", - "parent": null, - "label": "t\u00f4le" - } - }, - { - "pk": 564, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tombe", - "parent": null, - "label": "tombe" - } - }, - { - "pk": 565, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "torchis", - "parent": null, - "label": "torchis" - } - }, - { - "pk": 566, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "torque", - "parent": null, - "label": "torque" - } - }, - { - "pk": 567, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tranchet", - "parent": null, - "label": "tranchet" - } - }, - { - "pk": 568, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tripode", - "parent": null, - "label": "tripode" - } - }, - { - "pk": 569, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tronc-echantillon", - "parent": null, - "label": "tronc (\u00e9chantillon)" - } - }, - { - "pk": 570, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "truelle", - "parent": null, - "label": "truelle" - } - }, - { - "pk": 571, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tube", - "parent": null, - "label": "tube" - } - }, - { - "pk": 572, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tubulure", - "parent": null, - "label": "tubulure" - } - }, - { - "pk": 573, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuile", - "parent": null, - "label": "tuile" - } - }, - { - "pk": 574, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuile-a-crochet", - "parent": null, - "label": "tuile \u00e0 crochet" - } - }, - { - "pk": 575, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuile-canal", - "parent": null, - "label": "tuile canal" - } - }, - { - "pk": 576, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuile-mecanique", - "parent": null, - "label": "tuile m\u00e9canique" - } - }, - { - "pk": 577, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuile-plate", - "parent": null, - "label": "tuile plate" - } - }, - { - "pk": 578, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuile-ronde", - "parent": null, - "label": "tuile ronde" - } - }, - { - "pk": 579, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuyau", - "parent": null, - "label": "tuyau" - } - }, - { - "pk": 580, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "tuyau-de-pipe", - "parent": null, - "label": "tuyau de pipe" - } - }, - { - "pk": 581, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "ulnas", - "parent": null, - "label": "ulnas" - } - }, - { - "pk": 582, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "urne", - "parent": null, - "label": "urne" - } - }, - { - "pk": 583, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "urne-cineraire", - "parent": null, - "label": "urne cin\u00e9raire" - } - }, - { - "pk": 584, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "vaisselle", - "parent": null, - "label": "vaisselle" - } - }, - { - "pk": 585, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "vase", - "parent": null, - "label": "vase" - } - }, - { - "pk": 586, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "vase-silo", - "parent": null, - "label": "vase silo" - } - }, - { - "pk": 587, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "verre-a-boire", - "parent": null, - "label": "verre (\u00e0 boire)" - } - }, - { - "pk": 588, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "verre-a-jambe", - "parent": null, - "label": "verre \u00e0 jambe" - } - }, - { - "pk": 589, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "verre-a-pied", - "parent": null, - "label": "verre \u00e0 pied" - } - }, - { - "pk": 591, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "verre-apode", - "parent": null, - "label": "verre apode" - } - }, - { - "pk": 590, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "verre-a-vitre", - "parent": null, - "label": "verre \u00e0 vitre" - } - }, - { - "pk": 592, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "verre-fondu", - "parent": null, - "label": "verre fondu" - } - }, - { - "pk": 593, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "verre-plat", - "parent": null, - "label": "verre plat" - } - }, - { - "pk": 594, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "vertebre", - "parent": null, - "label": "vert\u00e8bre" - } - }, - { - "pk": 595, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "virole", - "parent": null, - "label": "virole" - } - }, - { - "pk": 596, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "vitrail", - "parent": null, - "label": "vitrail" - } - }, - { - "pk": 597, - "model": "archaeological_finds.objecttype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "vitre", - "parent": null, - "label": "vitre" - } - }, - { - "pk": 5, - "model": "archaeological_finds.integritytype", - "fields": { - "comment": "N'est plus pr\u00e9sent : perdu ?", - "available": true, - "txt_idx": "not_there", - "label": "Absent" - } - }, - { - "pk": 2, - "model": "archaeological_finds.integritytype", - "fields": { - "comment": "Il est possible d'en reconstituer la forme compl\u00e8te avec une approximation acceptable (et ma\u00eetris\u00e9e)", - "available": true, - "txt_idx": "archaeo_complete", - "label": "Arch\u00e9ologiquement complet" - } - }, - { - "pk": 1, - "model": "archaeological_finds.integritytype", - "fields": { - "comment": "Int\u00e9grit\u00e9 totale", - "available": true, - "txt_idx": "complete", - "label": "Complet" - } - }, - { - "pk": 4, - "model": "archaeological_finds.integritytype", - "fields": { - "comment": "Rien \u00e0 tirer de cela : m\u00eame pas pour l'\u00e9tude de la mati\u00e8re", - "available": true, - "txt_idx": "lost_for_science", - "label": "\"Perdu pour la science\"" - } - }, - { - "pk": 3, - "model": "archaeological_finds.integritytype", - "fields": { - "comment": "La forme de l'objet est perdue", - "available": true, - "txt_idx": "integrity_lost", - "label": "Perte d'int\u00e9grit\u00e9 totale" - } - }, - { - "pk": 1, - "model": "archaeological_finds.batchtype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "inconnu", - "order": 0, - "label": "Inconnu" - } - }, - { - "pk": 2, - "model": "archaeological_finds.batchtype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "objet", - "order": 1, - "label": "Objet" - } - }, - { - "pk": 3, - "model": "archaeological_finds.batchtype", - "fields": { - "comment": null, - "available": true, - "txt_idx": "lot", - "order": 2, - "label": "Lot" - } - }, - { - "pk": 1, - "model": "archaeological_finds.treatmentfiletype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "loan_demand_study", - "label": "Demande de pr\u00eat pour \u00e9tude" - } - }, - { - "pk": 2, - "model": "archaeological_finds.treatmentfiletype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "loan_demand_exposure", - "label": "Demande de pr\u00eat pour exposition" - } - }, - { - "pk": 3, - "model": "archaeological_finds.treatmentfiletype", - "fields": { - "comment": "", - "available": true, - "txt_idx": "gift_wish", - "label": "Intention de donation" - } - } -]
\ No newline at end of file +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Min\u00e9ral", + "txt_idx": "mineral", + "comment": "", + "available": true, + "code": "M.MI", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Organique", + "txt_idx": "organic", + "comment": "", + "available": true, + "code": "M.OG", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Terre cuite", + "txt_idx": "earthenware", + "comment": "", + "available": true, + "code": "M.TC", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "M\u00e9tal", + "txt_idx": "metal", + "comment": "", + "available": true, + "code": "M.MT", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Verre", + "txt_idx": "glass", + "comment": "", + "available": true, + "code": "M.VR", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Autre", + "txt_idx": "other", + "comment": "Tout ce qui ne rentre pas dans les autres cases...", + "available": true, + "code": "M.AT", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Ind\u00e9termin\u00e9", + "txt_idx": "unknown", + "comment": "Tout ce qui n'a pas pu \u00eatre identifi\u00e9, qui est ind\u00e9terminable \u00e0 ce jour (semble t-il)", + "available": true, + "code": "M.ID", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Non \u00e9tudi\u00e9", + "txt_idx": "not_studied", + "comment": "Type de mat\u00e9riau inconnu car non \u00e9tudi\u00e9", + "available": true, + "code": "M.?", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Lithique", + "txt_idx": "lithic", + "comment": "Tout ce qui a rapport \u00e0 la pierre, \u00e0 la taille et \u00e0 l'industrie de la pierre durant la pr\u00e9histoire (ou plus r\u00e9cemment d'ailleurs)", + "available": true, + "code": "M.LT", + "recommendation": "", + "parent": [ + "mineral" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Lapidaire", + "txt_idx": "lapidary", + "comment": "Tout \u00e9l\u00e9ment en pierre intervenant dans la construction : pierre taill\u00e9e, moellon, pierre sculpt\u00e9e, statue \u2026", + "available": true, + "code": "M.LP", + "recommendation": "", + "parent": [ + "mineral" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Pierre autre", + "txt_idx": "other_stone", + "comment": "Tout ce qui n'est ni de l'industrie lithique, ni de la pierre de construction : meule, vaisselle, objet manufactur\u00e9 \u2026", + "available": true, + "code": "M.MI", + "recommendation": "", + "parent": [ + "mineral" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Organique travaill\u00e9", + "txt_idx": "organicwork", + "comment": "Cuir, tissu, tabletterie, vannerie, cordage, bois (hors construction), tout objet travaill\u00e9 (transform\u00e9) en mat\u00e9riau organique", + "available": true, + "code": "M.OG", + "recommendation": "", + "parent": [ + "organic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Organique non travaill\u00e9", + "txt_idx": "raw_organic", + "comment": "Mat\u00e9riaux naturels et de nature biologique (mnnb). Tout objet organique brut : os humain, reste de boucherie, graine, coquillage, corne \u2026", + "available": true, + "code": "M.OG", + "recommendation": "", + "parent": [ + "organic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "C\u00e9ramique", + "txt_idx": "ceramic", + "comment": "Toute la vaisselle c\u00e9ramique y compris les amphores", + "available": true, + "code": "M.TC", + "recommendation": "", + "parent": [ + "earthenware" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Terre cuite architecturale", + "txt_idx": "architect_earthenwork", + "comment": "Mat\u00e9riaux de construction en terre cuite", + "available": true, + "code": "M.TC", + "recommendation": "", + "parent": [ + "earthenware" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Terre cuite autre", + "txt_idx": "other_earthenwork", + "comment": "Tout ce qui n'est ni de la vaisselle c\u00e9ramique, ni de la TCA : peson, statuette, jouet \u2026", + "available": true, + "code": "M.TC", + "recommendation": "", + "parent": [ + "earthenware" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "M\u00e9tal non ferreux", + "txt_idx": "not_iron_metal", + "comment": "Tout objet en m\u00e9tal non ferreux", + "available": true, + "code": "M.MT", + "recommendation": "", + "parent": [ + "metal" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "M\u00e9tal ferreux", + "txt_idx": "iron_metal", + "comment": "Tout objet en m\u00e9tal ferreux", + "available": true, + "code": "M.MT", + "recommendation": "", + "parent": [ + "metal" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Mon\u00e9taire", + "txt_idx": "monetary", + "comment": "Monnaies, jetons \u00e0 compter, poids mon\u00e9taires, coins", + "available": true, + "code": "M.MT", + "recommendation": "", + "parent": [ + "metal" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Verre construction", + "txt_idx": "glass_constr", + "comment": "Tout objet en verre li\u00e9 \u00e0 la construction : vitrage \u2026", + "available": true, + "code": "M.VR", + "recommendation": "", + "parent": [ + "glass" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Verre autre", + "txt_idx": "glass_other", + "comment": "Tout objet en verre autre que le verre li\u00e9 \u00e0 la construction : vaisselle \u2026", + "available": true, + "code": "M.VR", + "recommendation": "", + "parent": [ + "glass" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Mat\u00e9riaux de construction autre", + "txt_idx": "constr_material", + "comment": "Tout mat\u00e9riau de construction qui n'est ni de la pierre, ni de la TCA, ni du verre : terre crue, torchis, pl\u00e2tre, enduit peint, mosa\u00efque, bois ...", + "available": true, + "code": "M.AT", + "recommendation": "", + "parent": [ + "other" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Synth\u00e9tique", + "txt_idx": "synthetic", + "comment": "Plastique \u2026", + "available": true, + "code": "M.AT", + "recommendation": "", + "parent": [ + "other" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Enduit peint", + "txt_idx": "painted_plaster", + "comment": "", + "available": true, + "code": "M.EP", + "recommendation": "", + "parent": [ + "constr_material" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Pr\u00e9l\u00e8vement trait\u00e9 et \u00e9tudi\u00e9", + "txt_idx": "sampling_processed_studied", + "comment": "", + "available": true, + "code": "P.TE", + "recommendation": "", + "parent": [ + "other" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Pr\u00e9l\u00e8vement trait\u00e9 non \u00e9tudi\u00e9", + "txt_idx": "sampling_processed_not_studied", + "comment": "", + "available": true, + "code": "P.NE", + "recommendation": "", + "parent": [ + "other" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Pr\u00e9l\u00e8vement non trait\u00e9", + "txt_idx": "sampling_not_processed", + "comment": "", + "available": true, + "code": "P.NT", + "recommendation": "", + "parent": [ + "other" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Os non travaill\u00e9", + "txt_idx": "unworked_bone", + "comment": "", + "available": true, + "code": "M.OS", + "recommendation": "", + "parent": [ + "raw_organic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Os travaill\u00e9", + "txt_idx": "bonework", + "comment": "", + "available": true, + "code": "M.OS", + "recommendation": "", + "parent": [ + "organicwork" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Os humain", + "txt_idx": "human_bone", + "comment": "", + "available": true, + "code": "M.OS", + "recommendation": "", + "parent": [ + "unworked_bone" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Faune", + "txt_idx": "animal_bone", + "comment": "", + "available": true, + "code": "M.OS", + "recommendation": "", + "parent": [ + "unworked_bone" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Cuir", + "txt_idx": "leather", + "comment": "", + "available": true, + "code": "M.OG", + "recommendation": "", + "parent": [ + "organicwork" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Alliage cuivreux", + "txt_idx": "copper-alloy", + "comment": "", + "available": true, + "code": "M.MT", + "recommendation": "", + "parent": [ + "not_iron_metal" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Composite", + "txt_idx": "composite", + "comment": "Fait de plusieurs mati\u00e8res", + "available": true, + "code": "CP", + "recommendation": "", + "parent": null + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Charbon de bois", + "txt_idx": "charcoal", + "comment": "", + "available": true, + "code": "M.OG", + "recommendation": "\u00c9viter l'\u00e9crasement", + "parent": [ + "raw_organic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Graine", + "txt_idx": "seed", + "comment": "", + "available": true, + "code": "M.OG", + "recommendation": "Hygrom\u00e9trie \u00e0 contr\u00f4ler, \u00e9viter l'\u00e9crasement", + "parent": [ + "raw_organic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Fer", + "txt_idx": "Iron", + "comment": "", + "available": true, + "code": "M.MT", + "recommendation": "", + "parent": [ + "iron_metal" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Fonte", + "txt_idx": "cast_iron", + "comment": "", + "available": true, + "code": "M.MT", + "recommendation": "", + "parent": [ + "iron_metal" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Bois non travaill\u00e9", + "txt_idx": "wood", + "comment": "", + "available": true, + "code": "M.OG", + "recommendation": "", + "parent": [ + "raw_organic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Bois travaill\u00e9", + "txt_idx": "shaped_wood", + "comment": "", + "available": true, + "code": "M.OG", + "recommendation": "", + "parent": [ + "organicwork" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Porcelaine", + "txt_idx": "porcelain", + "comment": "", + "available": true, + "code": "M.TC", + "recommendation": "", + "parent": [ + "ceramic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Fa\u00efence", + "txt_idx": "faience", + "comment": "", + "available": true, + "code": "M.TC", + "recommendation": "", + "parent": [ + "ceramic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Gr\u00e8s c\u00e9ramique", + "txt_idx": "stoneware", + "comment": "", + "available": true, + "code": "M.TC", + "recommendation": "", + "parent": [ + "ceramic" + ] + } +}, +{ + "model": "archaeological_finds.materialtype", + "fields": { + "label": "Bronze", + "txt_idx": "brz", + "comment": "", + "available": true, + "code": "BRZ", + "recommendation": "", + "parent": [ + "copper-alloy" + ] + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Conditionnement", + "txt_idx": "packaging", + "comment": "Le fait de mettre du mobilier dans un contenant. Que cela soit le conditionnement initial ou un re-conditionnement. ", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Prises de vue", + "txt_idx": "shooting", + "comment": "", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Radiographie", + "txt_idx": "radioX", + "comment": "", + "available": true, + "order": 10, + "parent": [ + "shooting" + ], + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "D\u00e9placement", + "txt_idx": "moving", + "comment": "D\u00e9placement de mobilier, entre deux d\u00e9p\u00f4ts : le mobilier ne peut pas \u00eatre stock\u00e9 ailleurs que dans un lieu consid\u00e9r\u00e9 comme un d\u00e9p\u00f4t.", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Groupement virtuel", + "txt_idx": "virtual_group", + "comment": "Regroupement d'un ensemble de mobilier. Exemple : ensemble des outils provenant d'une fouille, mobilier datant d'un site, tessonier virtuel, etc.", + "available": true, + "order": 10, + "parent": null, + "virtual": true, + "upstream_is_many": true, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Groupement", + "txt_idx": "physical_grouping", + "comment": "R\u00e9union de plusieurs objets ou lots mobiliers en un seul. Ce type de traitement peut impliquer ou non un reconditionnement.\r\n\r\nExemple : Remontage d'une c\u00e9ramique \u00e0 partir de tessons d\u00e9j\u00e0 pr\u00e9sents dans un contenant (pas de reconditionnement), regroupement d'une partie de la faune (os) d'une op\u00e9ration et cr\u00e9ation d'une nouvelle caisse dans ce but (reconditionnement \u00e0 faire).", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": true, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Division", + "txt_idx": "split", + "comment": "Division d'un lot de mobilier en plusieurs lots.", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": true + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "D\u00e9salinisation", + "txt_idx": "desalinisation", + "comment": "Processus qui permet d'\u00e9liminer le sel qui impr\u00e8gne un objet arch\u00e9ologique ou un lot d'objets.", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "\u00c9lectrolyse", + "txt_idx": "electrolysis", + "comment": "R\u00e9duction des oxydes d\u00e9velopp\u00e9s sur/dans un objet arch\u00e9ologique par l'usage de courant \u00e9lectrique.", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Remontage", + "txt_idx": "reassembly", + "comment": "Regroupement d\u2019\u00e9l\u00e9ments afin d'en remonter un. Ceci traduit le remontage physique des \u00e9l\u00e9ments. Ils constituent dor\u00e9navant un seul objet issu du remontage de plusieurs.", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": true, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Lavage", + "txt_idx": "washing", + "comment": "Action de nettoyer le mobilier, d'ordinaire \u00e0 l'eau", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Consultation sur place", + "txt_idx": "local_consultation", + "comment": "", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Marquage", + "txt_idx": "marking", + "comment": "", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Conservation-restauration", + "txt_idx": "conservation", + "comment": "", + "available": true, + "order": 10, + "parent": null, + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Radiographie argentique", + "txt_idx": "regular_x_ray", + "comment": "Radiographie (rayon X) qui produit un ou des films radio.", + "available": true, + "order": 10, + "parent": [ + "radioX" + ], + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Photographie", + "txt_idx": "photo", + "comment": "", + "available": true, + "order": 10, + "parent": [ + "shooting" + ], + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Radiographie num\u00e9rique", + "txt_idx": "digital_x_ray", + "comment": "Radiographie (rayon X) qui produit un ou des fichiers num\u00e9riques.", + "available": true, + "order": 10, + "parent": [ + "radioX" + ], + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Remontage virtuel", + "txt_idx": "virtual-reassembly", + "comment": "Remontage virtuel : on sait que les \u00e9l\u00e9ments remontent ensemble, mais il n'y a pas eu de remontage physique p\u00e9renne.", + "available": true, + "order": 10, + "parent": null, + "virtual": true, + "upstream_is_many": true, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Photographie argentique", + "txt_idx": "regular_photography", + "comment": "Photographie produisant un film (positif ou n\u00e9gatif).", + "available": true, + "order": 10, + "parent": [ + "photo" + ], + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmenttype", + "fields": { + "label": "Photographie num\u00e9rique", + "txt_idx": "digital_photography", + "comment": "Prise de vue \u00e0 l'aide d'un appareil photo num\u00e9rique.", + "available": true, + "order": 10, + "parent": [ + "photo" + ], + "virtual": false, + "upstream_is_many": false, + "downstream_is_many": false + } +}, +{ + "model": "archaeological_finds.treatmentstate", + "fields": { + "label": "Pr\u00e9vu", + "txt_idx": "planned", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.treatmentstate", + "fields": { + "label": "En cours", + "txt_idx": "in_progress", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.treatmentstate", + "fields": { + "label": "Achev\u00e9", + "txt_idx": "completed", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.treatmentstate", + "fields": { + "label": "Inconnu", + "txt_idx": "unknown", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.treatmentstate", + "fields": { + "label": "\u00c0 confirmer", + "txt_idx": "to_be_confirmed", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.treatmentstate", + "fields": { + "label": "Abandonn\u00e9", + "txt_idx": "cancelled", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.conservatorystate", + "fields": { + "label": "Inconnu", + "txt_idx": "unknown", + "comment": "L\u2019\u00e9tat de l\u2019objet est \u00e0 d\u00e9terminer.", + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.conservatorystate", + "fields": { + "label": "Stable", + "txt_idx": "stable", + "comment": "L\u2019\u00e9tat de l\u2019objet est stable.", + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.conservatorystate", + "fields": { + "label": "Instable", + "txt_idx": "unstable", + "comment": "L\u2019\u00e9tat de l\u2019objet n\u00e9cessite un traitement pr\u00e9ventif.", + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.conservatorystate", + "fields": { + "label": "Critique", + "txt_idx": "critical", + "comment": "L\u2019\u00e9tat de l\u2019objet n\u00e9cessite un traitement pr\u00e9ventif et/ou curatif.", + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.remarkabilitytype", + "fields": { + "label": "Mus\u00e9able", + "txt_idx": "museable", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.preservationtype", + "fields": { + "label": "Ind\u00e9termin\u00e9", + "txt_idx": "unknown", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.preservationtype", + "fields": { + "label": "\u00c0 reconditionner", + "txt_idx": "recond", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.preservationtype", + "fields": { + "label": "\u00c0 stabiliser", + "txt_idx": "to_stab", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.preservationtype", + "fields": { + "label": "\u00c0 restaurer", + "txt_idx": "to_restaur", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.preservationtype", + "fields": { + "label": "\u00c0 laver", + "txt_idx": "to_wash", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ancre", + "txt_idx": "ancre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "abreuvoir", + "txt_idx": "abreuvoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "accessoire de toilette", + "txt_idx": "accessoire-de-toilette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "aff\u00fbtoir", + "txt_idx": "affutoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "agrafe", + "txt_idx": "agrafe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "aiguille", + "txt_idx": "aiguille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "aiguille \u00e0 chas", + "txt_idx": "aiguille-a-chas", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "aiguisoir", + "txt_idx": "aiguisoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "albarel", + "txt_idx": "albarel", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "al\u00eane", + "txt_idx": "alene", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "amphore", + "txt_idx": "amphore", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "amphorette", + "txt_idx": "amphorette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "andouillet", + "txt_idx": "andouillet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "angon", + "txt_idx": "angon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "anneau", + "txt_idx": "anneau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "anse", + "txt_idx": "anse", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "applique", + "txt_idx": "applique", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "appui de fen\u00eatre", + "txt_idx": "appui-de-fenetre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ardillon", + "txt_idx": "ardillon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ardoise", + "txt_idx": "ardoise", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ardoise de couverture", + "txt_idx": "ardoise-de-couverture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "argile", + "txt_idx": "argile", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "argile br\u00fbl\u00e9", + "txt_idx": "argile-brule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "armille", + "txt_idx": "armille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "arrache-clous ", + "txt_idx": "arrache-clous", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "assiette", + "txt_idx": "assiette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "attache", + "txt_idx": "attache", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "aum\u00f4ni\u00e8re ", + "txt_idx": "aumoniere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "avifaune (oiseau)", + "txt_idx": "avifaune-oiseau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "axe d'une meule et licotin", + "txt_idx": "axe-dune-meule-et-licotin", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bague", + "txt_idx": "bague", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "balance", + "txt_idx": "balance", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "balle", + "txt_idx": "balle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "balsamaire", + "txt_idx": "balsamaire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "balustrade", + "txt_idx": "balustrade", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bandage de roue", + "txt_idx": "bandage-de-roue", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "barbacane", + "txt_idx": "barbacane", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "barre", + "txt_idx": "barre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "barrette", + "txt_idx": "barrette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "barrette de fourreau", + "txt_idx": "barrette-de-fourreau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "basalte", + "txt_idx": "basalte", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "base", + "txt_idx": "base", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "base de colonne", + "txt_idx": "base-de-colonne", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bassin", + "txt_idx": "bassin", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "b\u00e2ton d'ocre", + "txt_idx": "baton-docre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "battitures", + "txt_idx": "battitures", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bec verseur", + "txt_idx": "bec-verseur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "b\u00eache", + "txt_idx": "beche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "b\u00e9li\u00e8re", + "txt_idx": "beliere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "biface", + "txt_idx": "biface", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bille", + "txt_idx": "bille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bloc", + "txt_idx": "bloc", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bloc sculpt\u00e9", + "txt_idx": "bloc-sculpte", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bloc taill\u00e9", + "txt_idx": "bloc-taille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bobine \u00e0 fil", + "txt_idx": "bobine-a-fil", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bocal", + "txt_idx": "bocal", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bocal \u00e0 pharmacie", + "txt_idx": "bocal-a-pharmacie", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bois", + "txt_idx": "bois", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bois de cerf", + "txt_idx": "bois-de-cerf", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bois de construction", + "txt_idx": "bois-de-construction", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bo\u00eete", + "txt_idx": "boite", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bol", + "txt_idx": "bol", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bonnet", + "txt_idx": "bonnet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bord ", + "txt_idx": "bord", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bordure", + "txt_idx": "bordure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boucharde ou \u00e9clat", + "txt_idx": "boucharde-ou-eclat", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bouchon", + "txt_idx": "bouchon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boucle", + "txt_idx": "boucle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boucle d'oreille", + "txt_idx": "boucle-doreille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boucle d'harnachement", + "txt_idx": "boucle-dharnachement", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boucle de ceinture", + "txt_idx": "boucle-de-ceinture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boucle de chaussure", + "txt_idx": "boucle-de-chaussure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boucle en 8", + "txt_idx": "boucle-en-8", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boudins", + "txt_idx": "boudins", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bougeoir", + "txt_idx": "bougeoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boule", + "txt_idx": "boule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boulet", + "txt_idx": "boulet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boulet de canon", + "txt_idx": "boulet-de-canon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "boulette", + "txt_idx": "boulette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bouteille", + "txt_idx": "bouteille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bouterolle", + "txt_idx": "bouterolle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bouton", + "txt_idx": "bouton", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bovid\u00e9", + "txt_idx": "bovide", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bracelet", + "txt_idx": "bracelet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "branche", + "txt_idx": "branche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bride", + "txt_idx": "bride", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "brides d'attaches", + "txt_idx": "brides-dattaches", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "brique", + "txt_idx": "brique", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "briquet", + "txt_idx": "briquet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "briquetage (\u00e9l\u00e9ment)", + "txt_idx": "briquetage-element", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "broche", + "txt_idx": "broche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "broyon", + "txt_idx": "broyon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "bulle pontificale", + "txt_idx": "bulle-pontificale", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "burin", + "txt_idx": "burin", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "buste", + "txt_idx": "buste", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cabochon", + "txt_idx": "cabochon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cadenas", + "txt_idx": "cadenas", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "calage", + "txt_idx": "calage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "calcaire moulur\u00e9", + "txt_idx": "calcaire-moulure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cale", + "txt_idx": "cale", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "calice", + "txt_idx": "calice", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "calotte cr\u00e2nienne et fibula", + "txt_idx": "calotte-cranienne-et-fibula", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "canalisation", + "txt_idx": "canalisation", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "canon", + "txt_idx": "canon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "caquelon", + "txt_idx": "caquelon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carafe", + "txt_idx": "carafe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "car\u00e8ne", + "txt_idx": "carene", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carreau", + "txt_idx": "carreau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carreau d'arbal\u00e8te", + "txt_idx": "carreau-darbalete", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carreau d'angle", + "txt_idx": "carreau-dangle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carreau de pavement", + "txt_idx": "carreau-de-pavement", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carreau de po\u00eale", + "txt_idx": "carreau-de-poele", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carreau double", + "txt_idx": "carreau-double", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carreau-bol", + "txt_idx": "carreau-bol", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "carrelage", + "txt_idx": "carrelage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cartouche", + "txt_idx": "cartouche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "casque", + "txt_idx": "casque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "casson", + "txt_idx": "casson", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cavalier", + "txt_idx": "cavalier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ceinture", + "txt_idx": "ceinture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cerclage", + "txt_idx": "cerclage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cercle", + "txt_idx": "cercle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "c\u00e9r\u00e9ales", + "txt_idx": "cereales", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cervid\u00e9", + "txt_idx": "cervide", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cha\u00eene", + "txt_idx": "chaine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cha\u00eenette", + "txt_idx": "chainette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chandelier", + "txt_idx": "chandelier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chape", + "txt_idx": "chape", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chapelet", + "txt_idx": "chapelet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chapiteau", + "txt_idx": "chapiteau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "charbon", + "txt_idx": "charbon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "charni\u00e8re", + "txt_idx": "charniere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chat (t\u00eate)", + "txt_idx": "chat-tete", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ch\u00e2telaine", + "txt_idx": "chatelaine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chaton", + "txt_idx": "chaton", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chaudron", + "txt_idx": "chaudron", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chaussure", + "txt_idx": "chaussure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chenet", + "txt_idx": "chenet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cheveux", + "txt_idx": "cheveux", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cheville", + "txt_idx": "cheville", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "chien", + "txt_idx": "chien", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "christ en croix", + "txt_idx": "christ-en-croix", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ciboire", + "txt_idx": "ciboire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ciseau", + "txt_idx": "ciseau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ciseaux plat", + "txt_idx": "ciseaux-plat", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ciste", + "txt_idx": "ciste", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "clarine ", + "txt_idx": "clarine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "claveau", + "txt_idx": "claveau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "clavette", + "txt_idx": "clavette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "clavicule", + "txt_idx": "clavicule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cl\u00e9", + "txt_idx": "cle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cl\u00e9 bague", + "txt_idx": "cle-bague", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cl\u00e9 de vo\u00fbte", + "txt_idx": "cle-de-voute", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cloche", + "txt_idx": "cloche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "clochette", + "txt_idx": "clochette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "clou", + "txt_idx": "clou", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coffret", + "txt_idx": "coffret", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coin", + "txt_idx": "coin", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "col", + "txt_idx": "col", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "collier", + "txt_idx": "collier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "colonne", + "txt_idx": "colonne", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "colonnette", + "txt_idx": "colonnette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "c\u00f4ne", + "txt_idx": "cone", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "contre plaque", + "txt_idx": "contre-plaque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "copeau", + "txt_idx": "copeau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coprolithes", + "txt_idx": "coprolithes", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coquemar tripode", + "txt_idx": "coquemar-tripode", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coquillage (conchyliologie)", + "txt_idx": "coquillage-conchyliologie", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "corne", + "txt_idx": "corne", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "corne d'appel", + "txt_idx": "corne-dappel", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cornet", + "txt_idx": "cornet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "corni\u00e8re", + "txt_idx": "corniere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "c\u00f4te", + "txt_idx": "cote", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coulure", + "txt_idx": "coulure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coupe", + "txt_idx": "coupe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coupelle", + "txt_idx": "coupelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "couteau", + "txt_idx": "couteau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "couvercle", + "txt_idx": "couvercle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "couvre feu", + "txt_idx": "couvre-feu", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "couvre joint", + "txt_idx": "couvre-joint", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "coxal", + "txt_idx": "coxal", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "crampon", + "txt_idx": "crampon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cr\u00e2ne", + "txt_idx": "crane", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "crapaudine", + "txt_idx": "crapaudine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cr\u00e9maill\u00e8re ( \u00e9l\u00e9ment de )", + "txt_idx": "cremaillere-element-de", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "creuset", + "txt_idx": "creuset", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "crochet", + "txt_idx": "crochet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "croix", + "txt_idx": "croix", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "croix de lorraine", + "txt_idx": "croix-de-lorraine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cruche", + "txt_idx": "cruche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "crucifix", + "txt_idx": "crucifix", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cuill\u00e8re", + "txt_idx": "cuillere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cuirasse", + "txt_idx": "cuirasse", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "culot", + "txt_idx": "culot", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "culot de forge", + "txt_idx": "culot-de-forge", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "curette", + "txt_idx": "curette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cuve", + "txt_idx": "cuve", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "cylindre", + "txt_idx": "cylindre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "dallage", + "txt_idx": "dallage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "dalle", + "txt_idx": "dalle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "d\u00e9 \u00e0 coudre", + "txt_idx": "de-a-coudre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "d\u00e9 \u00e0 jouer", + "txt_idx": "de-a-jouer", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "d\u00e9chet chute de sciage", + "txt_idx": "dechet-chute-de-sciage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "d\u00e9chet de coul\u00e9", + "txt_idx": "dechet-de-coule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "d\u00e9chets de forge", + "txt_idx": "dechets-de-forge", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "d\u00e9cor sculpt\u00e9", + "txt_idx": "decor-sculpte", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "d\u00e9gorgeoir", + "txt_idx": "degorgeoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "dent", + "txt_idx": "dent", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "disque", + "txt_idx": "disque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "divers", + "txt_idx": "divers", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "divinit\u00e9", + "txt_idx": "divinite", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "dogger", + "txt_idx": "dogger", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "dolia", + "txt_idx": "dolia", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "dolium", + "txt_idx": "dolium", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "douelle", + "txt_idx": "douelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "douille", + "txt_idx": "douille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9bauche", + "txt_idx": "ebauche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9chantillon", + "txt_idx": "echantillon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9clat", + "txt_idx": "eclat", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9cuelle", + "txt_idx": "ecuelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9cusson", + "txt_idx": "ecusson", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9l\u00e9ment architectural", + "txt_idx": "element-architectural", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9l\u00e9ment d'harnachement", + "txt_idx": "element-dharnachement", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9l\u00e9ment de char", + "txt_idx": "element-de-char", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "embarcation", + "txt_idx": "embarcation", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "empreinte de pas", + "txt_idx": "empreinte-de-pas", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "enclume", + "txt_idx": "enclume", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "enduit", + "txt_idx": "enduit", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "enseigne de p\u00e8lerinage", + "txt_idx": "enseigne-de-pelerinage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9paule", + "txt_idx": "epaule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9p\u00e9e", + "txt_idx": "epee", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9peron", + "txt_idx": "eperon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9pingle", + "txt_idx": "epingle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9quid\u00e9", + "txt_idx": "equide", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "escargot", + "txt_idx": "escargot", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "esquille", + "txt_idx": "esquille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "esse", + "txt_idx": "esse", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "estampille", + "txt_idx": "estampille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "\u00e9trier", + "txt_idx": "etrier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ex voto", + "txt_idx": "ex-voto", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fabricat", + "txt_idx": "fabricat", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "faisselle", + "txt_idx": "faisselle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fascine", + "txt_idx": "fascine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fauchard", + "txt_idx": "fauchard", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "faucille", + "txt_idx": "faucille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "faune", + "txt_idx": "faune", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "f\u00e9mur", + "txt_idx": "femur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fer \u00e0 cheval", + "txt_idx": "fer-a-cheval", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fer d'\u00e9quid\u00e9", + "txt_idx": "fer-dequide", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fer de lance", + "txt_idx": "fer-de-lance", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ferret", + "txt_idx": "ferret", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ferrure (\u00e9l\u00e9ment)", + "txt_idx": "ferrure-element", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "feuillard", + "txt_idx": "feuillard", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "feuille", + "txt_idx": "feuille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fiasque", + "txt_idx": "fiasque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fibulas", + "txt_idx": "fibulas", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fibule", + "txt_idx": "fibule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fiche", + "txt_idx": "fiche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fiche \u00e0 b\u00e9li\u00e8re", + "txt_idx": "fiche-a-beliere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "figurine", + "txt_idx": "figurine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fil", + "txt_idx": "fil", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fiole", + "txt_idx": "fiole", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "flacon", + "txt_idx": "flacon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fl\u00e9au de balance", + "txt_idx": "fleau-de-balance", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fl\u00e8che", + "txt_idx": "fleche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fl\u00fbte", + "txt_idx": "flute", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fond", + "txt_idx": "fond", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "force", + "txt_idx": "force", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "four", + "txt_idx": "four", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fourche", + "txt_idx": "fourche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fourreau", + "txt_idx": "fourreau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "foyer", + "txt_idx": "foyer", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "francisque", + "txt_idx": "francisque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "frette", + "txt_idx": "frette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "frise d'architrave", + "txt_idx": "frise-darchitrave", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "furgeoire", + "txt_idx": "furgeoire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fusa\u00efole", + "txt_idx": "fusaiole", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "fus\u00e9e d'obus", + "txt_idx": "fusee-dobus", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "f\u00fbt de colonne", + "txt_idx": "fut-de-colonne", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "galet", + "txt_idx": "galet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "garniture", + "txt_idx": "garniture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "garniture de bouton", + "txt_idx": "garniture-de-bouton", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "garniture de ceinture", + "txt_idx": "garniture-de-ceinture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gast\u00e9ropode (escargot)", + "txt_idx": "gasteropode-escargot", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gland", + "txt_idx": "gland", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gobelet", + "txt_idx": "gobelet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gobelet de po\u00eale", + "txt_idx": "gobelet-de-poele", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gond", + "txt_idx": "gond", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gouge", + "txt_idx": "gouge", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "goulot", + "txt_idx": "goulot", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "goutte de verre", + "txt_idx": "goutte-de-verre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "goutti\u00e8re", + "txt_idx": "gouttiere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "grain de chapelet", + "txt_idx": "grain-de-chapelet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "graine", + "txt_idx": "graine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "grattoir", + "txt_idx": "grattoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gravier ", + "txt_idx": "gravier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gravure", + "txt_idx": "gravure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "grelot", + "txt_idx": "grelot", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "grille", + "txt_idx": "grille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gros lithique", + "txt_idx": "gros-lithique", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "gryph\u00e9es", + "txt_idx": "gryphees", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "guimbarde", + "txt_idx": "guimbarde", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "hache", + "txt_idx": "hache", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "hame\u00e7on", + "txt_idx": "hamecon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "herminette", + "txt_idx": "herminette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "herse", + "txt_idx": "herse", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "hipposandale", + "txt_idx": "hipposandale", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "hu\u00eetre", + "txt_idx": "huitre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "hum\u00e9rus", + "txt_idx": "humerus", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ichtyofaune (poisson)", + "txt_idx": "ichtyofaune-poisson", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "imbrex", + "txt_idx": "imbrex", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "incin\u00e9ration (pr\u00e9l\u00e8vement)", + "txt_idx": "incineration-prelevement", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ind\u00e9termin\u00e9", + "txt_idx": "indetermine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "inhumation", + "txt_idx": "inhumation", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "inscription", + "txt_idx": "inscription", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "intaille", + "txt_idx": "intaille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "jambage", + "txt_idx": "jambage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "jambi\u00e8re", + "txt_idx": "jambiere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "jante", + "txt_idx": "jante", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "jarre", + "txt_idx": "jarre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "jatte", + "txt_idx": "jatte", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "jeton", + "txt_idx": "jeton", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "joug", + "txt_idx": "joug", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "kugeltopf", + "txt_idx": "kugeltopf", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lacrymaire", + "txt_idx": "lacrymaire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lame", + "txt_idx": "lame", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lamelle", + "txt_idx": "lamelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lampe", + "txt_idx": "lampe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lampe \u00e0 huile", + "txt_idx": "lampe-a-huile", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lance", + "txt_idx": "lance", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "languette", + "txt_idx": "languette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lapidaire", + "txt_idx": "lapidaire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lapidaire (\u00e9l\u00e9ment)", + "txt_idx": "lapidaire-element", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "l\u00e8chefrite", + "txt_idx": "lechefrite", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "l\u00e8vre ", + "txt_idx": "levre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lime", + "txt_idx": "lime", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "linceul", + "txt_idx": "linceul", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lingot", + "txt_idx": "lingot", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lissoir", + "txt_idx": "lissoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lithique", + "txt_idx": "lithique", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lithique brute", + "txt_idx": "lithique-brute", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lithique chauff\u00e9", + "txt_idx": "lithique-chauffe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lithique d\u00e9bitage", + "txt_idx": "lithique-debitage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lithique divers", + "txt_idx": "lithique-divers", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lithique outil", + "txt_idx": "lithique-outil", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "lithique remontage", + "txt_idx": "lithique-remontage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "louche", + "txt_idx": "louche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "loup", + "txt_idx": "loup", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "macro-reste", + "txt_idx": "macro-reste", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "maillon", + "txt_idx": "maillon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "main droite", + "txt_idx": "main-droite", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "main gauche", + "txt_idx": "main-gauche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mammif\u00e8re", + "txt_idx": "mammifere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "manche", + "txt_idx": "manche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mandibule", + "txt_idx": "mandibule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "manuscrit \u00e0 l'encre", + "txt_idx": "manuscrit-a-lencre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "margelle de puits", + "txt_idx": "margelle-de-puits", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "marmite", + "txt_idx": "marmite", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "marteau", + "txt_idx": "marteau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "massacre de cerf", + "txt_idx": "massacre-de-cerf", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mat\u00e9riaux de construction", + "txt_idx": "materiaux-de-construction", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "maxillaire", + "txt_idx": "maxillaire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "m\u00e9daille", + "txt_idx": "medaille", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre inf\u00e9rieur", + "txt_idx": "membre-inferieur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre inf\u00e9rieur droit", + "txt_idx": "membre-inferieur-droit", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre inf\u00e9rieur gauche", + "txt_idx": "membre-inferieur-gauche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre post\u00e9rieur droit", + "txt_idx": "membre-posterieur-droit", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre post\u00e9rieur gauche", + "txt_idx": "membre-posterieur-gauche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre sup\u00e9rieur", + "txt_idx": "membre-superieur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre sup\u00e9rieur droit", + "txt_idx": "membre-superieur-droit", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "membre sup\u00e9rieur gauche", + "txt_idx": "membre-superieur-gauche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "menhir", + "txt_idx": "menhir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "m\u00e9reau", + "txt_idx": "mereau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "m\u00e9tacarpe", + "txt_idx": "metacarpe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "meule", + "txt_idx": "meule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "micro vase", + "txt_idx": "micro-vase", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "micro-faune", + "txt_idx": "micro-faune", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "milfiori", + "txt_idx": "milfiori", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "minerai ", + "txt_idx": "minerai", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "miroir", + "txt_idx": "miroir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "moellon", + "txt_idx": "moellon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "molette ", + "txt_idx": "molette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mollusque", + "txt_idx": "mollusque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "monnaie", + "txt_idx": "monnaie", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mordant de ceinture", + "txt_idx": "mordant-de-ceinture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mors de cheval", + "txt_idx": "mors-de-cheval", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mortier", + "txt_idx": "mortier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mosa\u00efque", + "txt_idx": "mosaique", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "moulage", + "txt_idx": "moulage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "moule (objet)", + "txt_idx": "moule-objet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "moule \u00e0 kugeltopf", + "txt_idx": "moule-a-kugeltopf", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "moulure", + "txt_idx": "moulure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "mouture", + "txt_idx": "mouture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "navette", + "txt_idx": "navette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "nodule", + "txt_idx": "nodule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "nodule br\u00fble", + "txt_idx": "nodule-brule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "nucl\u00e9us", + "txt_idx": "nucleus", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ocre", + "txt_idx": "ocre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "oeuf", + "txt_idx": "oeuf", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "oiseau", + "txt_idx": "oiseau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "omoplate", + "txt_idx": "omoplate", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "orle", + "txt_idx": "orle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "os d\u00e9bit\u00e9", + "txt_idx": "os-debite", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "oule", + "txt_idx": "oule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "outil ind\u00e9termin\u00e9", + "txt_idx": "outil-indetermine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "paillette ", + "txt_idx": "paillette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "panse", + "txt_idx": "panse", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "papier", + "txt_idx": "papier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "paroi (\u00e9l\u00e9ment)", + "txt_idx": "paroi-element", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "paroi de four", + "txt_idx": "paroi-de-four", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pas", + "txt_idx": "pas", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "passant", + "txt_idx": "passant", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "passant de ceinture", + "txt_idx": "passant-de-ceinture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "passe lacet", + "txt_idx": "passe-lacet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "passe-courroi", + "txt_idx": "passe-courroi", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "passe-guide", + "txt_idx": "passe-guide", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "passoire", + "txt_idx": "passoire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "patellas", + "txt_idx": "patellas", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pat\u00e8re", + "txt_idx": "patere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "patte", + "txt_idx": "patte", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pavage", + "txt_idx": "pavage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pav\u00e9", + "txt_idx": "pave", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pavement", + "txt_idx": "pavement", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "peigne", + "txt_idx": "peigne", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "peinture murale", + "txt_idx": "peinture-murale", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pelle", + "txt_idx": "pelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pelle \u00e0 feu", + "txt_idx": "pelle-a-feu", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pendant de ceinture", + "txt_idx": "pendant-de-ceinture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pendeloque", + "txt_idx": "pendeloque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pendentif", + "txt_idx": "pendentif", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "penture", + "txt_idx": "penture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "per\u00e7oir", + "txt_idx": "percoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "percuteur", + "txt_idx": "percuteur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "perle", + "txt_idx": "perle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "peson", + "txt_idx": "peson", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "phalange", + "txt_idx": "phalange", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "phosphate", + "txt_idx": "phosphate", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pic", + "txt_idx": "pic", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pichet", + "txt_idx": "pichet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pi\u00e8ce de renfort", + "txt_idx": "piece-de-renfort", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pied", + "txt_idx": "pied", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pierre \u00e0 aiguiser", + "txt_idx": "pierre-a-aiguiser", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pieu", + "txt_idx": "pieu", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pilette", + "txt_idx": "pilette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pilette d'hypocauste", + "txt_idx": "pilette-dhypocauste", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pilier", + "txt_idx": "pilier", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pilum", + "txt_idx": "pilum", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pince \u00e0 \u00e9piler", + "txt_idx": "pince-a-epiler", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "piochon", + "txt_idx": "piochon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pion", + "txt_idx": "pion", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pipe", + "txt_idx": "pipe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "piquet", + "txt_idx": "piquet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pirogue", + "txt_idx": "pirogue", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pis\u00e9", + "txt_idx": "pise", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "piton", + "txt_idx": "piton", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "planche", + "txt_idx": "planche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plane", + "txt_idx": "plane", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque", + "txt_idx": "plaque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque d'entr\u00e9e de serrure", + "txt_idx": "plaque-dentree-de-serrure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque de ceinture", + "txt_idx": "plaque-de-ceinture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque de porte", + "txt_idx": "plaque-de-porte", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque de renfort", + "txt_idx": "plaque-de-renfort", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque de t\u00f4le ", + "txt_idx": "plaque-de-tole", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque d\u00e9corative de harnachement", + "txt_idx": "plaque-decorative-de-harnachement", + "comment": "", + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque dorsale", + "txt_idx": "plaque-dorsale", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaque-boucle", + "txt_idx": "plaque-boucle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plaquette", + "txt_idx": "plaquette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plat", + "txt_idx": "plat", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plat \u00e0 barbe", + "txt_idx": "plat-a-barbe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "plomb de vitrail", + "txt_idx": "plomb-de-vitrail", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "po\u00ealon", + "txt_idx": "poelon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "poids", + "txt_idx": "poids", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "poignard", + "txt_idx": "poignard", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "poign\u00e9e", + "txt_idx": "poignee", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "poin\u00e7on", + "txt_idx": "poincon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pointe", + "txt_idx": "pointe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pointe de fl\u00e8che", + "txt_idx": "pointe-de-fleche", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pointe de lance", + "txt_idx": "pointe-de-lance", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pointerolle", + "txt_idx": "pointerolle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "polissoir", + "txt_idx": "polissoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pommeau", + "txt_idx": "pommeau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "porte ardillon", + "txt_idx": "porte-ardillon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot", + "txt_idx": "pot", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot \u00e0 car\u00e8ne", + "txt_idx": "pot-a-carene", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot \u00e0 cuire", + "txt_idx": "pot-a-cuire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot \u00e0 digitations", + "txt_idx": "pot-a-digitations", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot ans\u00e9", + "txt_idx": "pot-anse", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot de chambre", + "txt_idx": "pot-de-chambre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot de fleur", + "txt_idx": "pot-de-fleur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot de po\u00eale", + "txt_idx": "pot-de-poele", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot d\u00e9cor\u00e9", + "txt_idx": "pot-decore", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot tripode", + "txt_idx": "pot-tripode", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pot verseur", + "txt_idx": "pot-verseur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "poteau", + "txt_idx": "poteau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "potin", + "txt_idx": "potin", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "poutre", + "txt_idx": "poutre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "pr\u00e9l\u00e8vement", + "txt_idx": "prelevement", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "puits", + "txt_idx": "puits", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "radius", + "txt_idx": "radius", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "rasoir", + "txt_idx": "rasoir", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "rebut de fabrication", + "txt_idx": "rebut-de-fabrication", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "r\u00e9cipient", + "txt_idx": "recipient", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "r\u00e9duction", + "txt_idx": "reduction", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "refus de tamis", + "txt_idx": "refus-de-tamis", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "rivet", + "txt_idx": "rivet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "rondelle", + "txt_idx": "rondelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "rongeur", + "txt_idx": "rongeur", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "rouelle", + "txt_idx": "rouelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ruban", + "txt_idx": "ruban", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sabot (animal)", + "txt_idx": "sabot-animal", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sacrum", + "txt_idx": "sacrum", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sarcophage", + "txt_idx": "sarcophage", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "scie", + "txt_idx": "scie", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "scorie", + "txt_idx": "scorie", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "scramasaxe", + "txt_idx": "scramasaxe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sculpture", + "txt_idx": "sculpture", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "seau", + "txt_idx": "seau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "s\u00e9diment", + "txt_idx": "sediment", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "semelle de chaussure", + "txt_idx": "semelle-de-chaussure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "serfouette *", + "txt_idx": "serfouette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "serpette", + "txt_idx": "serpette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "serrure", + "txt_idx": "serrure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sifflet", + "txt_idx": "sifflet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "soc", + "txt_idx": "soc", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "soie", + "txt_idx": "soie", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sol de four", + "txt_idx": "sol-de-four", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sonde", + "txt_idx": "sonde", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "soucoupe", + "txt_idx": "soucoupe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "spatule", + "txt_idx": "spatule", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "squelette", + "txt_idx": "squelette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "statuaire anthropomorphe", + "txt_idx": "statuaire-anthropomorphe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "statuaire zoomorphe", + "txt_idx": "statuaire-zoomorphe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "statue", + "txt_idx": "statue", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "statuette", + "txt_idx": "statuette", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "st\u00e8le", + "txt_idx": "stele", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "sternum", + "txt_idx": "sternum", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "strigile", + "txt_idx": "strigile", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "stylet", + "txt_idx": "stylet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tabletterie", + "txt_idx": "tabletterie", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "talon", + "txt_idx": "talon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tari\u00e8re", + "txt_idx": "tariere", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tasse", + "txt_idx": "tasse", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tegulae", + "txt_idx": "tegulae", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "temporaux", + "txt_idx": "temporaux", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "terrazzo", + "txt_idx": "terrazzo", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "terre cuite architecturale", + "txt_idx": "terre-cuite-architecturale", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "terre rub\u00e9fi\u00e9e", + "txt_idx": "terre-rubefiee", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "terrine ", + "txt_idx": "terrine", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tesselle", + "txt_idx": "tesselle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tesson", + "txt_idx": "tesson", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "t\u00eate", + "txt_idx": "tete", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "thermom\u00e8tre", + "txt_idx": "thermometre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "thorax", + "txt_idx": "thorax", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tibia", + "txt_idx": "tibia", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tige", + "txt_idx": "tige", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tissu", + "txt_idx": "tissu", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "t\u00f4le", + "txt_idx": "tole", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tombe", + "txt_idx": "tombe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "torchis", + "txt_idx": "torchis", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "torque", + "txt_idx": "torque", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tranchet", + "txt_idx": "tranchet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tripode", + "txt_idx": "tripode", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tronc (\u00e9chantillon)", + "txt_idx": "tronc-echantillon", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "truelle", + "txt_idx": "truelle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tube", + "txt_idx": "tube", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tubulure", + "txt_idx": "tubulure", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuile", + "txt_idx": "tuile", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuile \u00e0 crochet", + "txt_idx": "tuile-a-crochet", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuile canal", + "txt_idx": "tuile-canal", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuile m\u00e9canique", + "txt_idx": "tuile-mecanique", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuile plate", + "txt_idx": "tuile-plate", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuile ronde", + "txt_idx": "tuile-ronde", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuyau", + "txt_idx": "tuyau", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "tuyau de pipe", + "txt_idx": "tuyau-de-pipe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "ulnas", + "txt_idx": "ulnas", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "urne", + "txt_idx": "urne", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "urne cin\u00e9raire", + "txt_idx": "urne-cineraire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "vaisselle", + "txt_idx": "vaisselle", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "vase", + "txt_idx": "vase", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "vase silo", + "txt_idx": "vase-silo", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "verre (\u00e0 boire)", + "txt_idx": "verre-a-boire", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "verre \u00e0 jambe", + "txt_idx": "verre-a-jambe", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "verre \u00e0 pied", + "txt_idx": "verre-a-pied", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "verre \u00e0 vitre", + "txt_idx": "verre-a-vitre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "verre apode", + "txt_idx": "verre-apode", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "verre fondu", + "txt_idx": "verre-fondu", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "verre plat", + "txt_idx": "verre-plat", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "vert\u00e8bre", + "txt_idx": "vertebre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "virole", + "txt_idx": "virole", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "vitrail", + "txt_idx": "vitrail", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.objecttype", + "fields": { + "label": "vitre", + "txt_idx": "vitre", + "comment": null, + "available": true, + "parent": null + } +}, +{ + "model": "archaeological_finds.integritytype", + "fields": { + "label": "Complet", + "txt_idx": "complete", + "comment": "Int\u00e9grit\u00e9 totale", + "available": true + } +}, +{ + "model": "archaeological_finds.integritytype", + "fields": { + "label": "Arch\u00e9ologiquement complet", + "txt_idx": "archaeo_complete", + "comment": "Il est possible d'en reconstituer la forme compl\u00e8te avec une approximation acceptable (et ma\u00eetris\u00e9e)", + "available": true + } +}, +{ + "model": "archaeological_finds.integritytype", + "fields": { + "label": "Perte d'int\u00e9grit\u00e9 totale", + "txt_idx": "integrity_lost", + "comment": "La forme de l'objet est perdue", + "available": true + } +}, +{ + "model": "archaeological_finds.integritytype", + "fields": { + "label": "\"Perdu pour la science\"", + "txt_idx": "lost_for_science", + "comment": "Rien \u00e0 tirer de cela : m\u00eame pas pour l'\u00e9tude de la mati\u00e8re", + "available": true + } +}, +{ + "model": "archaeological_finds.integritytype", + "fields": { + "label": "Absent", + "txt_idx": "not_there", + "comment": "N'est plus pr\u00e9sent : perdu ?", + "available": true + } +}, +{ + "model": "archaeological_finds.batchtype", + "fields": { + "label": "Inconnu", + "txt_idx": "inconnu", + "comment": null, + "available": true, + "order": 0 + } +}, +{ + "model": "archaeological_finds.batchtype", + "fields": { + "label": "Objet", + "txt_idx": "objet", + "comment": null, + "available": true, + "order": 1 + } +}, +{ + "model": "archaeological_finds.batchtype", + "fields": { + "label": "Lot", + "txt_idx": "lot", + "comment": null, + "available": true, + "order": 2 + } +}, +{ + "model": "archaeological_finds.treatmentfiletype", + "fields": { + "label": "Demande de pr\u00eat pour \u00e9tude", + "txt_idx": "loan_demand_study", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.treatmentfiletype", + "fields": { + "label": "Demande de pr\u00eat pour exposition", + "txt_idx": "loan_demand_exposure", + "comment": "", + "available": true + } +}, +{ + "model": "archaeological_finds.treatmentfiletype", + "fields": { + "label": "Intention de donation", + "txt_idx": "gift_wish", + "comment": "", + "available": true + } +} +] diff --git a/archaeological_finds/forms_treatments.py b/archaeological_finds/forms_treatments.py index 55e223b5d..99813ea31 100644 --- a/archaeological_finds/forms_treatments.py +++ b/archaeological_finds/forms_treatments.py @@ -1,6 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# Copyright (C) 2016 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2016-2017 É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 @@ -17,13 +17,13 @@ # See the file COPYING for details. +from collections import OrderedDict import datetime import logging from django import forms from django.conf import settings from django.core import validators -from django.db.models import Max from django.utils.safestring import mark_safe from django.utils.translation import ugettext_lazy as _ @@ -38,8 +38,7 @@ from archaeological_operations.forms import AdministrativeActOpeForm, \ from ishtar_common.forms import reverse_lazy, TableSelect, FinalForm, \ ManageOldType, get_form_selection -from ishtar_common.forms_common import SourceForm, SourceSelect, \ - SourceDeletionForm +from ishtar_common.forms_common import SourceSelect from ishtar_common import widgets @@ -184,7 +183,7 @@ class BaseTreatmentForm(ManageOldType, forms.Form): self.fields['treatment_state'].choices = \ models.TreatmentState.get_types( initial=self.init_data.get('treatment_state'), - ) + ) self.fields['treatment_state'].help_text = \ models.TreatmentState.get_help() # TODO @@ -192,9 +191,13 @@ class BaseTreatmentForm(ManageOldType, forms.Form): self.fields['basket'].required = False self.fields['basket'].help_text = \ _(u"Leave it blank if you want to select a single item") - self.fields.keyOrder.pop(self.fields.keyOrder.index('basket')) - self.fields.keyOrder.insert(self.fields.keyOrder.index('description'), - 'basket') + fields = OrderedDict() + basket = self.fields.pop('basket') + for key, value in self.fields.items(): + if key == 'description': + fields['index'] = basket + fields[key] = value + self.fields = fields """ def clean(self, *args, **kwargs): @@ -239,10 +242,14 @@ class TreatmentModifyForm(BaseTreatmentForm): def __init__(self, *args, **kwargs): super(TreatmentModifyForm, self).__init__(*args, **kwargs) - self.fields.pop('target_is_basket') - self.fields.keyOrder.pop(self.fields.keyOrder.index('index')) - self.fields.keyOrder.insert( - self.fields.keyOrder.index('year') + 1, 'index') + fields = OrderedDict() + idx = self.fields.pop('index') + for key, value in self.fields.items(): + fields[key] = value + if key == 'year': + fields['index'] = idx + fields.pop('target_is_basket') + self.fields = fields def clean(self, *args, **kwargs): super(TreatmentModifyForm, self).clean(*args, **kwargs) @@ -481,9 +488,9 @@ class TreatmentFileForm(ManageOldType, forms.Form): creation_date = forms.DateField(label=_(u"Start date"), required=False, widget=widgets.JQueryDate, initial=lambda: datetime.datetime.now()) - reception_date = forms.DateField(label=_(u"Reception date"), required=False, - widget=widgets.JQueryDate, - initial=lambda: datetime.datetime.now()) + reception_date = forms.DateField( + label=_(u"Reception date"), required=False, widget=widgets.JQueryDate, + initial=lambda: datetime.datetime.now()) end_date = forms.DateField(label=_(u"Closing date"), required=False, widget=widgets.JQueryDate) @@ -506,9 +513,13 @@ class TreatmentFileModifyForm(TreatmentFileForm): def __init__(self, *args, **kwargs): super(TreatmentFileModifyForm, self).__init__(*args, **kwargs) - self.fields.keyOrder.pop(self.fields.keyOrder.index('index')) - self.fields.keyOrder.insert( - self.fields.keyOrder.index('year') + 1, 'index') + fields = OrderedDict() + idx = self.fields.pop('index') + for key, value in self.fields.items(): + fields[key] = value + if key == 'year': + fields['index'] = idx + self.fields = fields def clean(self, *args, **kwargs): super(TreatmentFileModifyForm, self).clean(*args, **kwargs) @@ -595,8 +606,8 @@ class AdministrativeActTreatmentFileSelect(TableSelect): label=_(u"Treatment request index")) treatment_file__internal_reference = forms.CharField( max_length=200, label=_(u"Treatment request internal reference")) - treatment_file__type = forms.ChoiceField(label=_(u"Treatment request type"), - choices=[]) + treatment_file__type = forms.ChoiceField( + label=_(u"Treatment request type"), choices=[]) history_modifier = forms.IntegerField( label=_(u"Modified by"), widget=widgets.JQueryAutoComplete( @@ -691,8 +702,8 @@ class TreatmentFileSourceSelect(SourceSelect): label=_(u"Treatment request index")) treatment_file__internal_reference = forms.CharField( max_length=200, label=_(u"Treatment request internal reference")) - treatment_file__type = forms.ChoiceField(label=_(u"Treatment request type"), - choices=[]) + treatment_file__type = forms.ChoiceField( + label=_(u"Treatment request type"), choices=[]) def __init__(self, *args, **kwargs): super(TreatmentFileSourceSelect, self).__init__(*args, **kwargs) diff --git a/archaeological_finds/lookups.py b/archaeological_finds/lookups.py new file mode 100644 index 000000000..1449ff52b --- /dev/null +++ b/archaeological_finds/lookups.py @@ -0,0 +1,84 @@ +from ajax_select import register, LookupChannel + +from django.db.models import Q +from django.utils.encoding import force_text +from django.utils.html import escape + +from archaeological_finds import models + + +@register('base_find') +class BaseFindLookup(LookupChannel): + model = models.BaseFind + + def get_query(self, q, request): + query = Q() + for term in q.strip().split(' '): + subquery = ( + Q(cache_complete_id__icontains=term) | + Q(label__icontains=term) + ) + query &= subquery + return self.model.objects.filter(query).order_by( + 'cache_complete_id')[:20] + + def format_item_display(self, item): + return u"<span class='ajax-label'>%s</span>" % item.cache_complete_id + + +@register('find') +class FindLookup(LookupChannel): + model = models.Find + + def get_query(self, q, request): + query = Q() + for term in q.strip().split(' '): + subquery = ( + Q(cached_label__icontains=term) | + Q(base_finds__cache_complete_id__icontains=term) + ) + query &= subquery + return self.model.objects.filter(query).order_by( + 'cached_label')[:20] + + def format_item_display(self, item): + return u"<span class='ajax-label'>%s</span>" % item.full_label + + def format_match(self, obj): + return escape(force_text(obj.full_label)) + + +@register('treatment') +class TreatmentLookup(LookupChannel): + model = models.Treatment + + def get_query(self, q, request): + query = Q() + for term in q.strip().split(' '): + subquery = ( + Q(cached_label__icontains=term) + ) + query &= subquery + return self.model.objects.filter(query).order_by( + 'cached_label')[:20] + + def format_item_display(self, item): + return u"<span class='ajax-label'>%s</span>" % item.cached_label + + +@register('treatment_file') +class TreatmentFileLookup(LookupChannel): + model = models.TreatmentFile + + def get_query(self, q, request): + query = Q() + for term in q.strip().split(' '): + subquery = ( + Q(cached_label__icontains=term) + ) + query &= subquery + return self.model.objects.filter(query).order_by( + 'cached_label')[:20] + + def format_item_display(self, item): + return u"<span class='ajax-label'>%s</span>" % item.cached_label diff --git a/archaeological_finds/migrations/0001_initial.py b/archaeological_finds/migrations/0001_initial.py index d5f3e804a..0f436867e 100644 --- a/archaeological_finds/migrations/0001_initial.py +++ b/archaeological_finds/migrations/0001_initial.py @@ -1,814 +1,598 @@ # -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - depends_on = ( - ('archaeological_context_records', '0001_initial.py'), - ('archaeological_warehouse', - '0011_auto__add_containerlocalisation__add_unique_containerlocalisation_cont.py'), - ) - - def forwards(self, orm): - # Adding model 'MaterialType' - db.create_table('archaeological_finds_materialtype', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('label', self.gf('django.db.models.fields.CharField')(max_length=100)), - ('txt_idx', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), - ('comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('available', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('recommendation', self.gf('django.db.models.fields.TextField')()), - ('parent', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.MaterialType'], null=True, blank=True)), - )) - db.send_create_signal('archaeological_finds', ['MaterialType']) - - # Adding model 'HistoricalBaseFind' - db.create_table('archaeological_finds_historicalbasefind', ( - ('id', self.gf('django.db.models.fields.IntegerField')(db_index=True, blank=True)), - ('history_modifier_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), - ('description', self.gf('django.db.models.fields.TextField')()), - ('context_record_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('is_isolated', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('index', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('material_index', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('history_id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('history_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('history_user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True)), - ('history_type', self.gf('django.db.models.fields.CharField')(max_length=1)), - )) - db.send_create_signal('archaeological_finds', ['HistoricalBaseFind']) - - # Adding model 'BaseFind' - db.create_table('archaeological_finds_basefind', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), - ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), - ('description', self.gf('django.db.models.fields.TextField')()), - ('context_record', self.gf('django.db.models.fields.related.ForeignKey')(related_name='base_finds', to=orm['archaeological_context_records.ContextRecord'])), - ('is_isolated', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), - ('index', self.gf('django.db.models.fields.IntegerField')(default=0)), - ('material_index', self.gf('django.db.models.fields.IntegerField')(default=0)), - )) - db.send_create_signal('archaeological_finds', ['BaseFind']) - - # Adding model 'HistoricalFind' - db.create_table('archaeological_finds_historicalfind', ( - ('id', self.gf('django.db.models.fields.IntegerField')(db_index=True, blank=True)), - ('history_modifier_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('order', self.gf('django.db.models.fields.IntegerField')()), - ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), - ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('material_type_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('volume', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), - ('weight', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), - ('find_number', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), - ('upstream_treatment_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('downstream_treatment_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('dating_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('container_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('history_id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('history_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('history_user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True)), - ('history_type', self.gf('django.db.models.fields.CharField')(max_length=1)), - )) - db.send_create_signal('archaeological_finds', ['HistoricalFind']) - - # Adding model 'Find' - db.create_table('archaeological_finds_find', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), - ('order', self.gf('django.db.models.fields.IntegerField')()), - ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), - ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('material_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.MaterialType'])), - ('volume', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), - ('weight', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), - ('find_number', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), - ('upstream_treatment', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='downstream_treatment', null=True, to=orm['archaeological_finds.Treatment'])), - ('downstream_treatment', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='upstream_treatment', null=True, to=orm['archaeological_finds.Treatment'])), - ('dating', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_context_records.Dating'])), - ('container', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='finds', null=True, to=orm['archaeological_warehouse.Container'])), - )) - db.send_create_signal('archaeological_finds', ['Find']) - - # Adding M2M table for field base_finds on 'Find' - db.create_table('archaeological_finds_find_base_finds', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('find', models.ForeignKey(orm['archaeological_finds.find'], null=False)), - ('basefind', models.ForeignKey(orm['archaeological_finds.basefind'], null=False)) - )) - db.create_unique('archaeological_finds_find_base_finds', ['find_id', 'basefind_id']) - - # Adding model 'FindSource' - db.create_table('archaeological_finds_findsource', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=200)), - ('source_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.SourceType'])), - ('associated_url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), - ('receipt_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('creation_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('find', self.gf('django.db.models.fields.related.ForeignKey')(related_name='source', to=orm['archaeological_finds.Find'])), - )) - db.send_create_signal('archaeological_finds', ['FindSource']) - - # Adding M2M table for field authors on 'FindSource' - db.create_table('archaeological_finds_findsource_authors', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('findsource', models.ForeignKey(orm['archaeological_finds.findsource'], null=False)), - ('author', models.ForeignKey(orm['ishtar_common.author'], null=False)) - )) - db.create_unique('archaeological_finds_findsource_authors', ['findsource_id', 'author_id']) - - # Adding model 'TreatmentType' - db.create_table('archaeological_finds_treatmenttype', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('label', self.gf('django.db.models.fields.CharField')(max_length=100)), - ('txt_idx', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), - ('comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('available', self.gf('django.db.models.fields.BooleanField')(default=False)), - ('virtual', self.gf('django.db.models.fields.BooleanField')(default=False)), - )) - db.send_create_signal('archaeological_finds', ['TreatmentType']) - - # Adding model 'HistoricalTreatment' - db.create_table('archaeological_finds_historicaltreatment', ( - ('id', self.gf('django.db.models.fields.IntegerField')(db_index=True, blank=True)), - ('history_modifier_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('container_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('treatment_type_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('location_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('person_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), - ('start_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('history_id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('history_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), - ('history_user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True)), - ('history_type', self.gf('django.db.models.fields.CharField')(max_length=1)), - )) - db.send_create_signal('archaeological_finds', ['HistoricalTreatment']) - - # Adding model 'Treatment' - db.create_table('archaeological_finds_treatment', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), - ('container', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_warehouse.Container'], null=True, blank=True)), - ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), - ('treatment_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.TreatmentType'])), - ('location', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_warehouse.Warehouse'], null=True, blank=True)), - ('person', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.Person'], null=True, blank=True)), - ('start_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - )) - db.send_create_signal('archaeological_finds', ['Treatment']) - - # Adding model 'TreatmentSource' - db.create_table('archaeological_finds_treatmentsource', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('title', self.gf('django.db.models.fields.CharField')(max_length=200)), - ('source_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.SourceType'])), - ('associated_url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), - ('receipt_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('creation_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), - ('treatment', self.gf('django.db.models.fields.related.ForeignKey')(related_name='source', to=orm['archaeological_finds.Treatment'])), - )) - db.send_create_signal('archaeological_finds', ['TreatmentSource']) - - # Adding M2M table for field authors on 'TreatmentSource' - db.create_table('archaeological_finds_treatmentsource_authors', ( - ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), - ('treatmentsource', models.ForeignKey(orm['archaeological_finds.treatmentsource'], null=False)), - ('author', models.ForeignKey(orm['ishtar_common.author'], null=False)) - )) - db.create_unique('archaeological_finds_treatmentsource_authors', ['treatmentsource_id', 'author_id']) - - # Adding model 'Property' - db.create_table('archaeological_finds_property', ( - ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), - ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), - ('history_date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), - ('find', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.Find'])), - ('administrative_act', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_operations.AdministrativeAct'])), - ('person', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.Person'])), - ('start_date', self.gf('django.db.models.fields.DateField')()), - ('end_date', self.gf('django.db.models.fields.DateField')()), - )) - db.send_create_signal('archaeological_finds', ['Property']) +from __future__ import unicode_literals - - def backwards(self, orm): - # Deleting model 'MaterialType' - db.delete_table('archaeological_finds_materialtype') - - # Deleting model 'HistoricalBaseFind' - db.delete_table('archaeological_finds_historicalbasefind') - - # Deleting model 'BaseFind' - db.delete_table('archaeological_finds_basefind') - - # Deleting model 'HistoricalFind' - db.delete_table('archaeological_finds_historicalfind') - - # Deleting model 'Find' - db.delete_table('archaeological_finds_find') - - # Removing M2M table for field base_finds on 'Find' - db.delete_table('archaeological_finds_find_base_finds') - - # Deleting model 'FindSource' - db.delete_table('archaeological_finds_findsource') - - # Removing M2M table for field authors on 'FindSource' - db.delete_table('archaeological_finds_findsource_authors') - - # Deleting model 'TreatmentType' - db.delete_table('archaeological_finds_treatmenttype') - - # Deleting model 'HistoricalTreatment' - db.delete_table('archaeological_finds_historicaltreatment') - - # Deleting model 'Treatment' - db.delete_table('archaeological_finds_treatment') - - # Deleting model 'TreatmentSource' - db.delete_table('archaeological_finds_treatmentsource') - - # Removing M2M table for field authors on 'TreatmentSource' - db.delete_table('archaeological_finds_treatmentsource_authors') - - # Deleting model 'Property' - db.delete_table('archaeological_finds_property') - - - models = { - 'archaeological_context_records.activitytype': { - 'Meta': {'object_name': 'ActivityType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_context_records.contextrecord': { - 'Meta': {'object_name': 'ContextRecord'}, - 'activity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.ActivityType']", 'null': 'True', 'blank': 'True'}), - 'datings': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_context_records.Dating']", 'symmetrical': 'False'}), - 'depth': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'filling': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'has_furniture': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'identification': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.IdentificationType']", 'null': 'True', 'blank': 'True'}), - 'interpretation': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'length': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'location': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'operation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'context_record'", 'to': "orm['archaeological_operations.Operation']"}), - 'parcel': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'context_record'", 'to': "orm['archaeological_operations.Parcel']"}), - 'taq': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'taq_estimated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'thickness': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tpq': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tpq_estimated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unit': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['archaeological_context_records.Unit']"}), - 'width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_context_records.dating': { - 'Meta': {'object_name': 'Dating'}, - 'dating_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.DatingType']", 'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'period': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.Period']"}), - 'quality': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.DatingQuality']", 'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_context_records.datingquality': { - 'Meta': {'object_name': 'DatingQuality'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_context_records.datingtype': { - 'Meta': {'object_name': 'DatingType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_context_records.identificationtype': { - 'Meta': {'object_name': 'IdentificationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_context_records.unit': { - 'Meta': {'object_name': 'Unit'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.Unit']", 'null': 'True', 'blank': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_files.file': { - 'Meta': {'ordering': "['-year', '-numeric_reference']", 'object_name': 'File'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'file_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.FileType']"}), - 'general_contractor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['ishtar_common.Person']"}), - 'internal_reference': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '60'}), - 'numeric_reference': ('django.db.models.fields.IntegerField', [], {}), - 'permit_reference': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}), - 'permit_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.PermitType']", 'null': 'True', 'blank': 'True'}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'reception_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'reference_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'related_file': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.File']", 'null': 'True', 'blank': 'True'}), - 'saisine_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.SaisineType']", 'null': 'True', 'blank': 'True'}), - 'total_developed_surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'total_surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'town_planning_service': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Organization']"}), - 'towns': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'file'", 'symmetrical': 'False', 'to': "orm['ishtar_common.Town']"}), - 'year': ('django.db.models.fields.IntegerField', [], {'default': '2012'}) - }, - 'archaeological_files.filetype': { - 'Meta': {'object_name': 'FileType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_files.permittype': { - 'Meta': {'object_name': 'PermitType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_files.saisinetype': { - 'Meta': {'object_name': 'SaisineType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'delay': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_finds.basefind': { - 'Meta': {'object_name': 'BaseFind'}, - 'context_record': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'base_finds'", 'to': "orm['archaeological_context_records.ContextRecord']"}), - 'description': ('django.db.models.fields.TextField', [], {}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'is_isolated': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), - 'material_index': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'archaeological_finds.find': { - 'Meta': {'object_name': 'Find'}, - 'base_finds': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'find'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.BaseFind']"}), - 'container': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'finds'", 'null': 'True', 'to': "orm['archaeological_warehouse.Container']"}), - 'dating': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.Dating']"}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'downstream_treatment': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'upstream_treatment'", 'null': 'True', 'to': "orm['archaeological_finds.Treatment']"}), - 'find_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), - 'material_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.MaterialType']"}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'upstream_treatment': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'downstream_treatment'", 'null': 'True', 'to': "orm['archaeological_finds.Treatment']"}), - 'volume': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'weight': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.findsource': { - 'Meta': {'object_name': 'FindSource'}, - 'associated_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'authors': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.Author']", 'symmetrical': 'False'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'find': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source'", 'to': "orm['archaeological_finds.Find']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'receipt_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'source_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SourceType']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}) - }, - 'archaeological_finds.historicalbasefind': { - 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalBaseFind'}, - 'context_record_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'is_isolated': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), - 'material_index': ('django.db.models.fields.IntegerField', [], {'default': '0'}) - }, - 'archaeological_finds.historicalfind': { - 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalFind'}, - 'container_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'dating_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'downstream_treatment_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'find_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), - 'material_type_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'upstream_treatment_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'volume': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'weight': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.historicaltreatment': { - 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalTreatment'}, - 'container_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), - 'location_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'person_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'treatment_type_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.materialtype': { - 'Meta': {'object_name': 'MaterialType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.MaterialType']", 'null': 'True', 'blank': 'True'}), - 'recommendation': ('django.db.models.fields.TextField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_finds.property': { - 'Meta': {'object_name': 'Property'}, - 'administrative_act': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.AdministrativeAct']"}), - 'end_date': ('django.db.models.fields.DateField', [], {}), - 'find': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.Find']"}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']"}), - 'start_date': ('django.db.models.fields.DateField', [], {}) - }, - 'archaeological_finds.treatment': { - 'Meta': {'object_name': 'Treatment'}, - 'container': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Container']", 'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Warehouse']", 'null': 'True', 'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']", 'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'treatment_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.TreatmentType']"}) - }, - 'archaeological_finds.treatmentsource': { - 'Meta': {'object_name': 'TreatmentSource'}, - 'associated_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'authors': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.Author']", 'symmetrical': 'False'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'receipt_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'source_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SourceType']"}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'treatment': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source'", 'to': "orm['archaeological_finds.Treatment']"}) - }, - 'archaeological_finds.treatmenttype': { - 'Meta': {'object_name': 'TreatmentType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'virtual': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) - }, - 'archaeological_operations.acttype': { - 'Meta': {'object_name': 'ActType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'intented_to': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_operations.administrativeact': { - 'Meta': {'object_name': 'AdministrativeAct'}, - 'act_object': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'act_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.ActType']"}), - 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), - 'operation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_operations.Operation']"}), - 'operator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Organization']", 'null': 'True', 'blank': 'True'}), - 'ref_sra': ('django.db.models.fields.CharField', [], {'max_length': '15'}), - 'scientific': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), - 'signatory': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), - 'signature_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_operations.operation': { - 'Meta': {'object_name': 'Operation'}, - 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'operations'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), - 'code_dracar': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'code_patriarche': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'common_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), - 'cost': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'effective_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'excavation_end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'fnap_cost': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fnap_financing': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'geoarchaeological_context_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), - 'large_area_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'operation_code': ('django.db.models.fields.IntegerField', [], {}), - 'operation_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['archaeological_operations.OperationType']"}), - 'operator_reference': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), - 'optional_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periods': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_operations.Period']", 'symmetrical': 'False'}), - 'remains': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_operations.RemainType']", 'symmetrical': 'False'}), - 'scheduled_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'towns': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.Town']", 'symmetrical': 'False'}), - 'year': ('django.db.models.fields.IntegerField', [], {}), - 'zoning_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_operations.operationtype': { - 'Meta': {'object_name': 'OperationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_operations.parcel': { - 'Meta': {'object_name': 'Parcel'}, - 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'parcels'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'operation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'parcels'", 'null': 'True', 'to': "orm['archaeological_operations.Operation']"}), - 'parcel_number': ('django.db.models.fields.CharField', [], {'max_length': '6'}), - 'section': ('django.db.models.fields.CharField', [], {'max_length': '4'}), - 'town': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'parcels'", 'to': "orm['ishtar_common.Town']"}), - 'year': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_operations.period': { - 'Meta': {'object_name': 'Period'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.Period']", 'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_operations.remaintype': { - 'Meta': {'object_name': 'RemainType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'archaeological_warehouse.container': { - 'Meta': {'object_name': 'Container'}, - 'comment': ('django.db.models.fields.TextField', [], {}), - 'container_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.ContainerType']"}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Warehouse']"}), - 'reference': ('django.db.models.fields.CharField', [], {'max_length': '40'}) - }, - 'archaeological_warehouse.containertype': { - 'Meta': {'object_name': 'ContainerType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'length': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'reference': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), - 'volume': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_warehouse.warehouse': { - 'Meta': {'object_name': 'Warehouse'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'person_in_charge': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']", 'null': 'True', 'blank': 'True'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'town': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'warehouse_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.WarehouseType']"}) - }, - 'archaeological_warehouse.warehousetype': { - 'Meta': {'object_name': 'WarehouseType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'ishtar_common.arrondissement': { - 'Meta': {'object_name': 'Arrondissement'}, - 'department': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Department']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}) - }, - 'ishtar_common.author': { - 'Meta': {'object_name': 'Author'}, - 'author_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.AuthorType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']"}) - }, - 'ishtar_common.authortype': { - 'Meta': {'object_name': 'AuthorType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'ishtar_common.canton': { - 'Meta': {'object_name': 'Canton'}, - 'arrondissement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Arrondissement']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}) - }, - 'ishtar_common.department': { - 'Meta': {'ordering': "['number']", 'object_name': 'Department'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'number': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3'}) - }, - 'ishtar_common.organization': { - 'Meta': {'object_name': 'Organization'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'organization_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.OrganizationType']"}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'town': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}) - }, - 'ishtar_common.organizationtype': { - 'Meta': {'object_name': 'OrganizationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'ishtar_common.person': { - 'Meta': {'object_name': 'Person'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'attached_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Organization']", 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.CharField', [], {'max_length': '40', 'null': 'True', 'blank': 'True'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'person_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.PersonType']"}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'surname': ('django.db.models.fields.CharField', [], {'max_length': '20'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'town': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}) - }, - 'ishtar_common.persontype': { - 'Meta': {'object_name': 'PersonType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'rights': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.WizardStep']", 'symmetrical': 'False'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'ishtar_common.sourcetype': { - 'Meta': {'object_name': 'SourceType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'ishtar_common.town': { - 'Meta': {'ordering': "['numero_insee']", 'object_name': 'Town'}, - 'canton': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Canton']", 'null': 'True', 'blank': 'True'}), - 'center': ('django.contrib.gis.db.models.fields.PointField', [], {'srid': '27572', 'null': 'True', 'blank': 'True'}), - 'departement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Department']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'numero_insee': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '6'}), - 'surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'ishtar_common.wizard': { - 'Meta': {'ordering': "['url_name']", 'object_name': 'Wizard'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'url_name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) - }, - 'ishtar_common.wizardstep': { - 'Meta': {'ordering': "['wizard', 'order']", 'object_name': 'WizardStep'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'url_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'wizard': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Wizard']"}) - } - } - - complete_apps = ['archaeological_finds'] +from django.db import models, migrations +import datetime +import re +import django.contrib.gis.db.models.fields +import archaeological_operations.models +import ishtar_common.utils +import ishtar_common.models +import django.core.validators + + +class Migration(migrations.Migration): + + dependencies = [ + ] + + operations = [ + migrations.CreateModel( + name='BaseFind', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.TextField(verbose_name='Free ID')), + ('external_id', models.TextField(null=True, verbose_name='External ID', blank=True)), + ('auto_external_id', models.BooleanField(default=False, verbose_name='External ID is set automatically')), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('special_interest', models.CharField(max_length=120, null=True, verbose_name='Special interest', blank=True)), + ('discovery_date', models.DateField(null=True, verbose_name='Discovery date', blank=True)), + ('index', models.IntegerField(default=0, verbose_name='Index')), + ('material_index', models.IntegerField(default=0, verbose_name='Material index')), + ('topographic_localisation', models.CharField(max_length=120, null=True, verbose_name='Point of topographic reference', blank=True)), + ('x', models.FloatField(null=True, verbose_name='X', blank=True)), + ('y', models.FloatField(null=True, verbose_name='Y', blank=True)), + ('z', models.FloatField(null=True, verbose_name='Z', blank=True)), + ('estimated_error_x', models.FloatField(null=True, verbose_name='Estimated error for X', blank=True)), + ('estimated_error_y', models.FloatField(null=True, verbose_name='Estimated error for Y', blank=True)), + ('estimated_error_z', models.FloatField(null=True, verbose_name='Estimated error for Z', blank=True)), + ('point_2d', django.contrib.gis.db.models.fields.PointField(srid=4326, null=True, verbose_name='Point (2D)', blank=True)), + ('point', django.contrib.gis.db.models.fields.PointField(srid=4326, dim=3, null=True, verbose_name='Point', blank=True)), + ('line', django.contrib.gis.db.models.fields.LineStringField(srid=4326, null=True, verbose_name='Line', blank=True)), + ('polygon', django.contrib.gis.db.models.fields.PolygonField(srid=4326, null=True, verbose_name='Polygon', blank=True)), + ('cache_short_id', models.TextField(help_text='Cached value - do not edit', null=True, verbose_name='Short ID', blank=True)), + ('cache_complete_id', models.TextField(help_text='Cached value - do not edit', null=True, verbose_name='Complete ID', blank=True)), + ], + options={ + 'verbose_name': 'Base find', + 'verbose_name_plural': 'Base finds', + 'permissions': (('view_basefind', 'Peut voir tout le Mobilier de base'), ('view_own_basefind', 'Peut voir son propre Mobilier de base'), ('add_own_basefind', 'Peut ajouter son propre Mobilier de base'), ('change_own_basefind', 'Peut modifier son propre Mobilier de base'), ('delete_own_basefind', 'Peut supprimer son propre Mobilier de base')), + }, + bases=(models.Model, ishtar_common.models.OwnPerms), + ), + migrations.CreateModel( + name='BatchType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ('order', models.IntegerField(default=10, verbose_name='Order')), + ], + options={ + 'ordering': ('order',), + 'verbose_name': 'Batch type', + 'verbose_name_plural': 'Batch types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='ConservatoryState', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Conservatory state', + 'verbose_name_plural': 'Conservatory states', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='Find', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('image', models.ImageField(max_length=255, null=True, upload_to=b'upload/', blank=True)), + ('thumbnail', models.ImageField(max_length=255, null=True, upload_to=b'upload/thumbs/', blank=True)), + ('external_id', models.TextField(null=True, verbose_name='External ID', blank=True)), + ('auto_external_id', models.BooleanField(default=False, verbose_name='External ID is set automatically')), + ('order', models.IntegerField(default=1, verbose_name='Order')), + ('label', models.TextField(verbose_name='Free ID')), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('conservatory_comment', models.TextField(null=True, verbose_name='Conservatory comment', blank=True)), + ('volume', models.FloatField(null=True, verbose_name='Volume (l)', blank=True)), + ('weight', models.FloatField(null=True, verbose_name='Weight (g)', blank=True)), + ('weight_unit', models.CharField(blank=True, max_length=4, null=True, verbose_name='Weight unit', choices=[(b'g', 'g'), (b'kg', 'kg')])), + ('find_number', models.IntegerField(null=True, verbose_name='Find number', blank=True)), + ('is_complete', models.NullBooleanField(verbose_name='Is complete?')), + ('min_number_of_individuals', models.IntegerField(null=True, verbose_name='Minimum number of individuals (MNI)', blank=True)), + ('length', models.FloatField(null=True, verbose_name='Length (cm)', blank=True)), + ('width', models.FloatField(null=True, verbose_name='Width (cm)', blank=True)), + ('height', models.FloatField(null=True, verbose_name='Height (cm)', blank=True)), + ('diameter', models.FloatField(null=True, verbose_name='Diameter (cm)', blank=True)), + ('thickness', models.FloatField(null=True, verbose_name='Thickness (cm)', blank=True)), + ('dimensions_comment', models.TextField(null=True, verbose_name='Dimensions comment', blank=True)), + ('mark', models.TextField(null=True, verbose_name='Mark', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('dating_comment', models.TextField(null=True, verbose_name='Comment on dating', blank=True)), + ('previous_id', models.TextField(null=True, verbose_name='Previous ID', blank=True)), + ('index', models.IntegerField(default=0, verbose_name='Index')), + ('checked', models.CharField(default=b'NC', max_length=2, verbose_name='Check', choices=[(b'NC', 'Not checked'), (b'CI', 'Checked but incorrect'), (b'CC', 'Checked and correct')])), + ('check_date', models.DateField(default=datetime.date.today, verbose_name='Check date')), + ('estimated_value', models.FloatField(null=True, verbose_name='Estimated value', blank=True)), + ('cached_label', models.TextField(null=True, verbose_name='Cached name', blank=True)), + ], + options={ + 'ordering': ('cached_label',), + 'verbose_name': 'Find', + 'verbose_name_plural': 'Finds', + 'permissions': (('view_find', 'Peut voir tout le Mobilier'), ('view_own_find', 'Peut voir son propre Mobilier'), ('add_own_find', 'Peut ajouter son propre Mobilier'), ('change_own_find', 'Peut modifier son propre Mobilier'), ('delete_own_find', 'Peut supprimer son propre Mobilier')), + }, + bases=(ishtar_common.models.ValueGetter, models.Model, ishtar_common.models.OwnPerms, ishtar_common.models.ShortMenuItem), + ), + migrations.CreateModel( + name='FindBasket', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=1000, verbose_name='Label')), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'abstract': False, + }, + ), + migrations.CreateModel( + name='FindSource', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('image', models.ImageField(max_length=255, null=True, upload_to=b'upload/', blank=True)), + ('thumbnail', models.ImageField(max_length=255, null=True, upload_to=b'upload/thumbs/', blank=True)), + ('title', models.CharField(max_length=300, verbose_name='Title')), + ('external_id', models.TextField(max_length=300, null=True, verbose_name='External ID', blank=True)), + ('scale', models.CharField(max_length=30, null=True, verbose_name='Scale', blank=True)), + ('associated_url', models.URLField(null=True, verbose_name='Numerical ressource (web address)', blank=True)), + ('receipt_date', models.DateField(null=True, verbose_name='Receipt date', blank=True)), + ('creation_date', models.DateField(null=True, verbose_name='Creation date', blank=True)), + ('receipt_date_in_documentation', models.DateField(null=True, verbose_name='Receipt date in documentation', blank=True)), + ('item_number', models.IntegerField(default=1, verbose_name='Item number')), + ('reference', models.CharField(max_length=100, null=True, verbose_name='Ref.', blank=True)), + ('internal_reference', models.CharField(max_length=100, null=True, verbose_name='Internal ref.', blank=True)), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('additional_information', models.TextField(null=True, verbose_name='Additional information', blank=True)), + ('duplicate', models.BooleanField(default=False, verbose_name='Has a duplicate')), + ], + options={ + 'verbose_name': 'Find documentation', + 'verbose_name_plural': 'Find documentations', + 'permissions': (('view_findsource', 'Can view all Find sources'), ('view_own_findsource', 'Can view own Find source'), ('add_own_findsource', 'Can add own Find source'), ('change_own_findsource', 'Can change own Find source'), ('delete_own_findsource', 'Can delete own Find source')), + }, + bases=(ishtar_common.models.OwnPerms, models.Model), + ), + migrations.CreateModel( + name='HistoricalBaseFind', + fields=[ + ('id', models.IntegerField(verbose_name='ID', db_index=True, auto_created=True, blank=True)), + ('label', models.TextField(verbose_name='Free ID')), + ('external_id', models.TextField(null=True, verbose_name='External ID', blank=True)), + ('auto_external_id', models.BooleanField(default=False, verbose_name='External ID is set automatically')), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('special_interest', models.CharField(max_length=120, null=True, verbose_name='Special interest', blank=True)), + ('discovery_date', models.DateField(null=True, verbose_name='Discovery date', blank=True)), + ('index', models.IntegerField(default=0, verbose_name='Index')), + ('material_index', models.IntegerField(default=0, verbose_name='Material index')), + ('topographic_localisation', models.CharField(max_length=120, null=True, verbose_name='Point of topographic reference', blank=True)), + ('x', models.FloatField(null=True, verbose_name='X', blank=True)), + ('y', models.FloatField(null=True, verbose_name='Y', blank=True)), + ('z', models.FloatField(null=True, verbose_name='Z', blank=True)), + ('estimated_error_x', models.FloatField(null=True, verbose_name='Estimated error for X', blank=True)), + ('estimated_error_y', models.FloatField(null=True, verbose_name='Estimated error for Y', blank=True)), + ('estimated_error_z', models.FloatField(null=True, verbose_name='Estimated error for Z', blank=True)), + ('point_2d', django.contrib.gis.db.models.fields.PointField(srid=4326, null=True, verbose_name='Point (2D)', blank=True)), + ('point', django.contrib.gis.db.models.fields.PointField(srid=4326, dim=3, null=True, verbose_name='Point', blank=True)), + ('line', django.contrib.gis.db.models.fields.LineStringField(srid=4326, null=True, verbose_name='Line', blank=True)), + ('polygon', django.contrib.gis.db.models.fields.PolygonField(srid=4326, null=True, verbose_name='Polygon', blank=True)), + ('cache_short_id', models.TextField(help_text='Cached value - do not edit', null=True, verbose_name='Short ID', blank=True)), + ('cache_complete_id', models.TextField(help_text='Cached value - do not edit', null=True, verbose_name='Complete ID', blank=True)), + ('history_id', models.AutoField(serialize=False, primary_key=True)), + ('history_date', models.DateTimeField()), + ('history_type', models.CharField(max_length=1, choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')])), + ], + options={ + 'ordering': ('-history_date', '-history_id'), + 'get_latest_by': 'history_date', + 'verbose_name': 'historical Base find', + }, + ), + migrations.CreateModel( + name='HistoricalFind', + fields=[ + ('id', models.IntegerField(verbose_name='ID', db_index=True, auto_created=True, blank=True)), + ('image', models.TextField(max_length=255, null=True, blank=True)), + ('thumbnail', models.TextField(max_length=255, null=True, blank=True)), + ('external_id', models.TextField(null=True, verbose_name='External ID', blank=True)), + ('auto_external_id', models.BooleanField(default=False, verbose_name='External ID is set automatically')), + ('order', models.IntegerField(default=1, verbose_name='Order')), + ('label', models.TextField(verbose_name='Free ID')), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('conservatory_comment', models.TextField(null=True, verbose_name='Conservatory comment', blank=True)), + ('volume', models.FloatField(null=True, verbose_name='Volume (l)', blank=True)), + ('weight', models.FloatField(null=True, verbose_name='Weight (g)', blank=True)), + ('weight_unit', models.CharField(blank=True, max_length=4, null=True, verbose_name='Weight unit', choices=[(b'g', 'g'), (b'kg', 'kg')])), + ('find_number', models.IntegerField(null=True, verbose_name='Find number', blank=True)), + ('is_complete', models.NullBooleanField(verbose_name='Is complete?')), + ('min_number_of_individuals', models.IntegerField(null=True, verbose_name='Minimum number of individuals (MNI)', blank=True)), + ('length', models.FloatField(null=True, verbose_name='Length (cm)', blank=True)), + ('width', models.FloatField(null=True, verbose_name='Width (cm)', blank=True)), + ('height', models.FloatField(null=True, verbose_name='Height (cm)', blank=True)), + ('diameter', models.FloatField(null=True, verbose_name='Diameter (cm)', blank=True)), + ('thickness', models.FloatField(null=True, verbose_name='Thickness (cm)', blank=True)), + ('dimensions_comment', models.TextField(null=True, verbose_name='Dimensions comment', blank=True)), + ('mark', models.TextField(null=True, verbose_name='Mark', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('dating_comment', models.TextField(null=True, verbose_name='Comment on dating', blank=True)), + ('previous_id', models.TextField(null=True, verbose_name='Previous ID', blank=True)), + ('index', models.IntegerField(default=0, verbose_name='Index')), + ('checked', models.CharField(default=b'NC', max_length=2, verbose_name='Check', choices=[(b'NC', 'Not checked'), (b'CI', 'Checked but incorrect'), (b'CC', 'Checked and correct')])), + ('check_date', models.DateField(default=datetime.date.today, verbose_name='Check date')), + ('estimated_value', models.FloatField(null=True, verbose_name='Estimated value', blank=True)), + ('cached_label', models.TextField(null=True, verbose_name='Cached name', blank=True)), + ('history_id', models.AutoField(serialize=False, primary_key=True)), + ('history_date', models.DateTimeField()), + ('history_type', models.CharField(max_length=1, choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')])), + ], + options={ + 'ordering': ('-history_date', '-history_id'), + 'get_latest_by': 'history_date', + 'verbose_name': 'historical Find', + }, + ), + migrations.CreateModel( + name='HistoricalTreatment', + fields=[ + ('id', models.IntegerField(verbose_name='ID', db_index=True, auto_created=True, blank=True)), + ('image', models.TextField(max_length=255, null=True, blank=True)), + ('thumbnail', models.TextField(max_length=255, null=True, blank=True)), + ('label', models.CharField(max_length=200, null=True, verbose_name='Label', blank=True)), + ('other_reference', models.CharField(max_length=200, null=True, verbose_name='Other ref.', blank=True)), + ('year', models.IntegerField(default=ishtar_common.utils.get_current_year, verbose_name='Year')), + ('index', models.IntegerField(default=1, verbose_name='Index')), + ('external_id', models.CharField(max_length=200, null=True, verbose_name='External ID', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('goal', models.TextField(null=True, verbose_name='Goal', blank=True)), + ('start_date', models.DateField(null=True, verbose_name='Start date', blank=True)), + ('end_date', models.DateField(null=True, verbose_name='Closing date', blank=True)), + ('estimated_cost', models.FloatField(null=True, verbose_name='Estimated cost', blank=True)), + ('quoted_cost', models.FloatField(null=True, verbose_name='Quoted cost', blank=True)), + ('realized_cost', models.FloatField(null=True, verbose_name='Realized cost', blank=True)), + ('insurance_cost', models.FloatField(null=True, verbose_name='Insurance cost', blank=True)), + ('target_is_basket', models.BooleanField(default=False, verbose_name='Target a basket')), + ('cached_label', models.TextField(null=True, verbose_name='Cached name', blank=True)), + ('history_id', models.AutoField(serialize=False, primary_key=True)), + ('history_date', models.DateTimeField()), + ('history_type', models.CharField(max_length=1, choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')])), + ], + options={ + 'ordering': ('-history_date', '-history_id'), + 'get_latest_by': 'history_date', + 'verbose_name': 'historical Treatment', + }, + ), + migrations.CreateModel( + name='HistoricalTreatmentFile', + fields=[ + ('id', models.IntegerField(verbose_name='ID', db_index=True, auto_created=True, blank=True)), + ('year', models.IntegerField(default=ishtar_common.utils.get_current_year, verbose_name='Year')), + ('index', models.IntegerField(default=1, verbose_name='Index')), + ('internal_reference', models.CharField(max_length=200, null=True, verbose_name='Internal reference', blank=True)), + ('external_id', models.CharField(max_length=200, null=True, verbose_name='External ID', blank=True)), + ('name', models.TextField(null=True, verbose_name='Name', blank=True)), + ('end_date', models.DateField(null=True, verbose_name='Closing date', blank=True)), + ('creation_date', models.DateField(default=datetime.date.today, null=True, verbose_name='Creation date', blank=True)), + ('reception_date', models.DateField(null=True, verbose_name='Reception date', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('cached_label', models.TextField(null=True, verbose_name='Cached name', blank=True)), + ('history_id', models.AutoField(serialize=False, primary_key=True)), + ('history_date', models.DateTimeField()), + ('history_type', models.CharField(max_length=1, choices=[('+', 'Created'), ('~', 'Changed'), ('-', 'Deleted')])), + ], + options={ + 'ordering': ('-history_date', '-history_id'), + 'get_latest_by': 'history_date', + 'verbose_name': 'historical Treatment request', + }, + ), + migrations.CreateModel( + name='IntegrityType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Integrity / interest type', + 'verbose_name_plural': 'Integrity / interest types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='MaterialType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ('code', models.CharField(max_length=10, null=True, verbose_name='Code', blank=True)), + ('recommendation', models.TextField(null=True, verbose_name='Recommendation', blank=True)), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Material type', + 'verbose_name_plural': 'Material types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='ObjectType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'ordering': ('parent__label', 'label'), + 'verbose_name': 'Object type', + 'verbose_name_plural': 'Object types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='PreservationType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Preservation type', + 'verbose_name_plural': 'Preservation types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='Property', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('history_date', models.DateTimeField(default=datetime.datetime.now)), + ('start_date', models.DateField(verbose_name='Start date')), + ('end_date', models.DateField(verbose_name='End date')), + ], + options={ + 'verbose_name': 'Property', + 'verbose_name_plural': 'Properties', + }, + ), + migrations.CreateModel( + name='RemarkabilityType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Remarkability type', + 'verbose_name_plural': 'Remarkability types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='Treatment', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('image', models.ImageField(max_length=255, null=True, upload_to=b'upload/', blank=True)), + ('thumbnail', models.ImageField(max_length=255, null=True, upload_to=b'upload/thumbs/', blank=True)), + ('label', models.CharField(max_length=200, null=True, verbose_name='Label', blank=True)), + ('other_reference', models.CharField(max_length=200, null=True, verbose_name='Other ref.', blank=True)), + ('year', models.IntegerField(default=ishtar_common.utils.get_current_year, verbose_name='Year')), + ('index', models.IntegerField(default=1, verbose_name='Index')), + ('external_id', models.CharField(max_length=200, null=True, verbose_name='External ID', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('goal', models.TextField(null=True, verbose_name='Goal', blank=True)), + ('start_date', models.DateField(null=True, verbose_name='Start date', blank=True)), + ('end_date', models.DateField(null=True, verbose_name='Closing date', blank=True)), + ('estimated_cost', models.FloatField(null=True, verbose_name='Estimated cost', blank=True)), + ('quoted_cost', models.FloatField(null=True, verbose_name='Quoted cost', blank=True)), + ('realized_cost', models.FloatField(null=True, verbose_name='Realized cost', blank=True)), + ('insurance_cost', models.FloatField(null=True, verbose_name='Insurance cost', blank=True)), + ('target_is_basket', models.BooleanField(default=False, verbose_name='Target a basket')), + ('cached_label', models.TextField(null=True, verbose_name='Cached name', blank=True)), + ], + options={ + 'verbose_name': 'Treatment', + 'verbose_name_plural': 'Treatments', + 'permissions': (('view_treatment', 'Peut voir tous les Traitements'), ('view_own_treatment', 'Peut voir son propre Traitement'), ('add_own_treatment', 'Peut ajouter son propre Traitement'), ('change_own_treatment', 'Peut modifier son propre Traitement'), ('delete_own_treatment', 'Peut supprimer son propre Traitement')), + }, + bases=(ishtar_common.models.DashboardFormItem, ishtar_common.models.ValueGetter, models.Model, ishtar_common.models.OwnPerms, ishtar_common.models.ShortMenuItem), + ), + migrations.CreateModel( + name='TreatmentFile', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('year', models.IntegerField(default=ishtar_common.utils.get_current_year, verbose_name='Year')), + ('index', models.IntegerField(default=1, verbose_name='Index')), + ('internal_reference', models.CharField(max_length=200, null=True, verbose_name='Internal reference', blank=True)), + ('external_id', models.CharField(max_length=200, null=True, verbose_name='External ID', blank=True)), + ('name', models.TextField(null=True, verbose_name='Name', blank=True)), + ('end_date', models.DateField(null=True, verbose_name='Closing date', blank=True)), + ('creation_date', models.DateField(default=datetime.date.today, null=True, verbose_name='Creation date', blank=True)), + ('reception_date', models.DateField(null=True, verbose_name='Reception date', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('cached_label', models.TextField(null=True, verbose_name='Cached name', blank=True)), + ], + options={ + 'ordering': ('cached_label',), + 'verbose_name': 'Treatment request', + 'verbose_name_plural': 'Treatment requests', + 'permissions': (('view_filetreatment', 'Peut voir toutes les Demandes de traitement'), ('add_filetreatment', 'Can add Treatment request'), ('change_filetreatment', 'Can change Treatment request'), ('delete_filetreatment', 'Can delete Treatment request'), ('view_own_filetreatment', 'Peut voir sa propre Demande de traitement'), ('add_own_filetreatment', 'Peut ajouter sa propre Demande de traitement'), ('change_own_filetreatment', 'Peut modifier sa propre Demande de traitement'), ('delete_own_filetreatment', 'Peut supprimer sa propre Demande de traitement')), + }, + bases=(ishtar_common.models.DashboardFormItem, archaeological_operations.models.ClosedItem, models.Model, ishtar_common.models.OwnPerms, ishtar_common.models.ValueGetter, ishtar_common.models.ShortMenuItem), + ), + migrations.CreateModel( + name='TreatmentFileSource', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('image', models.ImageField(max_length=255, null=True, upload_to=b'upload/', blank=True)), + ('thumbnail', models.ImageField(max_length=255, null=True, upload_to=b'upload/thumbs/', blank=True)), + ('title', models.CharField(max_length=300, verbose_name='Title')), + ('external_id', models.TextField(max_length=300, null=True, verbose_name='External ID', blank=True)), + ('scale', models.CharField(max_length=30, null=True, verbose_name='Scale', blank=True)), + ('associated_url', models.URLField(null=True, verbose_name='Numerical ressource (web address)', blank=True)), + ('receipt_date', models.DateField(null=True, verbose_name='Receipt date', blank=True)), + ('creation_date', models.DateField(null=True, verbose_name='Creation date', blank=True)), + ('receipt_date_in_documentation', models.DateField(null=True, verbose_name='Receipt date in documentation', blank=True)), + ('item_number', models.IntegerField(default=1, verbose_name='Item number')), + ('reference', models.CharField(max_length=100, null=True, verbose_name='Ref.', blank=True)), + ('internal_reference', models.CharField(max_length=100, null=True, verbose_name='Internal ref.', blank=True)), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('additional_information', models.TextField(null=True, verbose_name='Additional information', blank=True)), + ('duplicate', models.BooleanField(default=False, verbose_name='Has a duplicate')), + ], + options={ + 'verbose_name': 'Treatment request documentation', + 'verbose_name_plural': 'Treatment request documentations', + 'permissions': (('view_filetreatmentsource', 'Can view Treatment request source'), ('view_own_filetreatmentsource', 'Can view own Treatment request source'), ('add_own_filetreatmentsource', 'Can add own Treatment request source'), ('change_own_filetreatmentsource', 'Can change own Treatment request source'), ('delete_own_filetreatmentsource', 'Can delete own Treatment request source')), + }, + bases=(ishtar_common.models.OwnPerms, models.Model), + ), + migrations.CreateModel( + name='TreatmentFileType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Treatment request type', + 'verbose_name_plural': 'Treatment request types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='TreatmentSource', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('image', models.ImageField(max_length=255, null=True, upload_to=b'upload/', blank=True)), + ('thumbnail', models.ImageField(max_length=255, null=True, upload_to=b'upload/thumbs/', blank=True)), + ('title', models.CharField(max_length=300, verbose_name='Title')), + ('external_id', models.TextField(max_length=300, null=True, verbose_name='External ID', blank=True)), + ('scale', models.CharField(max_length=30, null=True, verbose_name='Scale', blank=True)), + ('associated_url', models.URLField(null=True, verbose_name='Numerical ressource (web address)', blank=True)), + ('receipt_date', models.DateField(null=True, verbose_name='Receipt date', blank=True)), + ('creation_date', models.DateField(null=True, verbose_name='Creation date', blank=True)), + ('receipt_date_in_documentation', models.DateField(null=True, verbose_name='Receipt date in documentation', blank=True)), + ('item_number', models.IntegerField(default=1, verbose_name='Item number')), + ('reference', models.CharField(max_length=100, null=True, verbose_name='Ref.', blank=True)), + ('internal_reference', models.CharField(max_length=100, null=True, verbose_name='Internal ref.', blank=True)), + ('description', models.TextField(null=True, verbose_name='Description', blank=True)), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('additional_information', models.TextField(null=True, verbose_name='Additional information', blank=True)), + ('duplicate', models.BooleanField(default=False, verbose_name='Has a duplicate')), + ], + options={ + 'verbose_name': 'Treatment documentation', + 'verbose_name_plural': 'Treament documentations', + 'permissions': (('view_treatmentsource', 'Can view all Treatment sources'), ('view_own_treatmentsource', 'Can view own Treatment source'), ('add_own_treatmentsource', 'Can add own Treatment source'), ('change_own_treatmentsource', 'Can change own Treatment source'), ('delete_own_treatmentsource', 'Can delete own Treatment source')), + }, + bases=(ishtar_common.models.OwnPerms, models.Model), + ), + migrations.CreateModel( + name='TreatmentState', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Treatment state type', + 'verbose_name_plural': 'Treatment state types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='TreatmentType', + fields=[ + ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), + ('label', models.CharField(max_length=100, verbose_name='Label')), + ('txt_idx', models.CharField(unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')])), + ('comment', models.TextField(null=True, verbose_name='Comment', blank=True)), + ('available', models.BooleanField(default=True, verbose_name='Available')), + ('order', models.IntegerField(default=10, verbose_name='Order')), + ('virtual', models.BooleanField(verbose_name='Virtual')), + ('upstream_is_many', models.BooleanField(default=False, help_text="Check this if for this treatment from many finds you'll get one.", verbose_name='Upstream is many')), + ('downstream_is_many', models.BooleanField(default=False, help_text="Check this if for this treatment from one find you'll get many.", verbose_name='Downstream is many')), + ('parent', models.ForeignKey(verbose_name='Parent type', blank=True, to='archaeological_finds.TreatmentType', null=True)), + ], + options={ + 'ordering': ('label',), + 'verbose_name': 'Treatment type', + 'verbose_name_plural': 'Treatment types', + }, + bases=(ishtar_common.models.Cached, models.Model), + ), + migrations.CreateModel( + name='FindDownstreamTreatments', + fields=[ + ('treatment', models.OneToOneField(primary_key=True, serialize=False, to='archaeological_finds.Treatment', verbose_name='Treatment')), + ('treatment_nb', models.IntegerField(verbose_name='Order')), + ], + options={ + 'ordering': ('find', '-treatment_nb'), + 'db_table': 'find_downtreatments', + 'managed': False, + }, + ), + migrations.CreateModel( + name='FindTreatments', + fields=[ + ('treatment', models.OneToOneField(primary_key=True, serialize=False, to='archaeological_finds.Treatment', verbose_name='Treatment')), + ('treatment_nb', models.IntegerField(verbose_name='Order')), + ('upstream', models.BooleanField(verbose_name='Is upstream')), + ], + options={ + 'ordering': ('find', 'upstream', '-treatment_nb'), + 'db_table': 'find_treatments', + 'managed': False, + }, + ), + migrations.CreateModel( + name='FindUpstreamTreatments', + fields=[ + ('treatment', models.OneToOneField(primary_key=True, serialize=False, to='archaeological_finds.Treatment', verbose_name='Treatment')), + ('treatment_nb', models.IntegerField(verbose_name='Order')), + ], + options={ + 'ordering': ('find', '-treatment_nb'), + 'db_table': 'find_uptreatments', + 'managed': False, + }, + ), + ] diff --git a/archaeological_finds/migrations/0002_auto_20170414_2123.py b/archaeological_finds/migrations/0002_auto_20170414_2123.py new file mode 100644 index 000000000..380ba2807 --- /dev/null +++ b/archaeological_finds/migrations/0002_auto_20170414_2123.py @@ -0,0 +1,503 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations +import django.db.models.deletion +from django.conf import settings + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_operations', '0001_initial'), + migrations.swappable_dependency(settings.AUTH_USER_MODEL), + ('archaeological_warehouse', '0001_initial'), + ('ishtar_common', '0001_initial'), + ('archaeological_finds', '0001_initial'), + ('archaeological_context_records', '0003_auto_20170414_2123'), + ] + + operations = [ + migrations.AddField( + model_name='treatmentsource', + name='authors', + field=models.ManyToManyField(related_name='treatmentsource_related', verbose_name='Authors', to='ishtar_common.Author'), + ), + migrations.AddField( + model_name='treatmentsource', + name='format_type', + field=models.ForeignKey(verbose_name='Format', blank=True, to='ishtar_common.Format', null=True), + ), + migrations.AddField( + model_name='treatmentsource', + name='source_type', + field=models.ForeignKey(verbose_name='Type', to='ishtar_common.SourceType'), + ), + migrations.AddField( + model_name='treatmentsource', + name='support_type', + field=models.ForeignKey(verbose_name='Support', blank=True, to='ishtar_common.SupportType', null=True), + ), + migrations.AddField( + model_name='treatmentsource', + name='treatment', + field=models.ForeignKey(related_name='source', verbose_name='Treatment', to='archaeological_finds.Treatment'), + ), + migrations.AddField( + model_name='treatmentfilesource', + name='authors', + field=models.ManyToManyField(related_name='treatmentfilesource_related', verbose_name='Authors', to='ishtar_common.Author'), + ), + migrations.AddField( + model_name='treatmentfilesource', + name='format_type', + field=models.ForeignKey(verbose_name='Format', blank=True, to='ishtar_common.Format', null=True), + ), + migrations.AddField( + model_name='treatmentfilesource', + name='source_type', + field=models.ForeignKey(verbose_name='Type', to='ishtar_common.SourceType'), + ), + migrations.AddField( + model_name='treatmentfilesource', + name='support_type', + field=models.ForeignKey(verbose_name='Support', blank=True, to='ishtar_common.SupportType', null=True), + ), + migrations.AddField( + model_name='treatmentfilesource', + name='treatment_file', + field=models.ForeignKey(related_name='source', verbose_name='Treatment request', to='archaeological_finds.TreatmentFile'), + ), + migrations.AddField( + model_name='treatmentfile', + name='applicant', + field=models.ForeignKey(related_name='treatmentfile_applicant', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Applicant', blank=True, to='ishtar_common.Person', null=True), + ), + migrations.AddField( + model_name='treatmentfile', + name='applicant_organisation', + field=models.ForeignKey(related_name='treatmentfile_applicant', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Applicant organisation', blank=True, to='ishtar_common.Organization', null=True), + ), + migrations.AddField( + model_name='treatmentfile', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Creator', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='treatmentfile', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Last editor', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='treatmentfile', + name='imports', + field=models.ManyToManyField(related_name='imported_archaeological_finds_treatmentfile', to='ishtar_common.Import', blank=True), + ), + migrations.AddField( + model_name='treatmentfile', + name='in_charge', + field=models.ForeignKey(related_name='treatmentfile_responsability', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Person in charge', blank=True, to='ishtar_common.Person', null=True), + ), + migrations.AddField( + model_name='treatmentfile', + name='type', + field=models.ForeignKey(verbose_name='Treatment request type', to='archaeological_finds.TreatmentFileType'), + ), + migrations.AddField( + model_name='treatment', + name='container', + field=models.ForeignKey(verbose_name='Container', blank=True, to='archaeological_warehouse.Container', null=True), + ), + migrations.AddField( + model_name='treatment', + name='file', + field=models.ForeignKey(related_name='treatments', verbose_name='Associated request', blank=True, to='archaeological_finds.TreatmentFile', null=True), + ), + migrations.AddField( + model_name='treatment', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Creator', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='treatment', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Last editor', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='treatment', + name='imports', + field=models.ManyToManyField(related_name='imported_archaeological_finds_treatment', to='ishtar_common.Import', blank=True), + ), + migrations.AddField( + model_name='treatment', + name='location', + field=models.ForeignKey(blank=True, to='archaeological_warehouse.Warehouse', help_text='Location where the treatment is done. Target warehouse for a move.', null=True, verbose_name='Location'), + ), + migrations.AddField( + model_name='treatment', + name='organization', + field=models.ForeignKey(related_name='treatments', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Organization', blank=True, to='ishtar_common.Organization', null=True), + ), + migrations.AddField( + model_name='treatment', + name='person', + field=models.ForeignKey(related_name='treatments', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Responsible', blank=True, to='ishtar_common.Person', null=True), + ), + migrations.AddField( + model_name='treatment', + name='treatment_state', + field=models.ForeignKey(verbose_name='State', blank=True, to='archaeological_finds.TreatmentState', null=True), + ), + migrations.AddField( + model_name='treatment', + name='treatment_types', + field=models.ManyToManyField(to='archaeological_finds.TreatmentType', verbose_name='Treatment type'), + ), + migrations.AddField( + model_name='property', + name='administrative_act', + field=models.ForeignKey(verbose_name='Administrative act', to='archaeological_operations.AdministrativeAct'), + ), + migrations.AddField( + model_name='property', + name='find', + field=models.ForeignKey(verbose_name='Find', to='archaeological_finds.Find'), + ), + migrations.AddField( + model_name='property', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Creator', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='property', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Last editor', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='property', + name='imports', + field=models.ManyToManyField(related_name='imported_archaeological_finds_property', to='ishtar_common.Import', blank=True), + ), + migrations.AddField( + model_name='property', + name='person', + field=models.ForeignKey(related_name='properties', verbose_name='Person', to='ishtar_common.Person'), + ), + migrations.AddField( + model_name='objecttype', + name='parent', + field=models.ForeignKey(verbose_name='Parent', blank=True, to='archaeological_finds.ObjectType', null=True), + ), + migrations.AddField( + model_name='materialtype', + name='parent', + field=models.ForeignKey(verbose_name='Parent material', blank=True, to='archaeological_finds.MaterialType', null=True), + ), + migrations.AddField( + model_name='historicaltreatmentfile', + name='applicant', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='ishtar_common.Person', null=True), + ), + migrations.AddField( + model_name='historicaltreatmentfile', + name='applicant_organisation', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='ishtar_common.Organization', null=True), + ), + migrations.AddField( + model_name='historicaltreatmentfile', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicaltreatmentfile', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicaltreatmentfile', + name='history_user', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicaltreatmentfile', + name='in_charge', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='ishtar_common.Person', null=True), + ), + migrations.AddField( + model_name='historicaltreatmentfile', + name='type', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_finds.TreatmentFileType', null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='container', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_warehouse.Container', null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='file', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_finds.TreatmentFile', null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='history_user', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='location', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_warehouse.Warehouse', null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='organization', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='ishtar_common.Organization', null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='person', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='ishtar_common.Person', null=True), + ), + migrations.AddField( + model_name='historicaltreatment', + name='treatment_state', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_finds.TreatmentState', null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='collection', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_warehouse.Collection', null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='conservatory_state', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_finds.ConservatoryState', null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='container', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_warehouse.Container', null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='downstream_treatment', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_finds.Treatment', null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='history_user', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicalfind', + name='upstream_treatment', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_finds.Treatment', null=True), + ), + migrations.AddField( + model_name='historicalbasefind', + name='batch', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_finds.BatchType', null=True), + ), + migrations.AddField( + model_name='historicalbasefind', + name='context_record', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='archaeological_context_records.ContextRecord', null=True), + ), + migrations.AddField( + model_name='historicalbasefind', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicalbasefind', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicalbasefind', + name='history_user', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='historicalbasefind', + name='spatial_reference_system', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.DO_NOTHING, db_constraint=False, blank=True, to='ishtar_common.SpatialReferenceSystem', null=True), + ), + migrations.AddField( + model_name='findsource', + name='authors', + field=models.ManyToManyField(related_name='findsource_related', verbose_name='Authors', to='ishtar_common.Author'), + ), + migrations.AddField( + model_name='findsource', + name='find', + field=models.ForeignKey(related_name='source', verbose_name='Find', to='archaeological_finds.Find'), + ), + migrations.AddField( + model_name='findsource', + name='format_type', + field=models.ForeignKey(verbose_name='Format', blank=True, to='ishtar_common.Format', null=True), + ), + migrations.AddField( + model_name='findsource', + name='source_type', + field=models.ForeignKey(verbose_name='Type', to='ishtar_common.SourceType'), + ), + migrations.AddField( + model_name='findsource', + name='support_type', + field=models.ForeignKey(verbose_name='Support', blank=True, to='ishtar_common.SupportType', null=True), + ), + migrations.AddField( + model_name='findbasket', + name='items', + field=models.ManyToManyField(related_name='basket', to='archaeological_finds.Find', blank=True), + ), + migrations.AddField( + model_name='findbasket', + name='user', + field=models.ForeignKey(blank=True, to='ishtar_common.IshtarUser', null=True), + ), + migrations.AddField( + model_name='find', + name='base_finds', + field=models.ManyToManyField(related_name='find', verbose_name='Base find', to='archaeological_finds.BaseFind'), + ), + migrations.AddField( + model_name='find', + name='collection', + field=models.ForeignKey(related_name='finds', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Collection', blank=True, to='archaeological_warehouse.Collection', null=True), + ), + migrations.AddField( + model_name='find', + name='conservatory_state', + field=models.ForeignKey(on_delete=django.db.models.deletion.SET_NULL, verbose_name='Conservatory state', blank=True, to='archaeological_finds.ConservatoryState', null=True), + ), + migrations.AddField( + model_name='find', + name='container', + field=models.ForeignKey(related_name='finds', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Container', blank=True, to='archaeological_warehouse.Container', null=True), + ), + migrations.AddField( + model_name='find', + name='datings', + field=models.ManyToManyField(related_name='find', verbose_name='Dating', to='archaeological_context_records.Dating'), + ), + migrations.AddField( + model_name='find', + name='downstream_treatment', + field=models.ForeignKey(related_name='upstream', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Downstream treatment', blank=True, to='archaeological_finds.Treatment', null=True), + ), + migrations.AddField( + model_name='find', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Creator', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='find', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Last editor', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='find', + name='imports', + field=models.ManyToManyField(related_name='imported_archaeological_finds_find', to='ishtar_common.Import', blank=True), + ), + migrations.AddField( + model_name='find', + name='integrities', + field=models.ManyToManyField(related_name='find', verbose_name='Integrity / interest', to='archaeological_finds.IntegrityType'), + ), + migrations.AddField( + model_name='find', + name='material_types', + field=models.ManyToManyField(related_name='finds', verbose_name='Material types', to='archaeological_finds.MaterialType'), + ), + migrations.AddField( + model_name='find', + name='object_types', + field=models.ManyToManyField(related_name='find', verbose_name='Object types', to='archaeological_finds.ObjectType'), + ), + migrations.AddField( + model_name='find', + name='preservation_to_considers', + field=models.ManyToManyField(related_name='finds', verbose_name='Type of preservation to consider', to='archaeological_finds.PreservationType'), + ), + migrations.AddField( + model_name='find', + name='remarkabilities', + field=models.ManyToManyField(related_name='find', verbose_name='Remarkability', to='archaeological_finds.RemarkabilityType'), + ), + migrations.AddField( + model_name='find', + name='upstream_treatment', + field=models.ForeignKey(related_name='downstream', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Upstream treatment', blank=True, to='archaeological_finds.Treatment', null=True), + ), + migrations.AddField( + model_name='conservatorystate', + name='parent', + field=models.ForeignKey(verbose_name='Parent conservatory state', blank=True, to='archaeological_finds.ConservatoryState', null=True), + ), + migrations.AddField( + model_name='basefind', + name='batch', + field=models.ForeignKey(verbose_name='Batch/object', blank=True, to='archaeological_finds.BatchType', null=True), + ), + migrations.AddField( + model_name='basefind', + name='context_record', + field=models.ForeignKey(related_name='base_finds', verbose_name='Context Record', to='archaeological_context_records.ContextRecord'), + ), + migrations.AddField( + model_name='basefind', + name='history_creator', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Creator', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='basefind', + name='history_modifier', + field=models.ForeignKey(related_name='+', on_delete=django.db.models.deletion.SET_NULL, verbose_name='Last editor', blank=True, to=settings.AUTH_USER_MODEL, null=True), + ), + migrations.AddField( + model_name='basefind', + name='imports', + field=models.ManyToManyField(related_name='imported_archaeological_finds_basefind', to='ishtar_common.Import', blank=True), + ), + migrations.AddField( + model_name='basefind', + name='spatial_reference_system', + field=models.ForeignKey(verbose_name='Spatial Reference System', blank=True, to='ishtar_common.SpatialReferenceSystem', null=True), + ), + migrations.AlterUniqueTogether( + name='treatmentfile', + unique_together=set([('year', 'index')]), + ), + migrations.AlterUniqueTogether( + name='treatment', + unique_together=set([('year', 'index')]), + ), + migrations.AlterUniqueTogether( + name='findbasket', + unique_together=set([('label', 'user')]), + ), + ] diff --git a/archaeological_finds/migrations/0003_views.py b/archaeological_finds/migrations/0003_views.py new file mode 100644 index 000000000..d405a35e1 --- /dev/null +++ b/archaeological_finds/migrations/0003_views.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import migrations +from archaeological_finds.models import FirstBaseFindView, FindTreatments, \ + FindDownstreamTreatments, FindUpstreamTreatments, FBulkView, BFBulkView + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_finds', '0002_auto_20170414_2123'), + ] + + operations = [ + migrations.RunSQL(FindUpstreamTreatments.CREATE_SQL + + FindDownstreamTreatments.CREATE_SQL + + FindTreatments.CREATE_SQL + + FirstBaseFindView.CREATE_SQL + + FBulkView.CREATE_SQL + + BFBulkView.CREATE_SQL) + ] diff --git a/archaeological_finds/migrations/0004_auto_20170802_1557.py b/archaeological_finds/migrations/0004_auto_20170802_1557.py new file mode 100644 index 000000000..761410d90 --- /dev/null +++ b/archaeological_finds/migrations/0004_auto_20170802_1557.py @@ -0,0 +1,30 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_finds', '0003_views'), + ] + + operations = [ + migrations.AlterModelOptions( + name='basefind', + options={'verbose_name': 'Base find', 'verbose_name_plural': 'Base finds', 'permissions': (('view_basefind', 'Can view all Base finds'), ('view_own_basefind', 'Can view own Base find'), ('add_own_basefind', 'Can add own Base find'), ('change_own_basefind', 'Can change own Base find'), ('delete_own_basefind', 'Can delete own Base find'))}, + ), + migrations.AlterModelOptions( + name='find', + options={'ordering': ('cached_label',), 'verbose_name': 'Find', 'verbose_name_plural': 'Finds', 'permissions': (('view_find', 'Can view all Finds'), ('view_own_find', 'Can view own Find'), ('add_own_find', 'Can add own Find'), ('change_own_find', 'Can change own Find'), ('delete_own_find', 'Can delete own Find'))}, + ), + migrations.AlterModelOptions( + name='treatment', + options={'verbose_name': 'Treatment', 'verbose_name_plural': 'Treatments', 'permissions': (('view_treatment', 'Can view all Treatments'), ('view_own_treatment', 'Can view own Treatment'), ('add_own_treatment', 'Can add own Treatment'), ('change_own_treatment', 'Can change own Treatment'), ('delete_own_treatment', 'Can delete own Treatment'))}, + ), + migrations.AlterModelOptions( + name='treatmentfile', + options={'ordering': ('cached_label',), 'verbose_name': 'Treatment request', 'verbose_name_plural': 'Treatment requests', 'permissions': (('view_filetreatment', 'Can view all Treatment requests'), ('add_filetreatment', 'Can add Treatment request'), ('change_filetreatment', 'Can change Treatment request'), ('delete_filetreatment', 'Can delete Treatment request'), ('view_own_filetreatment', 'Can view own Treatment request'), ('add_own_filetreatment', 'Can add own Treatment request'), ('change_own_filetreatment', 'Can change own Treatment request'), ('delete_own_filetreatment', 'Can delete own Treatment request'))}, + ), + ] diff --git a/archaeological_finds/migrations/0005_auto_20170804_2024.py b/archaeological_finds/migrations/0005_auto_20170804_2024.py new file mode 100644 index 000000000..29a475e88 --- /dev/null +++ b/archaeological_finds/migrations/0005_auto_20170804_2024.py @@ -0,0 +1,102 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations +import re +import django.contrib.gis.db.models.fields +import django.core.validators + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_finds', '0004_auto_20170802_1557'), + ] + + operations = [ + migrations.AlterField( + model_name='basefind', + name='point', + field=django.contrib.gis.db.models.fields.PointField(srid=4326, dim=3, null=True, verbose_name='Point (3D)', blank=True), + ), + migrations.AlterField( + model_name='batchtype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='conservatorystate', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='find', + name='integrities', + field=models.ManyToManyField(related_name='find', verbose_name='Integrity / interest', to='archaeological_finds.IntegrityType', blank=True), + ), + migrations.AlterField( + model_name='find', + name='material_types', + field=models.ManyToManyField(related_name='finds', verbose_name='Material types', to='archaeological_finds.MaterialType', blank=True), + ), + migrations.AlterField( + model_name='find', + name='object_types', + field=models.ManyToManyField(related_name='find', verbose_name='Object types', to='archaeological_finds.ObjectType', blank=True), + ), + migrations.AlterField( + model_name='find', + name='preservation_to_considers', + field=models.ManyToManyField(related_name='finds', verbose_name='Type of preservation to consider', to='archaeological_finds.PreservationType', blank=True), + ), + migrations.AlterField( + model_name='find', + name='remarkabilities', + field=models.ManyToManyField(related_name='find', verbose_name='Remarkability', to='archaeological_finds.RemarkabilityType', blank=True), + ), + migrations.AlterField( + model_name='historicalbasefind', + name='point', + field=django.contrib.gis.db.models.fields.PointField(srid=4326, dim=3, null=True, verbose_name='Point (3D)', blank=True), + ), + migrations.AlterField( + model_name='integritytype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='materialtype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='objecttype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='preservationtype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='remarkabilitytype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='treatmentfiletype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='treatmentstate', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + migrations.AlterField( + model_name='treatmenttype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', unique=True, max_length=100, verbose_name='Textual ID', validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+$'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')]), + ), + ] diff --git a/archaeological_finds/migrations/0006_auto_20170826_1152.py b/archaeological_finds/migrations/0006_auto_20170826_1152.py new file mode 100644 index 000000000..ba29a939f --- /dev/null +++ b/archaeological_finds/migrations/0006_auto_20170826_1152.py @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.11 on 2017-08-26 11:52 +from __future__ import unicode_literals + +import django.core.validators +from django.db import migrations, models +import re + + +class Migration(migrations.Migration): + + dependencies = [ + ('archaeological_finds', '0005_auto_20170804_2024'), + ] + + operations = [ + migrations.AlterField( + model_name='batchtype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='conservatorystate', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='integritytype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='materialtype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='objecttype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='preservationtype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='remarkabilitytype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='treatmentfiletype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='treatmentstate', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + migrations.AlterField( + model_name='treatmenttype', + name='txt_idx', + field=models.CharField(help_text='The slug is the standardized version of the name. It contains only lowercase letters, numbers and hyphens. Each slug must be unique.', max_length=100, unique=True, validators=[django.core.validators.RegexValidator(re.compile('^[-a-zA-Z0-9_]+\\Z'), "Enter a valid 'slug' consisting of letters, numbers, underscores or hyphens.", 'invalid')], verbose_name='Textual ID'), + ), + ] diff --git a/archaeological_finds/migrations/0086_auto__chg_field_treatmentsource_external_id__chg_field_treatmentfileso.py b/archaeological_finds/migrations/0086_auto__chg_field_treatmentsource_external_id__chg_field_treatmentfileso.py deleted file mode 100644 index 32789a1ee..000000000 --- a/archaeological_finds/migrations/0086_auto__chg_field_treatmentsource_external_id__chg_field_treatmentfileso.py +++ /dev/null @@ -1,1251 +0,0 @@ -# -*- coding: utf-8 -*- -import datetime -from south.db import db -from south.v2 import SchemaMigration -from django.db import models - - -class Migration(SchemaMigration): - - def forwards(self, orm): - - # Changing field 'TreatmentSource.external_id' - db.alter_column('archaeological_finds_treatmentsource', 'external_id', self.gf('django.db.models.fields.TextField')(max_length=300, null=True)) - - # Changing field 'TreatmentFileSource.external_id' - db.alter_column('archaeological_finds_treatmentfilesource', 'external_id', self.gf('django.db.models.fields.TextField')(max_length=300, null=True)) - - # Changing field 'FindSource.external_id' - db.alter_column('archaeological_finds_findsource', 'external_id', self.gf('django.db.models.fields.TextField')(max_length=300, null=True)) - - def backwards(self, orm): - - # Changing field 'TreatmentSource.external_id' - db.alter_column('archaeological_finds_treatmentsource', 'external_id', self.gf('django.db.models.fields.CharField')(max_length=12, null=True)) - - # Changing field 'TreatmentFileSource.external_id' - db.alter_column('archaeological_finds_treatmentfilesource', 'external_id', self.gf('django.db.models.fields.CharField')(max_length=12, null=True)) - - # Changing field 'FindSource.external_id' - db.alter_column('archaeological_finds_findsource', 'external_id', self.gf('django.db.models.fields.CharField')(max_length=12, null=True)) - - models = { - 'archaeological_context_records.activitytype': { - 'Meta': {'ordering': "('order',)", 'object_name': 'ActivityType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_context_records.contextrecord': { - 'Meta': {'ordering': "('cached_label',)", 'object_name': 'ContextRecord'}, - 'activity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.ActivityType']", 'null': 'True', 'blank': 'True'}), - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'closing_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'datings': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_context_records.Dating']", 'symmetrical': 'False'}), - 'datings_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'depth': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'depth_of_appearance': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'diameter': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'documentations': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['archaeological_context_records.DocumentationType']", 'null': 'True', 'blank': 'True'}), - 'excavation_technic': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.ExcavationTechnicType']", 'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'filling': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'identification': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.IdentificationType']", 'null': 'True', 'blank': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_context_records_contextrecord'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'interpretation': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'length': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'location': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'opening_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'operation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'context_record'", 'to': "orm['archaeological_operations.Operation']"}), - 'parcel': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'context_record'", 'to': "orm['archaeological_operations.Parcel']"}), - 'point': ('django.contrib.gis.db.models.fields.PointField', [], {'dim': '3', 'null': 'True', 'blank': 'True'}), - 'polygon': ('django.contrib.gis.db.models.fields.PolygonField', [], {'null': 'True', 'blank': 'True'}), - 'related_context_records': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['archaeological_context_records.ContextRecord']", 'null': 'True', 'through': "orm['archaeological_context_records.RecordRelations']", 'blank': 'True'}), - 'taq': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'taq_estimated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'thickness': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'tpq': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'tpq_estimated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'unit': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['archaeological_context_records.Unit']"}), - 'width': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_context_records.dating': { - 'Meta': {'object_name': 'Dating'}, - 'dating_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.DatingType']", 'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'period': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.Period']"}), - 'precise_dating': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'quality': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.DatingQuality']", 'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_context_records.datingquality': { - 'Meta': {'ordering': "('label',)", 'object_name': 'DatingQuality'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_context_records.datingtype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'DatingType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_context_records.documentationtype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'DocumentationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_context_records.excavationtechnictype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'ExcavationTechnicType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_context_records.identificationtype': { - 'Meta': {'ordering': "('order', 'label')", 'object_name': 'IdentificationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_context_records.recordrelations': { - 'Meta': {'object_name': 'RecordRelations'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'left_record': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'right_relations'", 'to': "orm['archaeological_context_records.ContextRecord']"}), - 'relation_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.RelationType']"}), - 'right_record': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'left_relations'", 'to': "orm['archaeological_context_records.ContextRecord']"}) - }, - 'archaeological_context_records.relationtype': { - 'Meta': {'ordering': "('order', 'label')", 'object_name': 'RelationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'inverse_relation': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.RelationType']", 'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'symmetrical': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'tiny_label': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_context_records.unit': { - 'Meta': {'ordering': "('order', 'label')", 'object_name': 'Unit'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.Unit']", 'null': 'True', 'blank': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_files.file': { - 'Meta': {'ordering': "('cached_label',)", 'object_name': 'File'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'cira_advised': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'classified_area': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'corporation_general_contractor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'general_contractor_files'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'creation_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today', 'null': 'True', 'blank': 'True'}), - 'departments': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['ishtar_common.Department']", 'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), - 'file_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.FileType']"}), - 'general_contractor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'general_contractor_files'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imported_line': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_files_file'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'file_responsability'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'instruction_deadline': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'internal_reference': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}), - 'locality': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'main_town': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'file_main'", 'null': 'True', 'to': "orm['ishtar_common.Town']"}), - 'mh_listing': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'mh_register': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'numeric_reference': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'organization': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'files'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'permit_reference': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'permit_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.PermitType']", 'null': 'True', 'blank': 'True'}), - 'planning_service': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'planning_service_files'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'protected_area': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'raw_general_contractor': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'raw_town_planning_service': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'reception_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'related_file': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.File']", 'null': 'True', 'blank': 'True'}), - 'requested_operation_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.OperationType']"}), - 'research_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'responsible_town_planning_service': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'responsible_town_planning_service_files'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'saisine_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.SaisineType']", 'null': 'True', 'blank': 'True'}), - 'scientist': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'scientist'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'total_developed_surface': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'total_surface': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'towns': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'file'", 'symmetrical': 'False', 'to': "orm['ishtar_common.Town']"}), - 'year': ('django.db.models.fields.IntegerField', [], {'default': '2017'}) - }, - 'archaeological_files.filetype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'FileType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_files.permittype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'PermitType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_files.saisinetype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'SaisineType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'delay': ('django.db.models.fields.IntegerField', [], {'default': '30'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.basefind': { - 'Meta': {'object_name': 'BaseFind'}, - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'batch': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.BatchType']", 'null': 'True', 'blank': 'True'}), - 'cache_complete_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'cache_short_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'context_record': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'base_finds'", 'to': "orm['archaeological_context_records.ContextRecord']"}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'discovery_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_error_x': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_error_y': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_error_z': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_finds_basefind'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'label': ('django.db.models.fields.TextField', [], {}), - 'line': ('django.contrib.gis.db.models.fields.LineStringField', [], {'null': 'True', 'blank': 'True'}), - 'material_index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'point': ('django.contrib.gis.db.models.fields.PointField', [], {'dim': '3', 'null': 'True', 'blank': 'True'}), - 'point_2d': ('django.contrib.gis.db.models.fields.PointField', [], {'null': 'True', 'blank': 'True'}), - 'polygon': ('django.contrib.gis.db.models.fields.PolygonField', [], {'null': 'True', 'blank': 'True'}), - 'spatial_reference_system': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SpatialReferenceSystem']", 'null': 'True', 'blank': 'True'}), - 'special_interest': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), - 'topographic_localisation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), - 'x': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'y': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'z': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.batchtype': { - 'Meta': {'ordering': "('order',)", 'object_name': 'BatchType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '10'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.conservatorystate': { - 'Meta': {'ordering': "('label',)", 'object_name': 'ConservatoryState'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.ConservatoryState']", 'null': 'True', 'blank': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.find': { - 'Meta': {'ordering': "('cached_label',)", 'object_name': 'Find'}, - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'base_finds': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'find'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.BaseFind']"}), - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'check_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today'}), - 'checked': ('django.db.models.fields.CharField', [], {'default': "'NC'", 'max_length': '2'}), - 'collection': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'finds'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['archaeological_warehouse.Collection']"}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'conservatory_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'conservatory_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.ConservatoryState']", 'null': 'True', 'on_delete': 'models.SET_NULL', 'blank': 'True'}), - 'container': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'finds'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['archaeological_warehouse.Container']"}), - 'dating_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'datings': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'find'", 'symmetrical': 'False', 'to': "orm['archaeological_context_records.Dating']"}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'diameter': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'dimensions_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'downstream_treatment': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'upstream'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['archaeological_finds.Treatment']"}), - 'estimated_value': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'find_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_finds_find'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'integrities': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'find'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.IntegrityType']"}), - 'is_complete': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.TextField', [], {}), - 'length': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'mark': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'material_types': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'finds'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.MaterialType']"}), - 'min_number_of_individuals': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'object_types': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'find'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.ObjectType']"}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'preservation_to_considers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'finds'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.PreservationType']"}), - 'previous_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'remarkabilities': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'find'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.RemarkabilityType']"}), - 'thickness': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'upstream_treatment': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'downstream'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['archaeological_finds.Treatment']"}), - 'volume': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'weight': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'weight_unit': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.findbasket': { - 'Meta': {'unique_together': "(('label', 'user'),)", 'object_name': 'FindBasket'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'items': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'basket'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['archaeological_finds.Find']"}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '1000'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.IshtarUser']", 'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.finddownstreamtreatments': { - 'Meta': {'ordering': "('find', '-treatment_nb')", 'unique_together': "(('find', 'treatment'),)", 'object_name': 'FindDownstreamTreatments', 'db_table': "'find_downtreatments'", 'managed': 'False'}, - 'find': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'finddownstreamtreatments_related'", 'to': "orm['archaeological_finds.Find']"}), - 'treatment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.Treatment']", 'primary_key': 'True'}), - 'treatment_nb': ('django.db.models.fields.IntegerField', [], {}) - }, - 'archaeological_finds.findsource': { - 'Meta': {'object_name': 'FindSource'}, - 'additional_information': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'associated_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'authors': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'findsource_related'", 'symmetrical': 'False', 'to': "orm['ishtar_common.Author']"}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'duplicate': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'external_id': ('django.db.models.fields.TextField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'find': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source'", 'to': "orm['archaeological_finds.Find']"}), - 'format_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Format']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'internal_reference': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'item_number': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'receipt_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'receipt_date_in_documentation': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'reference': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'scale': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'source_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SourceType']"}), - 'support_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SupportType']", 'null': 'True', 'blank': 'True'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}) - }, - 'archaeological_finds.findtreatments': { - 'Meta': {'ordering': "('find', 'upstream', '-treatment_nb')", 'unique_together': "(('find', 'treatment'),)", 'object_name': 'FindTreatments', 'db_table': "'find_treatments'", 'managed': 'False'}, - 'find': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'findtreatments_related'", 'to': "orm['archaeological_finds.Find']"}), - 'treatment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.Treatment']", 'primary_key': 'True'}), - 'treatment_nb': ('django.db.models.fields.IntegerField', [], {}), - 'upstream': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) - }, - 'archaeological_finds.findupstreamtreatments': { - 'Meta': {'ordering': "('find', '-treatment_nb')", 'unique_together': "(('find', 'treatment'),)", 'object_name': 'FindUpstreamTreatments', 'db_table': "'find_uptreatments'", 'managed': 'False'}, - 'find': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'findupstreamtreatments_related'", 'to': "orm['archaeological_finds.Find']"}), - 'treatment': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.Treatment']", 'primary_key': 'True'}), - 'treatment_nb': ('django.db.models.fields.IntegerField', [], {}) - }, - 'archaeological_finds.historicalbasefind': { - 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalBaseFind'}, - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'batch_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'cache_complete_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'cache_short_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'context_record_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'discovery_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_error_x': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_error_y': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_error_z': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'label': ('django.db.models.fields.TextField', [], {}), - 'line': ('django.contrib.gis.db.models.fields.LineStringField', [], {'null': 'True', 'blank': 'True'}), - 'material_index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'point': ('django.contrib.gis.db.models.fields.PointField', [], {'dim': '3', 'null': 'True', 'blank': 'True'}), - 'point_2d': ('django.contrib.gis.db.models.fields.PointField', [], {'null': 'True', 'blank': 'True'}), - 'polygon': ('django.contrib.gis.db.models.fields.PolygonField', [], {'null': 'True', 'blank': 'True'}), - 'spatial_reference_system_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'special_interest': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), - 'topographic_localisation': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), - 'x': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'y': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'z': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.historicalfind': { - 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalFind'}, - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'check_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today'}), - 'checked': ('django.db.models.fields.CharField', [], {'default': "'NC'", 'max_length': '2'}), - 'collection_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'conservatory_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'conservatory_state_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'container_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'dating_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'diameter': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'dimensions_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'downstream_treatment_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'estimated_value': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'find_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'is_complete': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.TextField', [], {}), - 'length': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'mark': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'min_number_of_individuals': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'previous_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'thickness': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'upstream_treatment_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'volume': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'weight': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'weight_unit': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_finds.historicaltreatment': { - 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalTreatment'}, - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'container_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'file_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'goal': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'insurance_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'location_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'organization_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'other_reference': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'person_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'quoted_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'realized_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'target_is_basket': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'treatment_state_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.IntegerField', [], {'default': '2017'}) - }, - 'archaeological_finds.historicaltreatmentfile': { - 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalTreatmentFile'}, - 'applicant_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'applicant_organisation_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today', 'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'history_creator_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), - 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), - 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), - 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), - 'in_charge_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'internal_reference': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'reception_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'type_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), - 'year': ('django.db.models.fields.IntegerField', [], {'default': '2017'}) - }, - 'archaeological_finds.integritytype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'IntegrityType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.materialtype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'MaterialType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.MaterialType']", 'null': 'True', 'blank': 'True'}), - 'recommendation': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.objecttype': { - 'Meta': {'ordering': "('parent__label', 'label')", 'object_name': 'ObjectType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.ObjectType']", 'null': 'True', 'blank': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.preservationtype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'PreservationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.property': { - 'Meta': {'object_name': 'Property'}, - 'administrative_act': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.AdministrativeAct']"}), - 'end_date': ('django.db.models.fields.DateField', [], {}), - 'find': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.Find']"}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_finds_property'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'properties'", 'to': "orm['ishtar_common.Person']"}), - 'start_date': ('django.db.models.fields.DateField', [], {}) - }, - 'archaeological_finds.remarkabilitytype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'RemarkabilityType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.treatment': { - 'Meta': {'unique_together': "(('year', 'index'),)", 'object_name': 'Treatment'}, - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'container': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Container']", 'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'estimated_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treatments'", 'null': 'True', 'to': "orm['archaeological_finds.TreatmentFile']"}), - 'goal': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_finds_treatment'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'insurance_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Warehouse']", 'null': 'True', 'blank': 'True'}), - 'organization': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treatments'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'other_reference': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treatments'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'quoted_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'realized_cost': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'target_is_basket': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'treatment_state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.TreatmentState']", 'null': 'True', 'blank': 'True'}), - 'treatment_types': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_finds.TreatmentType']", 'symmetrical': 'False'}), - 'year': ('django.db.models.fields.IntegerField', [], {'default': '2017'}) - }, - 'archaeological_finds.treatmentfile': { - 'Meta': {'ordering': "('cached_label',)", 'unique_together': "(('year', 'index'),)", 'object_name': 'TreatmentFile'}, - 'applicant': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treatmentfile_applicant'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'applicant_organisation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treatmentfile_applicant'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'cached_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today', 'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_finds_treatmentfile'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'treatmentfile_responsability'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'internal_reference': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'reception_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.TreatmentFileType']"}), - 'year': ('django.db.models.fields.IntegerField', [], {'default': '2017'}) - }, - 'archaeological_finds.treatmentfilesource': { - 'Meta': {'object_name': 'TreatmentFileSource'}, - 'additional_information': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'associated_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'authors': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'treatmentfilesource_related'", 'symmetrical': 'False', 'to': "orm['ishtar_common.Author']"}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'duplicate': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'external_id': ('django.db.models.fields.TextField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'format_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Format']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'internal_reference': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'item_number': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'receipt_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'receipt_date_in_documentation': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'reference': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'scale': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'source_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SourceType']"}), - 'support_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SupportType']", 'null': 'True', 'blank': 'True'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'treatment_file': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source'", 'to': "orm['archaeological_finds.TreatmentFile']"}) - }, - 'archaeological_finds.treatmentfiletype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'TreatmentFileType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.treatmentsource': { - 'Meta': {'object_name': 'TreatmentSource'}, - 'additional_information': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'associated_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'authors': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'treatmentsource_related'", 'symmetrical': 'False', 'to': "orm['ishtar_common.Author']"}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'duplicate': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'external_id': ('django.db.models.fields.TextField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'format_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Format']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'internal_reference': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'item_number': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'receipt_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'receipt_date_in_documentation': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'reference': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'scale': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'source_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SourceType']"}), - 'support_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SupportType']", 'null': 'True', 'blank': 'True'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.CharField', [], {'max_length': '300'}), - 'treatment': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source'", 'to': "orm['archaeological_finds.Treatment']"}) - }, - 'archaeological_finds.treatmentstate': { - 'Meta': {'ordering': "('label',)", 'object_name': 'TreatmentState'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_finds.treatmenttype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'TreatmentType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'downstream_is_many': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '10'}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.TreatmentType']", 'null': 'True', 'blank': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}), - 'upstream_is_many': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'virtual': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) - }, - 'archaeological_operations.acttype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'ActType'}, - 'associated_template': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'acttypes'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.DocumentTemplate']"}), - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'indexed': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'intented_to': ('django.db.models.fields.CharField', [], {'max_length': '2'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_operations.administrativeact': { - 'Meta': {'ordering': "('year', 'signature_date', 'index', 'act_type')", 'object_name': 'AdministrativeAct'}, - 'act_object': ('django.db.models.fields.TextField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'act_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.ActType']"}), - 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), - 'departments_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_operations_administrativeact'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'adminact_operation_in_charge'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'index': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'operation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_operations.Operation']"}), - 'operator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'adminact_operator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'ref_sra': ('django.db.models.fields.CharField', [], {'max_length': '15', 'null': 'True', 'blank': 'True'}), - 'scientist': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'adminact_scientist'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'signatory': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'signatory'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'signature_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'towns_label': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'treatment': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_finds.Treatment']"}), - 'treatment_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_finds.TreatmentFile']"}), - 'year': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_operations.archaeologicalsite': { - 'Meta': {'object_name': 'ArchaeologicalSite'}, - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_operations_archaeologicalsite'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'periods': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['archaeological_operations.Period']", 'null': 'True', 'blank': 'True'}), - 'reference': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '20'}), - 'remains': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['archaeological_operations.RemainType']", 'null': 'True', 'blank': 'True'}) - }, - 'archaeological_operations.operation': { - 'Meta': {'ordering': "('cached_label',)", 'object_name': 'Operation'}, - 'abstract': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'archaeological_sites': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['archaeological_operations.ArchaeologicalSite']", 'null': 'True', 'blank': 'True'}), - 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'operations'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), - 'cached_label': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}), - 'cira_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'cira_rapporteur': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'cira_rapporteur'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'code_patriarche': ('django.db.models.fields.TextField', [], {'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'collaborators': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'operation_collaborator'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Person']"}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'common_name': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'cost': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'creation_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today'}), - 'documentation_deadline': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'documentation_received': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'eas_number': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), - 'effective_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'excavation_end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'finds_deadline': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'finds_received': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'fnap_cost': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'fnap_financing': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'geoarchaeological_context_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_operations_operation'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'operation_responsability'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'large_area_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'multi_polygon': ('django.contrib.gis.db.models.fields.MultiPolygonField', [], {'null': 'True', 'blank': 'True'}), - 'negative_result': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), - 'old_code': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'operation_code': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'operation_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['ishtar_common.OperationType']"}), - 'operator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'operator'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'operator_reference': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), - 'optional_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'periods': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['archaeological_operations.Period']", 'null': 'True', 'blank': 'True'}), - 'point': ('django.contrib.gis.db.models.fields.PointField', [], {'null': 'True', 'blank': 'True'}), - 'record_quality': ('django.db.models.fields.CharField', [], {'max_length': '2', 'null': 'True', 'blank': 'True'}), - 'remains': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['archaeological_operations.RemainType']", 'null': 'True', 'blank': 'True'}), - 'report_delivery_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'report_processing': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.ReportState']", 'null': 'True', 'blank': 'True'}), - 'scheduled_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'scientific_documentation_comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'scientist': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'operation_scientist_responsability'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), - 'surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'towns': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'operations'", 'symmetrical': 'False', 'to': "orm['ishtar_common.Town']"}), - 'virtual_operation': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'year': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'zoning_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_operations.parcel': { - 'Meta': {'ordering': "('year', 'section', 'parcel_number')", 'object_name': 'Parcel'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'parcels'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'external_id': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_operations_parcel'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'operation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'parcels'", 'null': 'True', 'to': "orm['archaeological_operations.Operation']"}), - 'parcel_number': ('django.db.models.fields.CharField', [], {'max_length': '6', 'null': 'True', 'blank': 'True'}), - 'public_domain': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'section': ('django.db.models.fields.CharField', [], {'max_length': '4', 'null': 'True', 'blank': 'True'}), - 'town': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'parcels'", 'to': "orm['ishtar_common.Town']"}), - 'year': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_operations.period': { - 'Meta': {'ordering': "('order',)", 'object_name': 'Period'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'end_date': ('django.db.models.fields.IntegerField', [], {}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.Period']", 'null': 'True', 'blank': 'True'}), - 'start_date': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_operations.remaintype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'RemainType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_operations.reportstate': { - 'Meta': {'ordering': "('order',)", 'object_name': 'ReportState'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_warehouse.collection': { - 'Meta': {'ordering': "('name',)", 'object_name': 'Collection'}, - 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_warehouse_collection'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'warehouse': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'collections'", 'to': "orm['archaeological_warehouse.Warehouse']"}) - }, - 'archaeological_warehouse.container': { - 'Meta': {'ordering': "('cached_label',)", 'unique_together': "(('index', 'location'),)", 'object_name': 'Container'}, - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'cached_label': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}), - 'cached_location': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'container_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.ContainerType']"}), - 'external_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_warehouse_container'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), - 'location': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'containers'", 'to': "orm['archaeological_warehouse.Warehouse']"}), - 'reference': ('django.db.models.fields.CharField', [], {'max_length': '40'}), - 'responsible': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owned_containers'", 'to': "orm['archaeological_warehouse.Warehouse']"}), - 'thumbnail': ('django.db.models.fields.files.ImageField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}) - }, - 'archaeological_warehouse.containertype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'ContainerType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'length': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'reference': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}), - 'volume': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), - 'width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - }, - 'archaeological_warehouse.warehouse': { - 'Meta': {'object_name': 'Warehouse'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address_is_prefered': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'alt_country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'alt_postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'alt_town': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}), - 'associated_divisions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_warehouse.WarehouseDivision']", 'symmetrical': 'False', 'through': "orm['archaeological_warehouse.WarehouseDivisionLink']", 'blank': 'True'}), - 'auto_external_id': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'external_id': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_archaeological_warehouse_warehouse'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'person_in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'warehouse_in_charge'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Person']"}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone2': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone3': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone_desc': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'phone_desc2': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'phone_desc3': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'raw_phone': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'town': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}), - 'warehouse_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.WarehouseType']"}) - }, - 'archaeological_warehouse.warehousedivision': { - 'Meta': {'object_name': 'WarehouseDivision'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'archaeological_warehouse.warehousedivisionlink': { - 'Meta': {'ordering': "('warehouse', 'order')", 'unique_together': "(('warehouse', 'division'),)", 'object_name': 'WarehouseDivisionLink'}, - 'division': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.WarehouseDivision']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '10'}), - 'warehouse': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Warehouse']"}) - }, - 'archaeological_warehouse.warehousetype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'WarehouseType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'auth.group': { - 'Meta': {'object_name': 'Group'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), - 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) - }, - 'auth.permission': { - 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, - 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) - }, - 'auth.user': { - 'Meta': {'object_name': 'User'}, - 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), - 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), - 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), - 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), - 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), - 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) - }, - 'contenttypes.contenttype': { - 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, - 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) - }, - 'ishtar_common.arrondissement': { - 'Meta': {'object_name': 'Arrondissement'}, - 'department': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Department']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}) - }, - 'ishtar_common.author': { - 'Meta': {'ordering': "('author_type__order', 'person__name')", 'object_name': 'Author'}, - 'author_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.AuthorType']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'author'", 'to': "orm['ishtar_common.Person']"}) - }, - 'ishtar_common.authortype': { - 'Meta': {'ordering': "['order', 'label']", 'object_name': 'AuthorType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.canton': { - 'Meta': {'object_name': 'Canton'}, - 'arrondissement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Arrondissement']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}) - }, - 'ishtar_common.department': { - 'Meta': {'ordering': "['number']", 'object_name': 'Department'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'number': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3'}), - 'state': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.State']", 'null': 'True', 'blank': 'True'}) - }, - 'ishtar_common.documenttemplate': { - 'Meta': {'ordering': "['associated_object_name', 'name']", 'object_name': 'DocumentTemplate'}, - 'associated_object_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'template': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}) - }, - 'ishtar_common.format': { - 'Meta': {'ordering': "['label']", 'object_name': 'Format'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.import': { - 'Meta': {'object_name': 'Import'}, - 'conservative_import': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'null': 'True', 'blank': 'True'}), - 'encoding': ('django.db.models.fields.CharField', [], {'default': "'utf-8'", 'max_length': '15'}), - 'end_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}), - 'error_file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imported_file': ('django.db.models.fields.files.FileField', [], {'max_length': '220'}), - 'imported_images': ('django.db.models.fields.files.FileField', [], {'max_length': '220', 'null': 'True', 'blank': 'True'}), - 'importer_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.ImporterType']"}), - 'match_file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}), - 'result_file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}), - 'seconds_remaining': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), - 'skip_lines': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'state': ('django.db.models.fields.CharField', [], {'default': "'C'", 'max_length': '2'}), - 'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.IshtarUser']"}) - }, - 'ishtar_common.importermodel': { - 'Meta': {'ordering': "('name',)", 'object_name': 'ImporterModel'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'klass': ('django.db.models.fields.CharField', [], {'max_length': '200'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}) - }, - 'ishtar_common.importertype': { - 'Meta': {'ordering': "('name',)", 'object_name': 'ImporterType'}, - 'associated_models': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.ImporterModel']"}), - 'created_models': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.ImporterModel']"}), - 'description': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'is_template': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'slug': ('django.db.models.fields.SlugField', [], {'max_length': '100', 'unique': 'True', 'null': 'True', 'blank': 'True'}), - 'unicity_keys': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}), - 'users': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['ishtar_common.IshtarUser']", 'null': 'True', 'blank': 'True'}) - }, - 'ishtar_common.ishtaruser': { - 'Meta': {'object_name': 'IshtarUser', '_ormbases': ['auth.User']}, - 'advanced_shortcut_menu': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'person': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'ishtaruser'", 'unique': 'True', 'to': "orm['ishtar_common.Person']"}), - 'user_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['auth.User']", 'unique': 'True', 'primary_key': 'True'}) - }, - 'ishtar_common.operationtype': { - 'Meta': {'ordering': "['-preventive', 'order', 'label']", 'object_name': 'OperationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '1'}), - 'preventive': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.organization': { - 'Meta': {'object_name': 'Organization'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address_is_prefered': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'alt_country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'alt_postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'alt_town': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}), - 'archived': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_ishtar_common_organization'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'merge_candidate': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'merge_candidate_rel_+'", 'null': 'True', 'to': "orm['ishtar_common.Organization']"}), - 'merge_exclusion': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'merge_exclusion_rel_+'", 'null': 'True', 'to': "orm['ishtar_common.Organization']"}), - 'merge_key': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '500'}), - 'organization_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.OrganizationType']"}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone2': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone3': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone_desc': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'phone_desc2': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'phone_desc3': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'raw_phone': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'town': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}) - }, - 'ishtar_common.organizationtype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'OrganizationType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.person': { - 'Meta': {'object_name': 'Person'}, - 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'alt_address_is_prefered': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), - 'alt_country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'alt_postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'alt_town': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}), - 'archived': ('django.db.models.fields.NullBooleanField', [], {'default': 'False', 'null': 'True', 'blank': 'True'}), - 'attached_to': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'members'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['ishtar_common.Organization']"}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'contact_type': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), - 'email': ('django.db.models.fields.EmailField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'history_creator': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'on_delete': 'models.SET_NULL', 'to': "orm['auth.User']"}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_ishtar_common_person'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'merge_candidate': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'merge_candidate_rel_+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), - 'merge_exclusion': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'merge_exclusion_rel_+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), - 'merge_key': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'old_title': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}), - 'person_types': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.PersonType']", 'symmetrical': 'False'}), - 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone2': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone3': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), - 'phone_desc': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'phone_desc2': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'phone_desc3': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), - 'raw_name': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}), - 'raw_phone': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'salutation': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), - 'surname': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}), - 'title': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.TitleType']", 'null': 'True', 'blank': 'True'}), - 'town': ('django.db.models.fields.CharField', [], {'max_length': '70', 'null': 'True', 'blank': 'True'}) - }, - 'ishtar_common.persontype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'PersonType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['auth.Group']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.sourcetype': { - 'Meta': {'ordering': "['label']", 'object_name': 'SourceType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.spatialreferencesystem': { - 'Meta': {'ordering': "('label',)", 'object_name': 'SpatialReferenceSystem'}, - 'auth_name': ('django.db.models.fields.CharField', [], {'default': "'EPSG'", 'max_length': '256'}), - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'order': ('django.db.models.fields.IntegerField', [], {'default': '10'}), - 'srid': ('django.db.models.fields.IntegerField', [], {}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.state': { - 'Meta': {'ordering': "['number']", 'object_name': 'State'}, - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '30'}), - 'number': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3'}) - }, - 'ishtar_common.supporttype': { - 'Meta': {'object_name': 'SupportType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.titletype': { - 'Meta': {'ordering': "('label',)", 'object_name': 'TitleType'}, - 'available': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), - 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}) - }, - 'ishtar_common.town': { - 'Meta': {'ordering': "['numero_insee']", 'object_name': 'Town'}, - 'canton': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Canton']", 'null': 'True', 'blank': 'True'}), - 'center': ('django.contrib.gis.db.models.fields.PointField', [], {'srid': '27572', 'null': 'True', 'blank': 'True'}), - 'departement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Department']", 'null': 'True', 'blank': 'True'}), - 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), - 'imports': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'imported_ishtar_common_town'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['ishtar_common.Import']"}), - 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), - 'numero_insee': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '6'}), - 'surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) - } - } - - complete_apps = ['archaeological_finds']
\ No newline at end of file diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index 66059079b..b3a167a26 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -28,6 +28,7 @@ from django.db.models.signals import m2m_changed, post_save, post_delete, \ pre_delete from django.utils.translation import ugettext_lazy as _, ugettext +from ishtar_common.data_importer import post_importer_action, ImporterError from ishtar_common.utils import cached_label_changed, post_save_point from ishtar_common.models import GeneralType, ImageModel, BaseHistorizedItem, \ @@ -38,7 +39,8 @@ from ishtar_common.models import GeneralType, ImageModel, BaseHistorizedItem, \ from archaeological_operations.models import AdministrativeAct from archaeological_context_records.models import ContextRecord, Dating -from ishtar_common.models import PRIVATE_FIELDS, SpatialReferenceSystem +from ishtar_common.models import PRIVATE_FIELDS, SpatialReferenceSystem, \ + BulkUpdatedItem class MaterialType(GeneralType): @@ -148,7 +150,7 @@ class BFBulkView(object): """ -class BaseFind(BaseHistorizedItem, OwnPerms): +class BaseFind(BulkUpdatedItem, BaseHistorizedItem, OwnPerms): label = models.TextField(_(u"Free ID")) external_id = models.TextField(_(u"External ID"), blank=True, null=True) auto_external_id = models.BooleanField( @@ -182,7 +184,7 @@ class BaseFind(BaseHistorizedItem, OwnPerms): SpatialReferenceSystem, verbose_name=_(u"Spatial Reference System"), blank=True, null=True) point_2d = models.PointField(_(u"Point (2D)"), blank=True, null=True) - point = models.PointField(_(u"Point"), blank=True, null=True, dim=3) + point = models.PointField(_(u"Point (3D)"), blank=True, null=True, dim=3) line = models.LineStringField(_(u"Line"), blank=True, null=True) polygon = models.PolygonField(_(u"Polygon"), blank=True, null=True) cache_short_id = models.TextField( @@ -199,11 +201,11 @@ class BaseFind(BaseHistorizedItem, OwnPerms): verbose_name = _(u"Base find") verbose_name_plural = _(u"Base finds") permissions = ( - ("view_basefind", ugettext(u"Can view all Base finds")), - ("view_own_basefind", ugettext(u"Can view own Base find")), - ("add_own_basefind", ugettext(u"Can add own Base find")), - ("change_own_basefind", ugettext(u"Can change own Base find")), - ("delete_own_basefind", ugettext(u"Can delete own Base find")), + ("view_basefind", u"Can view all Base finds"), + ("view_own_basefind", u"Can view own Base find"), + ("add_own_basefind", u"Can add own Base find"), + ("change_own_basefind", u"Can change own Base find"), + ("delete_own_basefind", u"Can delete own Base find"), ) def __unicode__(self): @@ -224,12 +226,12 @@ class BaseFind(BaseHistorizedItem, OwnPerms): profile = get_current_profile() if profile.find_index == u'O': operation = self.context_record.operation - q = Find.objects \ - .filter(base_finds__context_record__operation=operation) + q = BaseFind.objects \ + .filter(context_record__operation=operation) elif profile.find_index == u'CR': cr = self.context_record - q = Find.objects \ - .filter(base_finds__context_record=cr) + q = BaseFind.objects \ + .filter(context_record=cr) else: return False if self.pk: @@ -350,7 +352,12 @@ class BaseFind(BaseHistorizedItem, OwnPerms): @classmethod def cached_label_bulk_update(cls, operation_id=None, parcel_id=None, - context_record_id=None): + context_record_id=None, transaction_id=None): + transaction_id, is_recursion = cls.bulk_recursion( + transaction_id, [operation_id, parcel_id, context_record_id]) + if is_recursion: + return + if operation_id: filters = """ INNER JOIN archaeological_context_records_contextrecord acr @@ -373,6 +380,7 @@ class BaseFind(BaseHistorizedItem, OwnPerms): kwargs = {'context_record_id': context_record_id} else: return + kwargs['transaction_id'] = transaction_id sql = """ UPDATE "archaeological_finds_basefind" AS bf @@ -450,12 +458,9 @@ class BaseFind(BaseHistorizedItem, OwnPerms): ope_prefix=settings.ISHTAR_DEF_OPE_PREFIX, join=settings.JOINT, filters=filters, zeros=settings.ISHTAR_FINDS_INDEX_ZERO_LEN * "0") - # with connection.cursor() as c: # django 1.8 - c = connection.cursor() - c.execute(sql, args) - transaction.commit_unless_managed() - cls._meta.get_field_by_name( - 'find')[0].model.cached_label_bulk_update(**kwargs) + with connection.cursor() as c: + c.execute(sql, args) + Find.cached_label_bulk_update(**kwargs) post_save.connect(post_save_point, sender=BaseFind) @@ -470,8 +475,7 @@ CHECK_CHOICES = (('NC', _(u"Not checked")), class FindBasket(Basket): - items = models.ManyToManyField('Find', blank=True, null=True, - related_name='basket') + items = models.ManyToManyField('Find', blank=True, related_name='basket') class FirstBaseFindView(object): @@ -510,8 +514,8 @@ class FBulkView(object): """ -class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, - ShortMenuItem): +class Find(BulkUpdatedItem, ValueGetter, BaseHistorizedItem, ImageModel, + OwnPerms, ShortMenuItem): CHECK_DICT = dict(CHECK_CHOICES) SHOW_URL = 'show-find' SLUG = 'find' @@ -636,7 +640,9 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, label = models.TextField(_(u"Free ID")) description = models.TextField(_(u"Description"), blank=True, null=True) material_types = models.ManyToManyField( - MaterialType, verbose_name=_(u"Material types"), related_name='finds') + MaterialType, verbose_name=_(u"Material types"), related_name='finds', + blank=True + ) conservatory_state = models.ForeignKey( ConservatoryState, verbose_name=_(u"Conservatory state"), blank=True, null=True, on_delete=models.SET_NULL) @@ -644,7 +650,7 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, blank=True, null=True) preservation_to_considers = models.ManyToManyField( PreservationType, verbose_name=_(u"Type of preservation to consider"), - related_name='finds') + related_name='finds', blank=True) volume = models.FloatField(_(u"Volume (l)"), blank=True, null=True) weight = models.FloatField(_(u"Weight (g)"), blank=True, null=True) weight_unit = models.CharField(_(u"Weight unit"), max_length=4, @@ -666,13 +672,15 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, is_complete = models.NullBooleanField(_(u"Is complete?"), blank=True, null=True) object_types = models.ManyToManyField( - ObjectType, verbose_name=_(u"Object types"), related_name='find') + ObjectType, verbose_name=_(u"Object types"), related_name='find', + blank=True + ) integrities = models.ManyToManyField( IntegrityType, verbose_name=_(u"Integrity / interest"), - related_name='find') + related_name='find', blank=True) remarkabilities = models.ManyToManyField( RemarkabilityType, verbose_name=_(u"Remarkability"), - related_name='find') + related_name='find', blank=True) min_number_of_individuals = models.IntegerField( _(u"Minimum number of individuals (MNI)"), blank=True, null=True) length = models.FloatField(_(u"Length (cm)"), blank=True, null=True) @@ -688,7 +696,7 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, null=True) previous_id = models.TextField(_(u"Previous ID"), blank=True, null=True) index = models.IntegerField(u"Index", default=0) - checked = models.CharField(_(u"Check"), max_length=2, default='NC', + checked = models.CharField(_(u"Check"), max_length=2, default=u'NC', choices=CHECK_CHOICES) check_date = models.DateField(_(u"Check date"), default=datetime.date.today) @@ -700,17 +708,16 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, cached_label = models.TextField(_(u"Cached name"), null=True, blank=True) history = HistoricalRecords() BASKET_MODEL = FindBasket - IMAGE_PREFIX = 'finds/' class Meta: verbose_name = _(u"Find") verbose_name_plural = _(u"Finds") permissions = ( - ("view_find", ugettext(u"Can view all Finds")), - ("view_own_find", ugettext(u"Can view own Find")), - ("add_own_find", ugettext(u"Can add own Find")), - ("change_own_find", ugettext(u"Can change own Find")), - ("delete_own_find", ugettext(u"Can delete own Find")), + ("view_find", u"Can view all Finds"), + ("view_own_find", u"Can view own Find"), + ("add_own_find", u"Can add own Find"), + ("change_own_find", u"Can change own Find"), + ("delete_own_find", u"Can delete own Find"), ) ordering = ('cached_label',) @@ -733,6 +740,11 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, return u" ; ".join([unicode(dating) for dating in self.datings.all()]) @property + def materials(self): + return u" ; ".join([unicode(material) + for material in self.material_types.all()]) + + @property def show_url(self): return reverse('show-find', args=[self.pk, '']) @@ -765,15 +777,43 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, return "00" return bf.short_id() + def _get_base_image_path(self): + bf = None + if self.id: + bf = self.get_first_base_find() + if not bf: + return u"detached/{}".format(self.SLUG) + ope = bf.context_record.operation + find_idx = u'{:0' + str(settings.ISHTAR_FINDS_INDEX_ZERO_LEN) + 'd}' + return (u"operation/{}/{}/{}/" + find_idx).format( + ope.year, ope.reference, self.SLUG, self.index) + @property def administrative_index(self): bf = self.get_first_base_find() if not bf or not bf.context_record or not bf.context_record.operation: return "" - return "{}-{}".format( + return u"{}-{}".format( bf.context_record.operation.get_reference(), self.index) + def context_records_lbl(self): + return u" - ".join( + [bf.context_record.cached_label for bf in self.base_finds.all()] + ) + context_records_lbl.short_description = _(u"Context record") + context_records_lbl.admin_order_field = \ + "base_finds__context_record__cached_label" + + def operations_lbl(self): + return u" - ".join( + [bf.context_record.operation.cached_label + for bf in self.base_finds.all()] + ) + operations_lbl.short_description = _(u"Operation") + operations_lbl.admin_order_field = \ + "base_finds__context_record__operation__cached_label" + def _get_treatments(self, model, rel='upstream', limit=None): treatments, findtreats = [], [] q = model.objects.filter( @@ -909,14 +949,14 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, return new @classmethod - def get_query_owns(cls, user): - return (Q(base_finds__context_record__operation__scientist=user. + def get_query_owns(cls, ishtaruser): + return (Q(base_finds__context_record__operation__scientist= ishtaruser.person) | - Q(base_finds__context_record__operation__in_charge=user. + Q(base_finds__context_record__operation__in_charge= ishtaruser.person) | - Q(base_finds__context_record__operation__collaborators__pk=user. + Q(base_finds__context_record__operation__collaborators__pk= ishtaruser.person.pk) | - Q(history_creator=user)) \ + Q(history_creator=ishtaruser.user_ptr)) \ & Q(base_finds__context_record__operation__end_date__isnull=True) @classmethod @@ -937,7 +977,12 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, @classmethod def cached_label_bulk_update(cls, operation_id=None, parcel_id=None, - context_record_id=None): + context_record_id=None, transaction_id=None): + transaction_id, is_recursion = cls.bulk_recursion( + transaction_id, [operation_id, parcel_id, context_record_id]) + if is_recursion: + return + if operation_id: filters = """ INNER JOIN find_first_base_find myfbf @@ -1007,10 +1052,82 @@ class Find(ValueGetter, BaseHistorizedItem, ImageModel, OwnPerms, ope_prefix=settings.ISHTAR_DEF_OPE_PREFIX, join=settings.JOINT, filters=filters, zeros=settings.ISHTAR_FINDS_INDEX_ZERO_LEN * "0") - # with connection.cursor() as c: # django 1.8 - c = connection.cursor() - c.execute(sql, args) - transaction.commit_unless_managed() + with connection.cursor() as c: + c.execute(sql, args) + + def get_localisation(self, place): + """ + Get localisation reference in the warehouse + + :param place: number of the localisation starting with 0 + :return: reference - empty string if not available + """ + if not self.container: + return "" + locas = self.container.get_localisations() + if len(locas) < (place + 1): + return "" + return locas[place] + + @property + def localisation_1(self): + return self.get_localisation(0) + + @property + def localisation_2(self): + return self.get_localisation(1) + + @property + def localisation_3(self): + return self.get_localisation(2) + + @property + def localisation_4(self): + return self.get_localisation(3) + + @property + def localisation_5(self): + return self.get_localisation(4) + + @property + def localisation_6(self): + return self.get_localisation(5) + + def set_localisation(self, place, context, value): + if not self.container: + raise ImporterError(_(u"No container have been set - the " + u"localisation cannot be set.")) + + localisation = self.container.set_localisation(place, value) + if not localisation: + raise ImporterError( + unicode(_(u"The division number {} have not been set " + u"for the warehouse {}.")).format( + place + 1, self.container.location)) + + @post_importer_action + def set_localisation_1(self, context, value): + return self.set_localisation(0, context, value) + + @post_importer_action + def set_localisation_2(self, context, value): + return self.set_localisation(1, context, value) + + @post_importer_action + def set_localisation_3(self, context, value): + return self.set_localisation(2, context, value) + + @post_importer_action + def set_localisation_4(self, context, value): + return self.set_localisation(3, context, value) + + @post_importer_action + def set_localisation_5(self, context, value): + return self.set_localisation(4, context, value) + + @post_importer_action + def set_localisation_6(self, context, value): + return self.set_localisation(5, context, value) def generate_index(self): """ @@ -1175,15 +1292,15 @@ class FindSource(Source): verbose_name_plural = _(u"Find documentations") permissions = ( ("view_findsource", - ugettext(u"Can view all Find sources")), + u"Can view all Find sources"), ("view_own_findsource", - ugettext(u"Can view own Find source")), + u"Can view own Find source"), ("add_own_findsource", - ugettext(u"Can add own Find source")), + u"Can add own Find source"), ("change_own_findsource", - ugettext(u"Can change own Find source")), + u"Can change own Find source"), ("delete_own_findsource", - ugettext(u"Can delete own Find source")), + u"Can delete own Find source"), ) find = models.ForeignKey(Find, verbose_name=_(u"Find"), related_name="source") @@ -1193,13 +1310,13 @@ class FindSource(Source): return self.find @classmethod - def get_query_owns(cls, user): - return (Q(find__base_finds__context_record__operation__scientist=user. + def get_query_owns(cls, ishtaruser): + return (Q(find__base_finds__context_record__operation__scientist= ishtaruser.person) | - Q(find__base_finds__context_record__operation__in_charge=user. + Q(find__base_finds__context_record__operation__in_charge= ishtaruser.person) | Q( - find__base_finds__context_record__operation__collaborators__pk=user. + find__base_finds__context_record__operation__collaborators__pk= ishtaruser.person.pk)) \ & Q( find__base_finds__context_record__operation__end_date__isnull=True) diff --git a/archaeological_finds/models_treatments.py b/archaeological_finds/models_treatments.py index 47f60bb44..866e218aa 100644 --- a/archaeological_finds/models_treatments.py +++ b/archaeological_finds/models_treatments.py @@ -27,7 +27,7 @@ from django.template.defaultfilters import slugify from django.utils.translation import ugettext_lazy as _, ugettext -from ishtar_common.utils import cached_label_changed +from ishtar_common.utils import cached_label_changed, get_current_year from ishtar_common.models import GeneralType, ImageModel, BaseHistorizedItem, \ OwnPerms, HistoricalRecords, Person, Organization, Source, \ ValueGetter, post_save_cache, ShortMenuItem, DashboardFormItem @@ -92,7 +92,6 @@ class Treatment(DashboardFormItem, ValueGetter, BaseHistorizedItem, "treatment_types__label": _(u"Type"), "treatment_state__label": _(u"State"), } - IMAGE_PREFIX = 'treatment' # extra keys than can be passed to save method EXTRA_SAVED_KEYS = ('items', 'user') SLUG = 'treatment' @@ -100,8 +99,7 @@ class Treatment(DashboardFormItem, ValueGetter, BaseHistorizedItem, max_length=200) other_reference = models.CharField(_(u"Other ref."), blank=True, null=True, max_length=200) - year = models.IntegerField(_(u"Year"), - default=lambda: datetime.datetime.now().year) + year = models.IntegerField(_(u"Year"), default=get_current_year) index = models.IntegerField(_(u"Index"), default=1) file = models.ForeignKey( 'TreatmentFile', related_name='treatments', blank=True, null=True, @@ -149,11 +147,11 @@ class Treatment(DashboardFormItem, ValueGetter, BaseHistorizedItem, verbose_name_plural = _(u"Treatments") unique_together = ('year', 'index') permissions = ( - ("view_treatment", ugettext(u"Can view all Treatments")), - ("view_own_treatment", ugettext(u"Can view own Treatment")), - ("add_own_treatment", ugettext(u"Can add own Treatment")), - ("change_own_treatment", ugettext(u"Can change own Treatment")), - ("delete_own_treatment", ugettext(u"Can delete own Treatment")), + ("view_treatment", u"Can view all Treatments"), + ("view_own_treatment", u"Can view own Treatment"), + ("add_own_treatment", u"Can add own Treatment"), + ("change_own_treatment", u"Can change own Treatment"), + ("delete_own_treatment", u"Can delete own Treatment"), ) def __unicode__(self): @@ -168,9 +166,9 @@ class Treatment(DashboardFormItem, ValueGetter, BaseHistorizedItem, return _(u"TREATMENT") @classmethod - def get_query_owns(cls, user): - return (Q(history_creator=user) | - Q(person__ishtaruser=user.ishtaruser)) \ + def get_query_owns(cls, ishtaruser): + return (Q(history_creator=ishtaruser.user_ptr) | + Q(person__ishtaruser=ishtaruser)) \ & Q(end_date__isnull=True) @classmethod @@ -203,12 +201,36 @@ class Treatment(DashboardFormItem, ValueGetter, BaseHistorizedItem, getattr(self, k)] return u'{} | {}'.format(u"-".join(items), self.treatment_types_lbl()) + def _get_base_image_path(self,): + return u"treatment/{}/{}".format( + self.year, self.index) + def treatment_types_lbl(self): """ Treatment types label :return: string """ return u" ; ".join([unicode(t) for t in self.treatment_types.all()]) + treatment_types_lbl.short_description = _(u"Treatment types") + treatment_types_lbl.admin_order_field = 'treatment_types__label' + + def downstream_lbl(self): + """ + Downstream finds label + :return: string + """ + return u" ; ".join([f.cached_label for f in self.downstream.all()]) + downstream_lbl.short_description = _(u"Downstream finds") + downstream_lbl.admin_order_field = 'downstream__cached_label' + + def upstream_lbl(self): + """ + Upstream finds label + :return: string + """ + return u" ; ".join([f.cached_label for f in self.upstream.all()]) + upstream_lbl.short_description = _(u"Upstream finds") + upstream_lbl.admin_order_field = 'upstream__cached_label' def get_values(self, prefix=''): values = super(Treatment, self).get_values(prefix=prefix) @@ -297,8 +319,8 @@ pre_delete.connect(pre_delete_treatment, sender=Treatment) class AbsFindTreatments(models.Model): find = models.ForeignKey(Find, verbose_name=_(u"Find"), related_name='%(class)s_related') - treatment = models.ForeignKey(Treatment, verbose_name=_(u"Treatment"), - primary_key=True) + treatment = models.OneToOneField(Treatment, verbose_name=_(u"Treatment"), + primary_key=True) # primary_key is set to prevent django to ask for an id column # treatment is not a primary key treatment_nb = models.IntegerField(_(u"Order")) @@ -480,8 +502,7 @@ class TreatmentFile(DashboardFormItem, ClosedItem, BaseHistorizedItem, SLUG = 'treatmentfile' # fields - year = models.IntegerField(_(u"Year"), - default=lambda: datetime.datetime.now().year) + year = models.IntegerField(_(u"Year"), default=get_current_year) index = models.IntegerField(_(u"Index"), default=1) internal_reference = models.CharField(_(u"Internal reference"), blank=True, null=True, max_length=200) @@ -518,21 +539,21 @@ class TreatmentFile(DashboardFormItem, ClosedItem, BaseHistorizedItem, unique_together = ('year', 'index') permissions = ( ("view_filetreatment", - ugettext(u"Can view all Treatment requests")), + u"Can view all Treatment requests"), ("add_filetreatment", - ugettext(u"Can add Treatment request")), + u"Can add Treatment request"), ("change_filetreatment", - ugettext(u"Can change Treatment request")), + u"Can change Treatment request"), ("delete_filetreatment", - ugettext(u"Can delete Treatment request")), + u"Can delete Treatment request"), ("view_own_filetreatment", - ugettext(u"Can view own Treatment request")), + u"Can view own Treatment request"), ("add_own_filetreatment", - ugettext(u"Can add own Treatment request")), + u"Can add own Treatment request"), ("change_own_filetreatment", - ugettext(u"Can change own Treatment request")), + u"Can change own Treatment request"), ("delete_own_filetreatment", - ugettext(u"Can delete own Treatment request")), + u"Can delete own Treatment request"), ) ordering = ('cached_label',) @@ -544,9 +565,9 @@ class TreatmentFile(DashboardFormItem, ClosedItem, BaseHistorizedItem, return _(u"Treatment request") @classmethod - def get_query_owns(cls, user): - return (Q(history_creator=user) | - Q(in_charge__ishtaruser=user.ishtaruser)) \ + def get_query_owns(cls, ishtaruser): + return (Q(history_creator=ishtaruser.user_ptr) | + Q(in_charge__ishtaruser=ishtaruser)) \ & Q(end_date__isnull=True) @property @@ -598,21 +619,25 @@ class TreatmentSource(Source): verbose_name_plural = _(u"Treament documentations") permissions = ( ("view_treatmentsource", - ugettext(u"Can view all Treatment sources")), + u"Can view all Treatment sources"), ("view_own_treatmentsource", - ugettext(u"Can view own Treatment source")), + u"Can view own Treatment source"), ("add_own_treatmentsource", - ugettext(u"Can add own Treatment source")), + u"Can add own Treatment source"), ("change_own_treatmentsource", - ugettext(u"Can change own Treatment source")), + u"Can change own Treatment source"), ("delete_own_treatmentsource", - ugettext(u"Can delete own Treatment source")), + u"Can delete own Treatment source"), ) @property def owner(self): return self.treatment + def _get_base_image_path(self): + return u"treatment/{}/{}/source".format( + self.treatment.year, self.treatment.index) + class TreatmentFileSource(Source): treatment_file = models.ForeignKey( @@ -628,17 +653,21 @@ class TreatmentFileSource(Source): verbose_name_plural = _(u"Treatment request documentations") permissions = ( ("view_filetreatmentsource", - ugettext(u"Can view Treatment request source")), + u"Can view Treatment request source"), ("view_own_filetreatmentsource", - ugettext(u"Can view own Treatment request source")), + u"Can view own Treatment request source"), ("add_own_filetreatmentsource", - ugettext(u"Can add own Treatment request source")), + u"Can add own Treatment request source"), ("change_own_filetreatmentsource", - ugettext(u"Can change own Treatment request source")), + u"Can change own Treatment request source"), ("delete_own_filetreatmentsource", - ugettext(u"Can delete own Treatment request source")), + u"Can delete own Treatment request source"), ) @property def owner(self): return self.treatment_file + + def _get_base_image_path(self): + return u"treatmentfile/{}/{}/source".format( + self.treatment_file.year, self.treatment_file.index) diff --git a/archaeological_finds/old_migrations/0001_initial.py b/archaeological_finds/old_migrations/0001_initial.py new file mode 100644 index 000000000..d5f3e804a --- /dev/null +++ b/archaeological_finds/old_migrations/0001_initial.py @@ -0,0 +1,814 @@ +# -*- coding: utf-8 -*- +import datetime +from south.db import db +from south.v2 import SchemaMigration +from django.db import models + + +class Migration(SchemaMigration): + + depends_on = ( + ('archaeological_context_records', '0001_initial.py'), + ('archaeological_warehouse', + '0011_auto__add_containerlocalisation__add_unique_containerlocalisation_cont.py'), + ) + + def forwards(self, orm): + # Adding model 'MaterialType' + db.create_table('archaeological_finds_materialtype', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('label', self.gf('django.db.models.fields.CharField')(max_length=100)), + ('txt_idx', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), + ('comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('available', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('recommendation', self.gf('django.db.models.fields.TextField')()), + ('parent', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.MaterialType'], null=True, blank=True)), + )) + db.send_create_signal('archaeological_finds', ['MaterialType']) + + # Adding model 'HistoricalBaseFind' + db.create_table('archaeological_finds_historicalbasefind', ( + ('id', self.gf('django.db.models.fields.IntegerField')(db_index=True, blank=True)), + ('history_modifier_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), + ('description', self.gf('django.db.models.fields.TextField')()), + ('context_record_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('is_isolated', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('index', self.gf('django.db.models.fields.IntegerField')(default=0)), + ('material_index', self.gf('django.db.models.fields.IntegerField')(default=0)), + ('history_id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('history_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('history_user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True)), + ('history_type', self.gf('django.db.models.fields.CharField')(max_length=1)), + )) + db.send_create_signal('archaeological_finds', ['HistoricalBaseFind']) + + # Adding model 'BaseFind' + db.create_table('archaeological_finds_basefind', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), + ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), + ('description', self.gf('django.db.models.fields.TextField')()), + ('context_record', self.gf('django.db.models.fields.related.ForeignKey')(related_name='base_finds', to=orm['archaeological_context_records.ContextRecord'])), + ('is_isolated', self.gf('django.db.models.fields.NullBooleanField')(null=True, blank=True)), + ('index', self.gf('django.db.models.fields.IntegerField')(default=0)), + ('material_index', self.gf('django.db.models.fields.IntegerField')(default=0)), + )) + db.send_create_signal('archaeological_finds', ['BaseFind']) + + # Adding model 'HistoricalFind' + db.create_table('archaeological_finds_historicalfind', ( + ('id', self.gf('django.db.models.fields.IntegerField')(db_index=True, blank=True)), + ('history_modifier_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('order', self.gf('django.db.models.fields.IntegerField')()), + ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), + ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('material_type_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('volume', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), + ('weight', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), + ('find_number', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), + ('upstream_treatment_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('downstream_treatment_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('dating_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('container_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('history_id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('history_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('history_user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True)), + ('history_type', self.gf('django.db.models.fields.CharField')(max_length=1)), + )) + db.send_create_signal('archaeological_finds', ['HistoricalFind']) + + # Adding model 'Find' + db.create_table('archaeological_finds_find', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), + ('order', self.gf('django.db.models.fields.IntegerField')()), + ('label', self.gf('django.db.models.fields.CharField')(max_length=60)), + ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('material_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.MaterialType'])), + ('volume', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), + ('weight', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)), + ('find_number', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)), + ('upstream_treatment', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='downstream_treatment', null=True, to=orm['archaeological_finds.Treatment'])), + ('downstream_treatment', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='upstream_treatment', null=True, to=orm['archaeological_finds.Treatment'])), + ('dating', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_context_records.Dating'])), + ('container', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='finds', null=True, to=orm['archaeological_warehouse.Container'])), + )) + db.send_create_signal('archaeological_finds', ['Find']) + + # Adding M2M table for field base_finds on 'Find' + db.create_table('archaeological_finds_find_base_finds', ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('find', models.ForeignKey(orm['archaeological_finds.find'], null=False)), + ('basefind', models.ForeignKey(orm['archaeological_finds.basefind'], null=False)) + )) + db.create_unique('archaeological_finds_find_base_finds', ['find_id', 'basefind_id']) + + # Adding model 'FindSource' + db.create_table('archaeological_finds_findsource', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=200)), + ('source_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.SourceType'])), + ('associated_url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), + ('receipt_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('creation_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('find', self.gf('django.db.models.fields.related.ForeignKey')(related_name='source', to=orm['archaeological_finds.Find'])), + )) + db.send_create_signal('archaeological_finds', ['FindSource']) + + # Adding M2M table for field authors on 'FindSource' + db.create_table('archaeological_finds_findsource_authors', ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('findsource', models.ForeignKey(orm['archaeological_finds.findsource'], null=False)), + ('author', models.ForeignKey(orm['ishtar_common.author'], null=False)) + )) + db.create_unique('archaeological_finds_findsource_authors', ['findsource_id', 'author_id']) + + # Adding model 'TreatmentType' + db.create_table('archaeological_finds_treatmenttype', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('label', self.gf('django.db.models.fields.CharField')(max_length=100)), + ('txt_idx', self.gf('django.db.models.fields.CharField')(unique=True, max_length=30)), + ('comment', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('available', self.gf('django.db.models.fields.BooleanField')(default=False)), + ('virtual', self.gf('django.db.models.fields.BooleanField')(default=False)), + )) + db.send_create_signal('archaeological_finds', ['TreatmentType']) + + # Adding model 'HistoricalTreatment' + db.create_table('archaeological_finds_historicaltreatment', ( + ('id', self.gf('django.db.models.fields.IntegerField')(db_index=True, blank=True)), + ('history_modifier_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('container_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('treatment_type_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('location_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('person_id', self.gf('django.db.models.fields.IntegerField')(db_index=True, null=True, blank=True)), + ('start_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('history_id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('history_date', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)), + ('history_user', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['auth.User'], null=True)), + ('history_type', self.gf('django.db.models.fields.CharField')(max_length=1)), + )) + db.send_create_signal('archaeological_finds', ['HistoricalTreatment']) + + # Adding model 'Treatment' + db.create_table('archaeological_finds_treatment', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), + ('container', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_warehouse.Container'], null=True, blank=True)), + ('description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)), + ('treatment_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.TreatmentType'])), + ('location', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_warehouse.Warehouse'], null=True, blank=True)), + ('person', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.Person'], null=True, blank=True)), + ('start_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + )) + db.send_create_signal('archaeological_finds', ['Treatment']) + + # Adding model 'TreatmentSource' + db.create_table('archaeological_finds_treatmentsource', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('title', self.gf('django.db.models.fields.CharField')(max_length=200)), + ('source_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.SourceType'])), + ('associated_url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)), + ('receipt_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('creation_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)), + ('treatment', self.gf('django.db.models.fields.related.ForeignKey')(related_name='source', to=orm['archaeological_finds.Treatment'])), + )) + db.send_create_signal('archaeological_finds', ['TreatmentSource']) + + # Adding M2M table for field authors on 'TreatmentSource' + db.create_table('archaeological_finds_treatmentsource_authors', ( + ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)), + ('treatmentsource', models.ForeignKey(orm['archaeological_finds.treatmentsource'], null=False)), + ('author', models.ForeignKey(orm['ishtar_common.author'], null=False)) + )) + db.create_unique('archaeological_finds_treatmentsource_authors', ['treatmentsource_id', 'author_id']) + + # Adding model 'Property' + db.create_table('archaeological_finds_property', ( + ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), + ('history_modifier', self.gf('django.db.models.fields.related.ForeignKey')(related_name='+', to=orm['auth.User'])), + ('history_date', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now)), + ('find', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_finds.Find'])), + ('administrative_act', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['archaeological_operations.AdministrativeAct'])), + ('person', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['ishtar_common.Person'])), + ('start_date', self.gf('django.db.models.fields.DateField')()), + ('end_date', self.gf('django.db.models.fields.DateField')()), + )) + db.send_create_signal('archaeological_finds', ['Property']) + + + def backwards(self, orm): + # Deleting model 'MaterialType' + db.delete_table('archaeological_finds_materialtype') + + # Deleting model 'HistoricalBaseFind' + db.delete_table('archaeological_finds_historicalbasefind') + + # Deleting model 'BaseFind' + db.delete_table('archaeological_finds_basefind') + + # Deleting model 'HistoricalFind' + db.delete_table('archaeological_finds_historicalfind') + + # Deleting model 'Find' + db.delete_table('archaeological_finds_find') + + # Removing M2M table for field base_finds on 'Find' + db.delete_table('archaeological_finds_find_base_finds') + + # Deleting model 'FindSource' + db.delete_table('archaeological_finds_findsource') + + # Removing M2M table for field authors on 'FindSource' + db.delete_table('archaeological_finds_findsource_authors') + + # Deleting model 'TreatmentType' + db.delete_table('archaeological_finds_treatmenttype') + + # Deleting model 'HistoricalTreatment' + db.delete_table('archaeological_finds_historicaltreatment') + + # Deleting model 'Treatment' + db.delete_table('archaeological_finds_treatment') + + # Deleting model 'TreatmentSource' + db.delete_table('archaeological_finds_treatmentsource') + + # Removing M2M table for field authors on 'TreatmentSource' + db.delete_table('archaeological_finds_treatmentsource_authors') + + # Deleting model 'Property' + db.delete_table('archaeological_finds_property') + + + models = { + 'archaeological_context_records.activitytype': { + 'Meta': {'object_name': 'ActivityType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'order': ('django.db.models.fields.IntegerField', [], {}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_context_records.contextrecord': { + 'Meta': {'object_name': 'ContextRecord'}, + 'activity': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.ActivityType']", 'null': 'True', 'blank': 'True'}), + 'datings': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_context_records.Dating']", 'symmetrical': 'False'}), + 'depth': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'filling': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'has_furniture': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'identification': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.IdentificationType']", 'null': 'True', 'blank': 'True'}), + 'interpretation': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'length': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'location': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'operation': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'context_record'", 'to': "orm['archaeological_operations.Operation']"}), + 'parcel': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'context_record'", 'to': "orm['archaeological_operations.Parcel']"}), + 'taq': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'taq_estimated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'thickness': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'tpq': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'tpq_estimated': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'unit': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['archaeological_context_records.Unit']"}), + 'width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_context_records.dating': { + 'Meta': {'object_name': 'Dating'}, + 'dating_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.DatingType']", 'null': 'True', 'blank': 'True'}), + 'end_date': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'period': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.Period']"}), + 'quality': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.DatingQuality']", 'null': 'True', 'blank': 'True'}), + 'start_date': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_context_records.datingquality': { + 'Meta': {'object_name': 'DatingQuality'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_context_records.datingtype': { + 'Meta': {'object_name': 'DatingType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_context_records.identificationtype': { + 'Meta': {'object_name': 'IdentificationType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'order': ('django.db.models.fields.IntegerField', [], {}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_context_records.unit': { + 'Meta': {'object_name': 'Unit'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'order': ('django.db.models.fields.IntegerField', [], {}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.Unit']", 'null': 'True', 'blank': 'True'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_files.file': { + 'Meta': {'ordering': "['-year', '-numeric_reference']", 'object_name': 'File'}, + 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'creation_date': ('django.db.models.fields.DateField', [], {'default': 'datetime.date.today'}), + 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'file_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.FileType']"}), + 'general_contractor': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['ishtar_common.Person']"}), + 'internal_reference': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '60'}), + 'numeric_reference': ('django.db.models.fields.IntegerField', [], {}), + 'permit_reference': ('django.db.models.fields.CharField', [], {'max_length': '60', 'null': 'True', 'blank': 'True'}), + 'permit_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.PermitType']", 'null': 'True', 'blank': 'True'}), + 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), + 'reception_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'reference_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'related_file': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.File']", 'null': 'True', 'blank': 'True'}), + 'saisine_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_files.SaisineType']", 'null': 'True', 'blank': 'True'}), + 'total_developed_surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'total_surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'town_planning_service': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Organization']"}), + 'towns': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'file'", 'symmetrical': 'False', 'to': "orm['ishtar_common.Town']"}), + 'year': ('django.db.models.fields.IntegerField', [], {'default': '2012'}) + }, + 'archaeological_files.filetype': { + 'Meta': {'object_name': 'FileType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_files.permittype': { + 'Meta': {'object_name': 'PermitType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_files.saisinetype': { + 'Meta': {'object_name': 'SaisineType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'delay': ('django.db.models.fields.IntegerField', [], {}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_finds.basefind': { + 'Meta': {'object_name': 'BaseFind'}, + 'context_record': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'base_finds'", 'to': "orm['archaeological_context_records.ContextRecord']"}), + 'description': ('django.db.models.fields.TextField', [], {}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), + 'is_isolated': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), + 'material_index': ('django.db.models.fields.IntegerField', [], {'default': '0'}) + }, + 'archaeological_finds.find': { + 'Meta': {'object_name': 'Find'}, + 'base_finds': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'find'", 'symmetrical': 'False', 'to': "orm['archaeological_finds.BaseFind']"}), + 'container': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'finds'", 'null': 'True', 'to': "orm['archaeological_warehouse.Container']"}), + 'dating': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_context_records.Dating']"}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'downstream_treatment': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'upstream_treatment'", 'null': 'True', 'to': "orm['archaeological_finds.Treatment']"}), + 'find_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), + 'material_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.MaterialType']"}), + 'order': ('django.db.models.fields.IntegerField', [], {}), + 'upstream_treatment': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'downstream_treatment'", 'null': 'True', 'to': "orm['archaeological_finds.Treatment']"}), + 'volume': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), + 'weight': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_finds.findsource': { + 'Meta': {'object_name': 'FindSource'}, + 'associated_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'authors': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.Author']", 'symmetrical': 'False'}), + 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'find': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source'", 'to': "orm['archaeological_finds.Find']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'receipt_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'source_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SourceType']"}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}) + }, + 'archaeological_finds.historicalbasefind': { + 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalBaseFind'}, + 'context_record_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {}), + 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), + 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), + 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), + 'index': ('django.db.models.fields.IntegerField', [], {'default': '0'}), + 'is_isolated': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), + 'material_index': ('django.db.models.fields.IntegerField', [], {'default': '0'}) + }, + 'archaeological_finds.historicalfind': { + 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalFind'}, + 'container_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'dating_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'downstream_treatment_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'find_number': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), + 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), + 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '60'}), + 'material_type_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'order': ('django.db.models.fields.IntegerField', [], {}), + 'upstream_treatment_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'volume': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), + 'weight': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_finds.historicaltreatment': { + 'Meta': {'ordering': "('-history_date', '-history_id')", 'object_name': 'HistoricalTreatment'}, + 'container_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'history_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), + 'history_id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'history_modifier_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'history_type': ('django.db.models.fields.CharField', [], {'max_length': '1'}), + 'history_user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}), + 'id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'blank': 'True'}), + 'location_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'person_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}), + 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'treatment_type_id': ('django.db.models.fields.IntegerField', [], {'db_index': 'True', 'null': 'True', 'blank': 'True'}) + }, + 'archaeological_finds.materialtype': { + 'Meta': {'object_name': 'MaterialType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.MaterialType']", 'null': 'True', 'blank': 'True'}), + 'recommendation': ('django.db.models.fields.TextField', [], {}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_finds.property': { + 'Meta': {'object_name': 'Property'}, + 'administrative_act': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.AdministrativeAct']"}), + 'end_date': ('django.db.models.fields.DateField', [], {}), + 'find': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.Find']"}), + 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']"}), + 'start_date': ('django.db.models.fields.DateField', [], {}) + }, + 'archaeological_finds.treatment': { + 'Meta': {'object_name': 'Treatment'}, + 'container': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Container']", 'null': 'True', 'blank': 'True'}), + 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Warehouse']", 'null': 'True', 'blank': 'True'}), + 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']", 'null': 'True', 'blank': 'True'}), + 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'treatment_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_finds.TreatmentType']"}) + }, + 'archaeological_finds.treatmentsource': { + 'Meta': {'object_name': 'TreatmentSource'}, + 'associated_url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}), + 'authors': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.Author']", 'symmetrical': 'False'}), + 'creation_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'receipt_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'source_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.SourceType']"}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'treatment': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'source'", 'to': "orm['archaeological_finds.Treatment']"}) + }, + 'archaeological_finds.treatmenttype': { + 'Meta': {'object_name': 'TreatmentType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), + 'virtual': ('django.db.models.fields.BooleanField', [], {'default': 'False'}) + }, + 'archaeological_operations.acttype': { + 'Meta': {'object_name': 'ActType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'intented_to': ('django.db.models.fields.CharField', [], {'max_length': '1'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_operations.administrativeact': { + 'Meta': {'object_name': 'AdministrativeAct'}, + 'act_object': ('django.db.models.fields.CharField', [], {'max_length': '200'}), + 'act_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.ActType']"}), + 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), + 'operation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'administrative_act'", 'null': 'True', 'to': "orm['archaeological_operations.Operation']"}), + 'operator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Organization']", 'null': 'True', 'blank': 'True'}), + 'ref_sra': ('django.db.models.fields.CharField', [], {'max_length': '15'}), + 'scientific': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), + 'signatory': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), + 'signature_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_operations.operation': { + 'Meta': {'object_name': 'Operation'}, + 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'operations'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), + 'code_dracar': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), + 'code_patriarche': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'common_name': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}), + 'cost': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'effective_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'excavation_end_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'fnap_cost': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'fnap_financing': ('django.db.models.fields.FloatField', [], {'null': 'True', 'blank': 'True'}), + 'geoarchaeological_context_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'in_charge': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': "orm['ishtar_common.Person']"}), + 'large_area_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}), + 'operation_code': ('django.db.models.fields.IntegerField', [], {}), + 'operation_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['archaeological_operations.OperationType']"}), + 'operator_reference': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}), + 'optional_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'periods': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_operations.Period']", 'symmetrical': 'False'}), + 'remains': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['archaeological_operations.RemainType']", 'symmetrical': 'False'}), + 'scheduled_man_days': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'start_date': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}), + 'surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'towns': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.Town']", 'symmetrical': 'False'}), + 'year': ('django.db.models.fields.IntegerField', [], {}), + 'zoning_prescription': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_operations.operationtype': { + 'Meta': {'object_name': 'OperationType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_operations.parcel': { + 'Meta': {'object_name': 'Parcel'}, + 'associated_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'parcels'", 'null': 'True', 'to': "orm['archaeological_files.File']"}), + 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'operation': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'parcels'", 'null': 'True', 'to': "orm['archaeological_operations.Operation']"}), + 'parcel_number': ('django.db.models.fields.CharField', [], {'max_length': '6'}), + 'section': ('django.db.models.fields.CharField', [], {'max_length': '4'}), + 'town': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'parcels'", 'to': "orm['ishtar_common.Town']"}), + 'year': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_operations.period': { + 'Meta': {'object_name': 'Period'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'end_date': ('django.db.models.fields.IntegerField', [], {}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'order': ('django.db.models.fields.IntegerField', [], {}), + 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_operations.Period']", 'null': 'True', 'blank': 'True'}), + 'start_date': ('django.db.models.fields.IntegerField', [], {}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_operations.remaintype': { + 'Meta': {'object_name': 'RemainType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'archaeological_warehouse.container': { + 'Meta': {'object_name': 'Container'}, + 'comment': ('django.db.models.fields.TextField', [], {}), + 'container_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.ContainerType']"}), + 'history_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.Warehouse']"}), + 'reference': ('django.db.models.fields.CharField', [], {'max_length': '40'}) + }, + 'archaeological_warehouse.containertype': { + 'Meta': {'object_name': 'ContainerType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'length': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'reference': ('django.db.models.fields.CharField', [], {'max_length': '30'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}), + 'volume': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}), + 'width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) + }, + 'archaeological_warehouse.warehouse': { + 'Meta': {'object_name': 'Warehouse'}, + 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '40'}), + 'person_in_charge': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']", 'null': 'True', 'blank': 'True'}), + 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), + 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), + 'town': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), + 'warehouse_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['archaeological_warehouse.WarehouseType']"}) + }, + 'archaeological_warehouse.warehousetype': { + 'Meta': {'object_name': 'WarehouseType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'auth.group': { + 'Meta': {'object_name': 'Group'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}), + 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}) + }, + 'auth.permission': { + 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'}, + 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}) + }, + 'auth.user': { + 'Meta': {'object_name': 'User'}, + 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}), + 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), + 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), + 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}), + 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}), + 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}), + 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}), + 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'contenttypes.contenttype': { + 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"}, + 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}) + }, + 'ishtar_common.arrondissement': { + 'Meta': {'object_name': 'Arrondissement'}, + 'department': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Department']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}) + }, + 'ishtar_common.author': { + 'Meta': {'object_name': 'Author'}, + 'author_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.AuthorType']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'person': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Person']"}) + }, + 'ishtar_common.authortype': { + 'Meta': {'object_name': 'AuthorType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'ishtar_common.canton': { + 'Meta': {'object_name': 'Canton'}, + 'arrondissement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Arrondissement']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}) + }, + 'ishtar_common.department': { + 'Meta': {'ordering': "['number']", 'object_name': 'Department'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '30'}), + 'number': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '3'}) + }, + 'ishtar_common.organization': { + 'Meta': {'object_name': 'Organization'}, + 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'organization_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.OrganizationType']"}), + 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), + 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), + 'town': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}) + }, + 'ishtar_common.organizationtype': { + 'Meta': {'object_name': 'OrganizationType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'ishtar_common.person': { + 'Meta': {'object_name': 'Person'}, + 'address': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'address_complement': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'attached_to': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Organization']", 'null': 'True', 'blank': 'True'}), + 'country': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}), + 'email': ('django.db.models.fields.CharField', [], {'max_length': '40', 'null': 'True', 'blank': 'True'}), + 'history_modifier': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'+'", 'to': "orm['auth.User']"}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'mobile_phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '30'}), + 'person_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.PersonType']"}), + 'phone': ('django.db.models.fields.CharField', [], {'max_length': '18', 'null': 'True', 'blank': 'True'}), + 'postal_code': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}), + 'surname': ('django.db.models.fields.CharField', [], {'max_length': '20'}), + 'title': ('django.db.models.fields.CharField', [], {'max_length': '2'}), + 'town': ('django.db.models.fields.CharField', [], {'max_length': '30', 'null': 'True', 'blank': 'True'}) + }, + 'ishtar_common.persontype': { + 'Meta': {'object_name': 'PersonType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'rights': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['ishtar_common.WizardStep']", 'symmetrical': 'False'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'ishtar_common.sourcetype': { + 'Meta': {'object_name': 'SourceType'}, + 'available': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), + 'comment': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'label': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'txt_idx': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'}) + }, + 'ishtar_common.town': { + 'Meta': {'ordering': "['numero_insee']", 'object_name': 'Town'}, + 'canton': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Canton']", 'null': 'True', 'blank': 'True'}), + 'center': ('django.contrib.gis.db.models.fields.PointField', [], {'srid': '27572', 'null': 'True', 'blank': 'True'}), + 'departement': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Department']", 'null': 'True', 'blank': 'True'}), + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}), + 'numero_insee': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '6'}), + 'surface': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}) + }, + 'ishtar_common.wizard': { + 'Meta': {'ordering': "['url_name']", 'object_name': 'Wizard'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'url_name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '128'}) + }, + 'ishtar_common.wizardstep': { + 'Meta': {'ordering': "['wizard', 'order']", 'object_name': 'WizardStep'}, + 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), + 'name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), + 'order': ('django.db.models.fields.IntegerField', [], {}), + 'url_name': ('django.db.models.fields.CharField', [], {'max_length': '128'}), + 'wizard': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['ishtar_common.Wizard']"}) + } + } + + complete_apps = ['archaeological_finds'] diff --git a/archaeological_finds/migrations/0002_auto__add_field_findsource_reference__add_field_findsource_internal_re.py b/archaeological_finds/old_migrations/0002_auto__add_field_findsource_reference__add_field_findsource_internal_re.py index b98515edc..b98515edc 100644 --- a/archaeological_finds/migrations/0002_auto__add_field_findsource_reference__add_field_findsource_internal_re.py +++ b/archaeological_finds/old_migrations/0002_auto__add_field_findsource_reference__add_field_findsource_internal_re.py diff --git a/archaeological_finds/migrations/0003_auto__add_field_materialtype_code.py b/archaeological_finds/old_migrations/0003_auto__add_field_materialtype_code.py index 76b84a4bb..76b84a4bb 100644 --- a/archaeological_finds/migrations/0003_auto__add_field_materialtype_code.py +++ b/archaeological_finds/old_migrations/0003_auto__add_field_materialtype_code.py diff --git a/archaeological_finds/migrations/0004_auto__add_field_historicalfind_image__add_field_historicalfind_thumbna.py b/archaeological_finds/old_migrations/0004_auto__add_field_historicalfind_image__add_field_historicalfind_thumbna.py index d849b9e92..d849b9e92 100644 --- a/archaeological_finds/migrations/0004_auto__add_field_historicalfind_image__add_field_historicalfind_thumbna.py +++ b/archaeological_finds/old_migrations/0004_auto__add_field_historicalfind_image__add_field_historicalfind_thumbna.py diff --git a/archaeological_finds/migrations/0005_auto__add_conservatorystate__add_field_historicalfind_conservatory_sta.py b/archaeological_finds/old_migrations/0005_auto__add_conservatorystate__add_field_historicalfind_conservatory_sta.py index 9ad323a70..9ad323a70 100644 --- a/archaeological_finds/migrations/0005_auto__add_conservatorystate__add_field_historicalfind_conservatory_sta.py +++ b/archaeological_finds/old_migrations/0005_auto__add_conservatorystate__add_field_historicalfind_conservatory_sta.py diff --git a/archaeological_finds/migrations/0006_auto__add_field_historicalfind_history_creator_id__add_field_treatment.py b/archaeological_finds/old_migrations/0006_auto__add_field_historicalfind_history_creator_id__add_field_treatment.py index 11ec0c4f3..11ec0c4f3 100644 --- a/archaeological_finds/migrations/0006_auto__add_field_historicalfind_history_creator_id__add_field_treatment.py +++ b/archaeological_finds/old_migrations/0006_auto__add_field_historicalfind_history_creator_id__add_field_treatment.py diff --git a/archaeological_finds/migrations/0007_init_history_creator.py b/archaeological_finds/old_migrations/0007_init_history_creator.py index 8d0a5a583..8d0a5a583 100644 --- a/archaeological_finds/migrations/0007_init_history_creator.py +++ b/archaeological_finds/old_migrations/0007_init_history_creator.py diff --git a/archaeological_finds/migrations/0008_reinit_history_creator.py b/archaeological_finds/old_migrations/0008_reinit_history_creator.py index 38c05050e..38c05050e 100644 --- a/archaeological_finds/migrations/0008_reinit_history_creator.py +++ b/archaeological_finds/old_migrations/0008_reinit_history_creator.py diff --git a/archaeological_finds/migrations/0009_auto__chg_field_materialtype_recommendation__chg_field_treatment_perso.py b/archaeological_finds/old_migrations/0009_auto__chg_field_materialtype_recommendation__chg_field_treatment_perso.py index e2998e4a6..e2998e4a6 100644 --- a/archaeological_finds/migrations/0009_auto__chg_field_materialtype_recommendation__chg_field_treatment_perso.py +++ b/archaeological_finds/old_migrations/0009_auto__chg_field_materialtype_recommendation__chg_field_treatment_perso.py diff --git a/archaeological_finds/migrations/0010_auto__chg_field_treatment_history_creator__chg_field_treatment_history.py b/archaeological_finds/old_migrations/0010_auto__chg_field_treatment_history_creator__chg_field_treatment_history.py index 5067e113a..5067e113a 100644 --- a/archaeological_finds/migrations/0010_auto__chg_field_treatment_history_creator__chg_field_treatment_history.py +++ b/archaeological_finds/old_migrations/0010_auto__chg_field_treatment_history_creator__chg_field_treatment_history.py diff --git a/archaeological_finds/migrations/0011_auto__add_field_historicalfind_weight_unit__add_field_historicalfind_d.py b/archaeological_finds/old_migrations/0011_auto__add_field_historicalfind_weight_unit__add_field_historicalfind_d.py index 259f7e272..259f7e272 100644 --- a/archaeological_finds/migrations/0011_auto__add_field_historicalfind_weight_unit__add_field_historicalfind_d.py +++ b/archaeological_finds/old_migrations/0011_auto__add_field_historicalfind_weight_unit__add_field_historicalfind_d.py diff --git a/archaeological_finds/migrations/0012_auto__add_preservationtype__add_field_historicalfind_preservation_to_c.py b/archaeological_finds/old_migrations/0012_auto__add_preservationtype__add_field_historicalfind_preservation_to_c.py index 2604104d0..2604104d0 100644 --- a/archaeological_finds/migrations/0012_auto__add_preservationtype__add_field_historicalfind_preservation_to_c.py +++ b/archaeological_finds/old_migrations/0012_auto__add_preservationtype__add_field_historicalfind_preservation_to_c.py diff --git a/archaeological_finds/migrations/0013_auto__del_field_historicalfind_discovery_date__del_field_find_discover.py b/archaeological_finds/old_migrations/0013_auto__del_field_historicalfind_discovery_date__del_field_find_discover.py index 32d97b8fa..32d97b8fa 100644 --- a/archaeological_finds/migrations/0013_auto__del_field_historicalfind_discovery_date__del_field_find_discover.py +++ b/archaeological_finds/old_migrations/0013_auto__del_field_historicalfind_discovery_date__del_field_find_discover.py diff --git a/archaeological_finds/migrations/0014_auto__chg_field_find_dating.py b/archaeological_finds/old_migrations/0014_auto__chg_field_find_dating.py index 563f1c7cc..563f1c7cc 100644 --- a/archaeological_finds/migrations/0014_auto__chg_field_find_dating.py +++ b/archaeological_finds/old_migrations/0014_auto__chg_field_find_dating.py diff --git a/archaeological_finds/migrations/0015_auto__add_field_historicalfind_external_id__add_field_find_external_id.py b/archaeological_finds/old_migrations/0015_auto__add_field_historicalfind_external_id__add_field_find_external_id.py index 24aedfc1e..24aedfc1e 100644 --- a/archaeological_finds/migrations/0015_auto__add_field_historicalfind_external_id__add_field_find_external_id.py +++ b/archaeological_finds/old_migrations/0015_auto__add_field_historicalfind_external_id__add_field_find_external_id.py diff --git a/archaeological_finds/migrations/0016_auto__add_field_treatment_external_id__add_field_historicaltreatment_e.py b/archaeological_finds/old_migrations/0016_auto__add_field_treatment_external_id__add_field_historicaltreatment_e.py index ebb8c209b..ebb8c209b 100644 --- a/archaeological_finds/migrations/0016_auto__add_field_treatment_external_id__add_field_historicaltreatment_e.py +++ b/archaeological_finds/old_migrations/0016_auto__add_field_treatment_external_id__add_field_historicaltreatment_e.py diff --git a/archaeological_finds/migrations/0017_auto__add_field_findsource_external_id__add_field_treatmentsource_exte.py b/archaeological_finds/old_migrations/0017_auto__add_field_findsource_external_id__add_field_treatmentsource_exte.py index ddfcb927e..ddfcb927e 100644 --- a/archaeological_finds/migrations/0017_auto__add_field_findsource_external_id__add_field_treatmentsource_exte.py +++ b/archaeological_finds/old_migrations/0017_auto__add_field_findsource_external_id__add_field_treatmentsource_exte.py diff --git a/archaeological_finds/migrations/0018_auto.py b/archaeological_finds/old_migrations/0018_auto.py index 8ab73cf57..8ab73cf57 100644 --- a/archaeological_finds/migrations/0018_auto.py +++ b/archaeological_finds/old_migrations/0018_auto.py diff --git a/archaeological_finds/migrations/0019_auto__chg_field_preservationtype_txt_idx__chg_field_treatmenttype_txt_.py b/archaeological_finds/old_migrations/0019_auto__chg_field_preservationtype_txt_idx__chg_field_treatmenttype_txt_.py index 56331ba2a..56331ba2a 100644 --- a/archaeological_finds/migrations/0019_auto__chg_field_preservationtype_txt_idx__chg_field_treatmenttype_txt_.py +++ b/archaeological_finds/old_migrations/0019_auto__chg_field_preservationtype_txt_idx__chg_field_treatmenttype_txt_.py diff --git a/archaeological_finds/migrations/0020_auto__chg_field_historicalfind_weight_unit__chg_field_find_weight_unit.py b/archaeological_finds/old_migrations/0020_auto__chg_field_historicalfind_weight_unit__chg_field_find_weight_unit.py index 44ee3d608..44ee3d608 100644 --- a/archaeological_finds/migrations/0020_auto__chg_field_historicalfind_weight_unit__chg_field_find_weight_unit.py +++ b/archaeological_finds/old_migrations/0020_auto__chg_field_historicalfind_weight_unit__chg_field_find_weight_unit.py diff --git a/archaeological_finds/migrations/0021_auto__add_objecttype__add_field_historicalfind_is_complete__add_field_.py b/archaeological_finds/old_migrations/0021_auto__add_objecttype__add_field_historicalfind_is_complete__add_field_.py index 739266877..739266877 100644 --- a/archaeological_finds/migrations/0021_auto__add_objecttype__add_field_historicalfind_is_complete__add_field_.py +++ b/archaeological_finds/old_migrations/0021_auto__add_objecttype__add_field_historicalfind_is_complete__add_field_.py diff --git a/archaeological_finds/migrations/0022_auto__add_field_objecttype_parent.py b/archaeological_finds/old_migrations/0022_auto__add_field_objecttype_parent.py index deff19871..deff19871 100644 --- a/archaeological_finds/migrations/0022_auto__add_field_objecttype_parent.py +++ b/archaeological_finds/old_migrations/0022_auto__add_field_objecttype_parent.py diff --git a/archaeological_finds/migrations/0023_auto__del_field_historicalfind_heigth__add_field_historicalfind_height.py b/archaeological_finds/old_migrations/0023_auto__del_field_historicalfind_heigth__add_field_historicalfind_height.py index 74fc5a8f1..74fc5a8f1 100644 --- a/archaeological_finds/migrations/0023_auto__del_field_historicalfind_heigth__add_field_historicalfind_height.py +++ b/archaeological_finds/old_migrations/0023_auto__del_field_historicalfind_heigth__add_field_historicalfind_height.py diff --git a/archaeological_finds/migrations/0024_auto.py b/archaeological_finds/old_migrations/0024_auto.py index 5a64c5142..5a64c5142 100644 --- a/archaeological_finds/migrations/0024_auto.py +++ b/archaeological_finds/old_migrations/0024_auto.py diff --git a/archaeological_finds/migrations/0025_find_to_finds.py b/archaeological_finds/old_migrations/0025_find_to_finds.py index 30df3b583..30df3b583 100644 --- a/archaeological_finds/migrations/0025_find_to_finds.py +++ b/archaeological_finds/old_migrations/0025_find_to_finds.py diff --git a/archaeological_finds/migrations/0026_auto__del_field_historicalfind_material_type_id__del_field_find_materi.py b/archaeological_finds/old_migrations/0026_auto__del_field_historicalfind_material_type_id__del_field_find_materi.py index ad2471900..ad2471900 100644 --- a/archaeological_finds/migrations/0026_auto__del_field_historicalfind_material_type_id__del_field_find_materi.py +++ b/archaeological_finds/old_migrations/0026_auto__del_field_historicalfind_material_type_id__del_field_find_materi.py diff --git a/archaeological_finds/migrations/0027_auto__add_field_historicalfind_index__add_field_find_index.py b/archaeological_finds/old_migrations/0027_auto__add_field_historicalfind_index__add_field_find_index.py index b1457bd39..b1457bd39 100644 --- a/archaeological_finds/migrations/0027_auto__add_field_historicalfind_index__add_field_find_index.py +++ b/archaeological_finds/old_migrations/0027_auto__add_field_historicalfind_index__add_field_find_index.py diff --git a/archaeological_finds/migrations/0028_auto.py b/archaeological_finds/old_migrations/0028_auto.py index a74e99f50..a74e99f50 100644 --- a/archaeological_finds/migrations/0028_auto.py +++ b/archaeological_finds/old_migrations/0028_auto.py diff --git a/archaeological_finds/migrations/0029_dating_to_datings.py b/archaeological_finds/old_migrations/0029_dating_to_datings.py index a8af268f1..a8af268f1 100644 --- a/archaeological_finds/migrations/0029_dating_to_datings.py +++ b/archaeological_finds/old_migrations/0029_dating_to_datings.py diff --git a/archaeological_finds/migrations/0030_auto__del_field_historicalfind_dating_id__del_field_find_dating.py b/archaeological_finds/old_migrations/0030_auto__del_field_historicalfind_dating_id__del_field_find_dating.py index 08a05efbc..08a05efbc 100644 --- a/archaeological_finds/migrations/0030_auto__del_field_historicalfind_dating_id__del_field_find_dating.py +++ b/archaeological_finds/old_migrations/0030_auto__del_field_historicalfind_dating_id__del_field_find_dating.py diff --git a/archaeological_finds/migrations/0031_auto__add_field_historicalfind_dating_comment__add_field_find_dating_c.py b/archaeological_finds/old_migrations/0031_auto__add_field_historicalfind_dating_comment__add_field_find_dating_c.py index 0909d52fa..0909d52fa 100644 --- a/archaeological_finds/migrations/0031_auto__add_field_historicalfind_dating_comment__add_field_find_dating_c.py +++ b/archaeological_finds/old_migrations/0031_auto__add_field_historicalfind_dating_comment__add_field_find_dating_c.py diff --git a/archaeological_finds/migrations/0032_auto__add_field_historicalfind_checked__add_field_find_checked.py b/archaeological_finds/old_migrations/0032_auto__add_field_historicalfind_checked__add_field_find_checked.py index a8a28822a..a8a28822a 100644 --- a/archaeological_finds/migrations/0032_auto__add_field_historicalfind_checked__add_field_find_checked.py +++ b/archaeological_finds/old_migrations/0032_auto__add_field_historicalfind_checked__add_field_find_checked.py diff --git a/archaeological_finds/migrations/0033_auto__add_field_historicalfind_check_date__add_field_find_check_date.py b/archaeological_finds/old_migrations/0033_auto__add_field_historicalfind_check_date__add_field_find_check_date.py index 57d50bd22..57d50bd22 100644 --- a/archaeological_finds/migrations/0033_auto__add_field_historicalfind_check_date__add_field_find_check_date.py +++ b/archaeological_finds/old_migrations/0033_auto__add_field_historicalfind_check_date__add_field_find_check_date.py diff --git a/archaeological_finds/migrations/0034_auto__add_field_historicalbasefind_cache_short_id__add_field_historica.py b/archaeological_finds/old_migrations/0034_auto__add_field_historicalbasefind_cache_short_id__add_field_historica.py index 4e19f2a99..4e19f2a99 100644 --- a/archaeological_finds/migrations/0034_auto__add_field_historicalbasefind_cache_short_id__add_field_historica.py +++ b/archaeological_finds/old_migrations/0034_auto__add_field_historicalbasefind_cache_short_id__add_field_historica.py diff --git a/archaeological_finds/migrations/0035_auto.py b/archaeological_finds/old_migrations/0035_auto.py index d0f93c6a4..d0f93c6a4 100644 --- a/archaeological_finds/migrations/0035_auto.py +++ b/archaeological_finds/old_migrations/0035_auto.py diff --git a/archaeological_finds/migrations/0036_preservation_to_preservations.py b/archaeological_finds/old_migrations/0036_preservation_to_preservations.py index 4322510e9..4322510e9 100644 --- a/archaeological_finds/migrations/0036_preservation_to_preservations.py +++ b/archaeological_finds/old_migrations/0036_preservation_to_preservations.py diff --git a/archaeological_finds/migrations/0037_auto__del_field_historicalfind_preservation_to_consider_id__del_field_.py b/archaeological_finds/old_migrations/0037_auto__del_field_historicalfind_preservation_to_consider_id__del_field_.py index e69d0ac88..e69d0ac88 100644 --- a/archaeological_finds/migrations/0037_auto__del_field_historicalfind_preservation_to_consider_id__del_field_.py +++ b/archaeological_finds/old_migrations/0037_auto__del_field_historicalfind_preservation_to_consider_id__del_field_.py diff --git a/archaeological_finds/migrations/0038_auto__add_field_historicalbasefind_batch__add_field_basefind_batch.py b/archaeological_finds/old_migrations/0038_auto__add_field_historicalbasefind_batch__add_field_basefind_batch.py index dac8ae01a..dac8ae01a 100644 --- a/archaeological_finds/migrations/0038_auto__add_field_historicalbasefind_batch__add_field_basefind_batch.py +++ b/archaeological_finds/old_migrations/0038_auto__add_field_historicalbasefind_batch__add_field_basefind_batch.py diff --git a/archaeological_finds/migrations/0039_is_isolated_batch.py b/archaeological_finds/old_migrations/0039_is_isolated_batch.py index f3a71751b..f3a71751b 100644 --- a/archaeological_finds/migrations/0039_is_isolated_batch.py +++ b/archaeological_finds/old_migrations/0039_is_isolated_batch.py diff --git a/archaeological_finds/migrations/0040_auto__del_field_historicalbasefind_is_isolated__del_field_basefind_is_.py b/archaeological_finds/old_migrations/0040_auto__del_field_historicalbasefind_is_isolated__del_field_basefind_is_.py index 02b6dbf4a..02b6dbf4a 100644 --- a/archaeological_finds/migrations/0040_auto__del_field_historicalbasefind_is_isolated__del_field_basefind_is_.py +++ b/archaeological_finds/old_migrations/0040_auto__del_field_historicalbasefind_is_isolated__del_field_basefind_is_.py diff --git a/archaeological_finds/migrations/0041_auto__add_integritytype.py b/archaeological_finds/old_migrations/0041_auto__add_integritytype.py index c38d16d6a..c38d16d6a 100644 --- a/archaeological_finds/migrations/0041_auto__add_integritytype.py +++ b/archaeological_finds/old_migrations/0041_auto__add_integritytype.py diff --git a/archaeological_finds/migrations/0042_auto__chg_field_historicalfind_label__chg_field_find_label__chg_field_.py b/archaeological_finds/old_migrations/0042_auto__chg_field_historicalfind_label__chg_field_find_label__chg_field_.py index 9b31f2024..9b31f2024 100644 --- a/archaeological_finds/migrations/0042_auto__chg_field_historicalfind_label__chg_field_find_label__chg_field_.py +++ b/archaeological_finds/old_migrations/0042_auto__chg_field_historicalfind_label__chg_field_find_label__chg_field_.py diff --git a/archaeological_finds/migrations/0043_auto__add_field_findsource_duplicate__chg_field_findsource_internal_re.py b/archaeological_finds/old_migrations/0043_auto__add_field_findsource_duplicate__chg_field_findsource_internal_re.py index 3e288d58d..3e288d58d 100644 --- a/archaeological_finds/migrations/0043_auto__add_field_findsource_duplicate__chg_field_findsource_internal_re.py +++ b/archaeological_finds/old_migrations/0043_auto__add_field_findsource_duplicate__chg_field_findsource_internal_re.py diff --git a/archaeological_finds/migrations/0044_auto__add_field_findsource_receipt_date_in_documentation__add_field_tr.py b/archaeological_finds/old_migrations/0044_auto__add_field_findsource_receipt_date_in_documentation__add_field_tr.py index 2c0c74701..2c0c74701 100644 --- a/archaeological_finds/migrations/0044_auto__add_field_findsource_receipt_date_in_documentation__add_field_tr.py +++ b/archaeological_finds/old_migrations/0044_auto__add_field_findsource_receipt_date_in_documentation__add_field_tr.py diff --git a/archaeological_finds/migrations/0045_auto__add_findbasket__add_unique_findbasket_label_user.py b/archaeological_finds/old_migrations/0045_auto__add_findbasket__add_unique_findbasket_label_user.py index 2879e422a..2879e422a 100644 --- a/archaeological_finds/migrations/0045_auto__add_findbasket__add_unique_findbasket_label_user.py +++ b/archaeological_finds/old_migrations/0045_auto__add_findbasket__add_unique_findbasket_label_user.py diff --git a/archaeological_finds/migrations/0046_auto__add_field_basefind_point__add_field_basefind_line__add_field_bas.py b/archaeological_finds/old_migrations/0046_auto__add_field_basefind_point__add_field_basefind_line__add_field_bas.py index 47898f58a..47898f58a 100644 --- a/archaeological_finds/migrations/0046_auto__add_field_basefind_point__add_field_basefind_line__add_field_bas.py +++ b/archaeological_finds/old_migrations/0046_auto__add_field_basefind_point__add_field_basefind_line__add_field_bas.py diff --git a/archaeological_finds/migrations/0047_auto__add_field_historicalfind_conservatory_comment__add_field_histori.py b/archaeological_finds/old_migrations/0047_auto__add_field_historicalfind_conservatory_comment__add_field_histori.py index 53e9e7643..53e9e7643 100644 --- a/archaeological_finds/migrations/0047_auto__add_field_historicalfind_conservatory_comment__add_field_histori.py +++ b/archaeological_finds/old_migrations/0047_auto__add_field_historicalfind_conservatory_comment__add_field_histori.py diff --git a/archaeological_finds/migrations/0048_auto__add_field_treatmenttype_upstream_is_many__add_field_treatmenttyp.py b/archaeological_finds/old_migrations/0048_auto__add_field_treatmenttype_upstream_is_many__add_field_treatmenttyp.py index 27c628852..27c628852 100644 --- a/archaeological_finds/migrations/0048_auto__add_field_treatmenttype_upstream_is_many__add_field_treatmenttyp.py +++ b/archaeological_finds/old_migrations/0048_auto__add_field_treatmenttype_upstream_is_many__add_field_treatmenttyp.py diff --git a/archaeological_finds/migrations/0049_auto__chg_field_historicalfind_external_id__chg_field_find_external_id.py b/archaeological_finds/old_migrations/0049_auto__chg_field_historicalfind_external_id__chg_field_find_external_id.py index ba9399ab6..ba9399ab6 100644 --- a/archaeological_finds/migrations/0049_auto__chg_field_historicalfind_external_id__chg_field_find_external_id.py +++ b/archaeological_finds/old_migrations/0049_auto__chg_field_historicalfind_external_id__chg_field_find_external_id.py diff --git a/archaeological_finds/migrations/0050_auto__add_field_historicalfind_auto_external_id__add_field_find_auto_e.py b/archaeological_finds/old_migrations/0050_auto__add_field_historicalfind_auto_external_id__add_field_find_auto_e.py index 43745a418..43745a418 100644 --- a/archaeological_finds/migrations/0050_auto__add_field_historicalfind_auto_external_id__add_field_find_auto_e.py +++ b/archaeological_finds/old_migrations/0050_auto__add_field_historicalfind_auto_external_id__add_field_find_auto_e.py diff --git a/archaeological_finds/migrations/0051_auto__add_remarkabilitytype.py b/archaeological_finds/old_migrations/0051_auto__add_remarkabilitytype.py index 879d3cd2c..879d3cd2c 100644 --- a/archaeological_finds/migrations/0051_auto__add_remarkabilitytype.py +++ b/archaeological_finds/old_migrations/0051_auto__add_remarkabilitytype.py diff --git a/archaeological_finds/migrations/0052_auto__add_field_historicalfind_estimated_value__add_field_find_estimat.py b/archaeological_finds/old_migrations/0052_auto__add_field_historicalfind_estimated_value__add_field_find_estimat.py index 01196ccbd..01196ccbd 100644 --- a/archaeological_finds/migrations/0052_auto__add_field_historicalfind_estimated_value__add_field_find_estimat.py +++ b/archaeological_finds/old_migrations/0052_auto__add_field_historicalfind_estimated_value__add_field_find_estimat.py diff --git a/archaeological_finds/migrations/0053_view_find_treatments.py b/archaeological_finds/old_migrations/0053_view_find_treatments.py index 1e06e490b..1e06e490b 100644 --- a/archaeological_finds/migrations/0053_view_find_treatments.py +++ b/archaeological_finds/old_migrations/0053_view_find_treatments.py diff --git a/archaeological_finds/migrations/0054_rename_treatment_views.py b/archaeological_finds/old_migrations/0054_rename_treatment_views.py index 1eccc93c1..1eccc93c1 100644 --- a/archaeological_finds/migrations/0054_rename_treatment_views.py +++ b/archaeological_finds/old_migrations/0054_rename_treatment_views.py diff --git a/archaeological_finds/migrations/0055_auto__add_field_findsource_image__add_field_findsource_thumbnail__add_.py b/archaeological_finds/old_migrations/0055_auto__add_field_findsource_image__add_field_findsource_thumbnail__add_.py index 8ac1a319f..8ac1a319f 100644 --- a/archaeological_finds/migrations/0055_auto__add_field_findsource_image__add_field_findsource_thumbnail__add_.py +++ b/archaeological_finds/old_migrations/0055_auto__add_field_findsource_image__add_field_findsource_thumbnail__add_.py diff --git a/archaeological_finds/migrations/0056_auto__add_field_historicalfind_cached_label__add_field_find_cached_lab.py b/archaeological_finds/old_migrations/0056_auto__add_field_historicalfind_cached_label__add_field_find_cached_lab.py index c0d048ba3..c0d048ba3 100644 --- a/archaeological_finds/migrations/0056_auto__add_field_historicalfind_cached_label__add_field_find_cached_lab.py +++ b/archaeological_finds/old_migrations/0056_auto__add_field_historicalfind_cached_label__add_field_find_cached_lab.py diff --git a/archaeological_finds/migrations/0057_generate_cached_label.py b/archaeological_finds/old_migrations/0057_generate_cached_label.py index 911eb7746..911eb7746 100644 --- a/archaeological_finds/migrations/0057_generate_cached_label.py +++ b/archaeological_finds/old_migrations/0057_generate_cached_label.py diff --git a/archaeological_finds/migrations/0058_auto__chg_field_historicalfind_image__chg_field_historicalfind_thumbna.py b/archaeological_finds/old_migrations/0058_auto__chg_field_historicalfind_image__chg_field_historicalfind_thumbna.py index eb09747d4..eb09747d4 100644 --- a/archaeological_finds/migrations/0058_auto__chg_field_historicalfind_image__chg_field_historicalfind_thumbna.py +++ b/archaeological_finds/old_migrations/0058_auto__chg_field_historicalfind_image__chg_field_historicalfind_thumbna.py diff --git a/archaeological_finds/migrations/0059_auto__add_field_historicalfind_thickness__add_field_find_thickness.py b/archaeological_finds/old_migrations/0059_auto__add_field_historicalfind_thickness__add_field_find_thickness.py index e72ad71e4..e72ad71e4 100644 --- a/archaeological_finds/migrations/0059_auto__add_field_historicalfind_thickness__add_field_find_thickness.py +++ b/archaeological_finds/old_migrations/0059_auto__add_field_historicalfind_thickness__add_field_find_thickness.py diff --git a/archaeological_finds/migrations/0060_auto__add_field_historicalfind_topographic_reference_point__add_field_.py b/archaeological_finds/old_migrations/0060_auto__add_field_historicalfind_topographic_reference_point__add_field_.py index b4855a779..b4855a779 100644 --- a/archaeological_finds/migrations/0060_auto__add_field_historicalfind_topographic_reference_point__add_field_.py +++ b/archaeological_finds/old_migrations/0060_auto__add_field_historicalfind_topographic_reference_point__add_field_.py diff --git a/archaeological_finds/migrations/0061_auto__add_field_historicalfind_min_number_of_individuals__add_field_fi.py b/archaeological_finds/old_migrations/0061_auto__add_field_historicalfind_min_number_of_individuals__add_field_fi.py index 8ae8784f8..8ae8784f8 100644 --- a/archaeological_finds/migrations/0061_auto__add_field_historicalfind_min_number_of_individuals__add_field_fi.py +++ b/archaeological_finds/old_migrations/0061_auto__add_field_historicalfind_min_number_of_individuals__add_field_fi.py diff --git a/archaeological_finds/migrations/0062_auto__del_field_historicaltreatment_other_location__add_field_historic.py b/archaeological_finds/old_migrations/0062_auto__del_field_historicaltreatment_other_location__add_field_historic.py index 61985ec9f..61985ec9f 100644 --- a/archaeological_finds/migrations/0062_auto__del_field_historicaltreatment_other_location__add_field_historic.py +++ b/archaeological_finds/old_migrations/0062_auto__del_field_historicaltreatment_other_location__add_field_historic.py diff --git a/archaeological_finds/migrations/0063_treats_generate_year_index.py b/archaeological_finds/old_migrations/0063_treats_generate_year_index.py index 0c6ddee13..0c6ddee13 100644 --- a/archaeological_finds/migrations/0063_treats_generate_year_index.py +++ b/archaeological_finds/old_migrations/0063_treats_generate_year_index.py diff --git a/archaeological_finds/migrations/0064_auto__add_unique_treatment_index_year.py b/archaeological_finds/old_migrations/0064_auto__add_unique_treatment_index_year.py index 3185fc2ff..3185fc2ff 100644 --- a/archaeological_finds/migrations/0064_auto__add_unique_treatment_index_year.py +++ b/archaeological_finds/old_migrations/0064_auto__add_unique_treatment_index_year.py diff --git a/archaeological_finds/migrations/0065_copy_treatment_types.py b/archaeological_finds/old_migrations/0065_copy_treatment_types.py index b4bdd0a05..b4bdd0a05 100644 --- a/archaeological_finds/migrations/0065_copy_treatment_types.py +++ b/archaeological_finds/old_migrations/0065_copy_treatment_types.py diff --git a/archaeological_finds/migrations/0066_auto__del_field_historicaltreatment_treatment_type_id__del_field_treat.py b/archaeological_finds/old_migrations/0066_auto__del_field_historicaltreatment_treatment_type_id__del_field_treat.py index 2bcca03aa..2bcca03aa 100644 --- a/archaeological_finds/migrations/0066_auto__del_field_historicaltreatment_treatment_type_id__del_field_treat.py +++ b/archaeological_finds/old_migrations/0066_auto__del_field_historicaltreatment_treatment_type_id__del_field_treat.py diff --git a/archaeological_finds/migrations/0067_on_delete_for_views.py b/archaeological_finds/old_migrations/0067_on_delete_for_views.py index f7a744325..f7a744325 100644 --- a/archaeological_finds/migrations/0067_on_delete_for_views.py +++ b/archaeological_finds/old_migrations/0067_on_delete_for_views.py diff --git a/archaeological_finds/migrations/0068_auto__add_treatmentfile__add_unique_treatmentfile_year_index__add_hist.py b/archaeological_finds/old_migrations/0068_auto__add_treatmentfile__add_unique_treatmentfile_year_index__add_hist.py index 5949fa70d..5949fa70d 100644 --- a/archaeological_finds/migrations/0068_auto__add_treatmentfile__add_unique_treatmentfile_year_index__add_hist.py +++ b/archaeological_finds/old_migrations/0068_auto__add_treatmentfile__add_unique_treatmentfile_year_index__add_hist.py diff --git a/archaeological_finds/migrations/0069_auto__add_field_historicaltreatment_file_id__add_field_treatment_file.py b/archaeological_finds/old_migrations/0069_auto__add_field_historicaltreatment_file_id__add_field_treatment_file.py index cba7e6c94..cba7e6c94 100644 --- a/archaeological_finds/migrations/0069_auto__add_field_historicaltreatment_file_id__add_field_treatment_file.py +++ b/archaeological_finds/old_migrations/0069_auto__add_field_historicaltreatment_file_id__add_field_treatment_file.py diff --git a/archaeological_finds/migrations/0070_auto__add_treatmentfilesource.py b/archaeological_finds/old_migrations/0070_auto__add_treatmentfilesource.py index 6793487e0..6793487e0 100644 --- a/archaeological_finds/migrations/0070_auto__add_treatmentfilesource.py +++ b/archaeological_finds/old_migrations/0070_auto__add_treatmentfilesource.py diff --git a/archaeological_finds/migrations/0071_auto__add_field_historicaltreatment_cached_label__add_field_treatment_.py b/archaeological_finds/old_migrations/0071_auto__add_field_historicaltreatment_cached_label__add_field_treatment_.py index bc5bfb611..bc5bfb611 100644 --- a/archaeological_finds/migrations/0071_auto__add_field_historicaltreatment_cached_label__add_field_treatment_.py +++ b/archaeological_finds/old_migrations/0071_auto__add_field_historicaltreatment_cached_label__add_field_treatment_.py diff --git a/archaeological_finds/migrations/0072_auto__add_field_treatmentfile_applicant__add_field_treatmentfile_appli.py b/archaeological_finds/old_migrations/0072_auto__add_field_treatmentfile_applicant__add_field_treatmentfile_appli.py index fd24fe719..fd24fe719 100644 --- a/archaeological_finds/migrations/0072_auto__add_field_treatmentfile_applicant__add_field_treatmentfile_appli.py +++ b/archaeological_finds/old_migrations/0072_auto__add_field_treatmentfile_applicant__add_field_treatmentfile_appli.py diff --git a/archaeological_finds/migrations/0073_auto__add_treatmentstate__add_field_historicaltreatment_treatment_stat.py b/archaeological_finds/old_migrations/0073_auto__add_treatmentstate__add_field_historicaltreatment_treatment_stat.py index b68e13499..b68e13499 100644 --- a/archaeological_finds/migrations/0073_auto__add_treatmentstate__add_field_historicaltreatment_treatment_stat.py +++ b/archaeological_finds/old_migrations/0073_auto__add_treatmentstate__add_field_historicaltreatment_treatment_stat.py diff --git a/archaeological_finds/migrations/0074_auto__add_field_find_collection__add_field_historicalfind_collection_i.py b/archaeological_finds/old_migrations/0074_auto__add_field_find_collection__add_field_historicalfind_collection_i.py index 8bb0a2c44..8bb0a2c44 100644 --- a/archaeological_finds/migrations/0074_auto__add_field_find_collection__add_field_historicalfind_collection_i.py +++ b/archaeological_finds/old_migrations/0074_auto__add_field_find_collection__add_field_historicalfind_collection_i.py diff --git a/archaeological_finds/migrations/0075_auto__chg_field_find_container__chg_field_find_upstream_treatment__chg.py b/archaeological_finds/old_migrations/0075_auto__chg_field_find_container__chg_field_find_upstream_treatment__chg.py index 600f7ca74..600f7ca74 100644 --- a/archaeological_finds/migrations/0075_auto__chg_field_find_container__chg_field_find_upstream_treatment__chg.py +++ b/archaeological_finds/old_migrations/0075_auto__chg_field_find_container__chg_field_find_upstream_treatment__chg.py diff --git a/archaeological_finds/migrations/0076_auto__add_field_treatmenttype_order__add_field_treatmenttype_parent.py b/archaeological_finds/old_migrations/0076_auto__add_field_treatmenttype_order__add_field_treatmenttype_parent.py index 0b07fff4a..0b07fff4a 100644 --- a/archaeological_finds/migrations/0076_auto__add_field_treatmenttype_order__add_field_treatmenttype_parent.py +++ b/archaeological_finds/old_migrations/0076_auto__add_field_treatmenttype_order__add_field_treatmenttype_parent.py diff --git a/archaeological_finds/migrations/0077_auto__add_field_historicaltreatment_estimated_cost__add_field_historic.py b/archaeological_finds/old_migrations/0077_auto__add_field_historicaltreatment_estimated_cost__add_field_historic.py index 720d66973..720d66973 100644 --- a/archaeological_finds/migrations/0077_auto__add_field_historicaltreatment_estimated_cost__add_field_historic.py +++ b/archaeological_finds/old_migrations/0077_auto__add_field_historicaltreatment_estimated_cost__add_field_historic.py diff --git a/archaeological_finds/migrations/0078_fix_treatment_views.py b/archaeological_finds/old_migrations/0078_fix_treatment_views.py index 0bd018e50..0bd018e50 100644 --- a/archaeological_finds/migrations/0078_fix_treatment_views.py +++ b/archaeological_finds/old_migrations/0078_fix_treatment_views.py diff --git a/archaeological_finds/migrations/0079_auto__del_field_find_topographic_reference_point__del_field_historical.py b/archaeological_finds/old_migrations/0079_auto__del_field_find_topographic_reference_point__del_field_historical.py index e2b16f1da..e2b16f1da 100644 --- a/archaeological_finds/migrations/0079_auto__del_field_find_topographic_reference_point__del_field_historical.py +++ b/archaeological_finds/old_migrations/0079_auto__del_field_find_topographic_reference_point__del_field_historical.py diff --git a/archaeological_finds/migrations/0080_auto__add_field_basefind_x__add_field_basefind_y__add_field_basefind_z.py b/archaeological_finds/old_migrations/0080_auto__add_field_basefind_x__add_field_basefind_y__add_field_basefind_z.py index 7559daeab..7559daeab 100644 --- a/archaeological_finds/migrations/0080_auto__add_field_basefind_x__add_field_basefind_y__add_field_basefind_z.py +++ b/archaeological_finds/old_migrations/0080_auto__add_field_basefind_x__add_field_basefind_y__add_field_basefind_z.py diff --git a/archaeological_finds/migrations/0081_regenerate_treatment_views.py b/archaeological_finds/old_migrations/0081_regenerate_treatment_views.py index 9417088c2..9417088c2 100644 --- a/archaeological_finds/migrations/0081_regenerate_treatment_views.py +++ b/archaeological_finds/old_migrations/0081_regenerate_treatment_views.py diff --git a/archaeological_finds/migrations/0082_auto__add_batchtype__add_field_basefind_new_batch__add_field_historica.py b/archaeological_finds/old_migrations/0082_auto__add_batchtype__add_field_basefind_new_batch__add_field_historica.py index 1f1a8edc1..1f1a8edc1 100644 --- a/archaeological_finds/migrations/0082_auto__add_batchtype__add_field_basefind_new_batch__add_field_historica.py +++ b/archaeological_finds/old_migrations/0082_auto__add_batchtype__add_field_basefind_new_batch__add_field_historica.py diff --git a/archaeological_finds/migrations/0083_batch_to_new_batch.py b/archaeological_finds/old_migrations/0083_batch_to_new_batch.py index 2a982d391..2a982d391 100644 --- a/archaeological_finds/migrations/0083_batch_to_new_batch.py +++ b/archaeological_finds/old_migrations/0083_batch_to_new_batch.py diff --git a/archaeological_finds/migrations/0084_auto__del_field_basefind_new_batch__chg_field_basefind_batch__del_fiel.py b/archaeological_finds/old_migrations/0084_auto__del_field_basefind_new_batch__chg_field_basefind_batch__del_fiel.py index 404fb76eb..404fb76eb 100644 --- a/archaeological_finds/migrations/0084_auto__del_field_basefind_new_batch__chg_field_basefind_batch__del_fiel.py +++ b/archaeological_finds/old_migrations/0084_auto__del_field_basefind_new_batch__chg_field_basefind_batch__del_fiel.py diff --git a/archaeological_finds/migrations/0085_create_bulk_update_view.py b/archaeological_finds/old_migrations/0085_create_bulk_update_view.py index c59420fe2..c59420fe2 100644 --- a/archaeological_finds/migrations/0085_create_bulk_update_view.py +++ b/archaeological_finds/old_migrations/0085_create_bulk_update_view.py diff --git a/archaeological_finds/old_migrations/__init__.py b/archaeological_finds/old_migrations/__init__.py new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/archaeological_finds/old_migrations/__init__.py diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index e0d74db77..6187a300f 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -1,6 +1,5 @@ {% extends "ishtar/sheet.html" %} {% load i18n window_field from_dict link_to_window window_tables window_header humanize %} -{% load url from future %} {% block head_title %}{% trans "Find" %}{% endblock %} {% block content %} diff --git a/archaeological_finds/templates/ishtar/sheet_treatment.html b/archaeological_finds/templates/ishtar/sheet_treatment.html index 9d6c75425..5fc8f2aac 100644 --- a/archaeological_finds/templates/ishtar/sheet_treatment.html +++ b/archaeological_finds/templates/ishtar/sheet_treatment.html @@ -1,6 +1,5 @@ {% extends "ishtar/sheet.html" %} {% load i18n window_field from_dict link_to_window window_tables window_ope_tables window_header humanize %} -{% load url from future %} {% block head_title %}{% trans "Treatment" %}{% endblock %} {% block content %} diff --git a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html index b84f60883..f8fb3e0aa 100644 --- a/archaeological_finds/templates/ishtar/sheet_treatmentfile.html +++ b/archaeological_finds/templates/ishtar/sheet_treatmentfile.html @@ -1,6 +1,5 @@ {% extends "ishtar/sheet.html" %} {% load i18n window_field from_dict link_to_window window_tables window_ope_tables window_header humanize %} -{% load url from future %} {% block head_title %}{% trans "Treatment request" %}{% endblock %} {% block content %} diff --git a/archaeological_finds/tests.py b/archaeological_finds/tests.py index b4a798807..a128b05ff 100644 --- a/archaeological_finds/tests.py +++ b/archaeological_finds/tests.py @@ -68,8 +68,11 @@ class FindInit(ContextRecordInit): self.base_finds = [] default = {'label': "Base find"} - if not data_base.get('history_modifier'): - data_base['history_modifier'] = self.get_default_user() + if not data_base.get('history_modifier') or not data_base[ + 'history_modifier'].pk: + user = self.get_default_user() + user.save() + data_base['history_modifier'] = user if force or not data_base.get('context_record'): data_base['context_record'] = self.get_default_context_record( force=force) @@ -203,15 +206,15 @@ class TreatmentWizardCreationTest(WizardTest, FindInit, TestCase): FormData( 'Move treament', form_datas={ - 'file-treatment_creation': {}, - 'basetreatment-treatment_creation': { - 'treatment_type': 4, # move + 'file': {}, + 'basetreatment': { + 'treatment_type': None, 'person': 1, # doer 'location': 1, # associated warehouse 'year': 2016, 'target_is_basket': False }, - 'selecfind-treatment_creation': { + 'selecfind': { 'pk': 1, 'resulting_pk': 1 } @@ -233,10 +236,14 @@ class TreatmentWizardCreationTest(WizardTest, FindInit, TestCase): person = Person.objects.create(name="default") person.id = 1 person.save() + + trt_type = models.TreatmentType.objects.get(txt_idx='moving') + self.form_datas[0].set('basetreatment', 'treatment_type', trt_type.pk) + self.find, base_find = self.get_default_find(force=True) - self.form_datas[0].form_datas['selecfind-treatment_creation'][ + self.form_datas[0].form_datas['selecfind'][ 'pk'] = self.find.pk - self.form_datas[0].form_datas['selecfind-treatment_creation'][ + self.form_datas[0].form_datas['selecfind'][ 'resulting_pk'] = self.find.pk self.treatment_number = models.Treatment.objects.count() super(TreatmentWizardCreationTest, self).pre_wizard() @@ -305,6 +312,22 @@ class ImportFindTest(ImportTest, TestCase): images = [f.image for f in models.Find.objects.all() if f.image.name] self.assertEqual(len(images), 1) + # check index + bfs = list(models.BaseFind.objects.order_by("-pk").all()) + for idx in range(4): + bf = bfs[idx] + expected_index = 4 - idx + self.assertEqual( + bf.index, expected_index, + "Bad index for imported base find: {} where {} is " + "expected".format(bf.index, expected_index)) + f = bf.find.all()[0] + self.assertEqual( + f.index, expected_index, + "Bad index for imported find: {} where {} is expected".format( + f.index, expected_index + )) + class FindTest(FindInit, TestCase): fixtures = FIND_FIXTURES diff --git a/archaeological_finds/urls.py b/archaeological_finds/urls.py index 9c331ccc9..317afcb91 100644 --- a/archaeological_finds/urls.py +++ b/archaeological_finds/urls.py @@ -17,18 +17,18 @@ # See the file COPYING for details. -from django.conf.urls import * +from django.conf.urls import url from ishtar_common.wizards import check_rights -import views +from archaeological_finds import views +from archaeological_operations.views import administrativeactfile_document from archaeological_finds import models # be careful: each check_rights must be relevant with ishtar_menu # forms -urlpatterns = patterns( - '', +urlpatterns = [ url(r'find_search/(?P<step>.+)?$', check_rights(['view_find', 'view_own_find'])( views.find_search_wizard), name='find_search'), @@ -197,8 +197,6 @@ urlpatterns = patterns( check_rights(['change_treatmentfile', 'change_own_treatmentfile'])( views.treatmentfile_source_deletion_wizard), name='treatmentfile_source_deletion'), - - url(r'^treatmentfle_search/(?P<step>.+)?$', check_rights(['change_find', 'change_own_find'])( views.treatmentfile_search_wizard), @@ -225,94 +223,89 @@ urlpatterns = patterns( url(r'get-downstreamtreatment/(?P<type>.+)?$', views.get_downstreamtreatment, name='get-downstreamtreatment'), -) - -urlpatterns += patterns( - 'archaeological_finds.views', - url(r'autocomplete-objecttype/$', 'autocomplete_objecttype', + url(r'autocomplete-objecttype/$', views.autocomplete_objecttype, name='autocomplete-objecttype'), - url(r'autocomplete-materialtype/$', 'autocomplete_materialtype', + url(r'autocomplete-materialtype/$', views.autocomplete_materialtype, name='autocomplete-materialtype'), - url(r'autocomplete-preservationtype/$', 'autocomplete_preservationtype', + url(r'autocomplete-preservationtype/$', views.autocomplete_preservationtype, name='autocomplete-preservationtype'), - url(r'autocomplete-integritytype/$', 'autocomplete_integritytype', + url(r'autocomplete-integritytype/$', views.autocomplete_integritytype, name='autocomplete-integritytype'), - url(r'autocomplete-treatmentfile/$', 'autocomplete_treatmentfile', + url(r'autocomplete-treatmentfile/$', views.autocomplete_treatmentfile, name='autocomplete-treatmentfile'), - url(r'get-find/own/(?P<type>.+)?$', 'get_find', + url(r'get-find/own/(?P<type>.+)?$', views.get_find, name='get-own-find', kwargs={'force_own': True}), - url(r'get-find/(?P<type>.+)?$', 'get_find', + url(r'get-find/(?P<type>.+)?$', views.get_find, name='get-find'), - url(r'get-find-for-ope/own/(?P<type>.+)?$', 'get_find_for_ope', + url(r'get-find-for-ope/own/(?P<type>.+)?$', views.get_find_for_ope, name='get-own-find-for-ope', kwargs={'force_own': True}), - url(r'get-find-for-ope/(?P<type>.+)?$', 'get_find_for_ope', + url(r'get-find-for-ope/(?P<type>.+)?$', views.get_find_for_ope, name='get-find-for-ope'), - url(r'get-find-for-treatment/own/(?P<type>.+)?$', 'get_find_for_treatment', + url(r'get-find-for-treatment/own/(?P<type>.+)?$', + views.get_find_for_treatment, name='get-own-find-for-treatment', kwargs={'force_own': True}), - url(r'get-find-for-treatment/(?P<type>.+)?$', 'get_find_for_treatment', + url(r'get-find-for-treatment/(?P<type>.+)?$', views.get_find_for_treatment, name='get-find-for-treatment'), - url(r'get-find-full/own/(?P<type>.+)?$', 'get_find', + url(r'get-find-full/own/(?P<type>.+)?$', views.get_find, name='get-own-find-full', kwargs={'full': True, 'force_own': True}), - url(r'get-find-full/(?P<type>.+)?$', 'get_find', + url(r'get-find-full/(?P<type>.+)?$', views.get_find, name='get-find-full', kwargs={'full': True}), url(r'get-find-shortcut/(?P<type>.+)?$', - 'get_find', name='get-find-shortcut', + views.get_find, name='get-find-shortcut', kwargs={'full': 'shortcut'}), url(r'get-findsource/(?P<type>.+)?$', - 'get_findsource', name='get-findsource'), + views.get_findsource, name='get-findsource'), url(r'get-findsource-full/(?P<type>.+)?$', - 'get_findsource', name='get-findsource-full', + views.get_findsource, name='get-findsource-full', kwargs={'full': True}), - url(r'^show-findsource(?:/(?P<pk>.+))?/(?P<type>.+)?$', 'show_findsource', + url(r'^show-findsource(?:/(?P<pk>.+))?/(?P<type>.+)?$', + views.show_findsource, name=models.FindSource.SHOW_URL), - url(r'^show-find/basket-(?P<pk>.+)/(?P<type>.+)?$', 'show_findbasket', + url(r'^show-find/basket-(?P<pk>.+)/(?P<type>.+)?$', views.show_findbasket, name='show-findbasket'), - url(r'^display-find/basket-(?P<pk>.+)/$', 'display_findbasket', + url(r'^display-find/basket-(?P<pk>.+)/$', views.display_findbasket, name='display-findbasket'), - url(r'^show-find(?:/(?P<pk>.+))?/(?P<type>.+)?$', 'show_find', + url(r'^show-find(?:/(?P<pk>.+))?/(?P<type>.+)?$', views.show_find, name=models.Find.SHOW_URL), - url(r'^display-find/(?P<pk>.+)/$', 'display_find', + url(r'^display-find/(?P<pk>.+)/$', views.display_find, name='display-' + models.Find.SLUG), url(r'^show-historized-find/(?P<pk>.+)?/(?P<date>.+)?$', - 'show_find', name='show-historized-find'), + views.show_find, name='show-historized-find'), url(r'^revert-find/(?P<pk>.+)/(?P<date>.+)$', - 'revert_find', name='revert-find'), + views.revert_find, name='revert-find'), url(r'^get-treatment/(?P<type>.+)?$', - 'get_treatment', name='get-treatment'), + views.get_treatment, name='get-treatment'), url(r'get-treatment-shortcut/(?P<type>.+)?$', - 'get_treatment', name='get-treatment-shortcut', + views.get_treatment, name='get-treatment-shortcut', kwargs={'full': 'shortcut'}), - url(r'^show-treatment(?:/(?P<pk>.+))?/(?P<type>.+)?$', 'show_treatment', + url(r'^show-treatment(?:/(?P<pk>.+))?/(?P<type>.+)?$', views.show_treatment, name=models.Treatment.SHOW_URL), url(r'show-historized-treatment/(?P<pk>.+)?/(?P<date>.+)?$', - 'show_treatment', name='show-historized-treatment'), + views.show_treatment, name='show-historized-treatment'), url(r'^revert-treatment/(?P<pk>.+)/(?P<date>.+)$', - 'revert_treatment', name='revert-treatment'), + views.revert_treatment, name='revert-treatment'), url(r'get-treatmentfile/(?P<type>.+)?$', - 'get_treatmentfile', name='get-treatmentfile'), + views.get_treatmentfile, name='get-treatmentfile'), url(r'get-treatmentfile-shortcut/(?P<type>.+)?$', - 'get_treatmentfile', name='get-treatmentfile-shortcut', + views.get_treatmentfile, name='get-treatmentfile-shortcut', kwargs={'full': 'shortcut'}), url(r'^show-treatmentfile(?:/(?P<pk>.+))?/(?P<type>.+)?$', - 'show_treatmentfile', + views.show_treatmentfile, name=models.TreatmentFile.SHOW_URL), url(r'show-historized-treatmentfile/(?P<pk>.+)?/(?P<date>.+)?$', - 'show_treatmentfile', name='show-historized-treatmentfile'), + views.show_treatmentfile, name='show-historized-treatmentfile'), url(r'^revert-treatmentfile/(?P<pk>.+)/(?P<date>.+)$', - 'revert_treatmentfile', name='revert-treatmentfile'), - # url(r'show-treatmentfile(?:/(?P<pk>.+))?/(?P<type>.+)?$', - # 'show_treatmentfile', - # name=models.TreatmentFile.SHOW_URL), -) - -urlpatterns += patterns( - 'archaeological_operations.views', + views.revert_treatmentfile, name='revert-treatmentfile'), url(r'^treatment_administrativeact_document/$', - 'administrativeactfile_document', + administrativeactfile_document, name='treatment-administrativeact-document', kwargs={'treatment': True}), url(r'^treatmentfle_administrativeact_document/$', - 'administrativeactfile_document', + administrativeactfile_document, name='treatmentfle-administrativeact-document', kwargs={'treatment_file': True}), -) +] + +# url(r'show-treatmentfile(?:/(?P<pk>.+))?/(?P<type>.+)?$', +# 'show_treatmentfile', +# name=models.TreatmentFile.SHOW_URL), diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index 2e84757c9..828f9801d 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -84,9 +84,9 @@ def autocomplete_treatmentfile(request): models.Treatment) \ and not request.user.ishtaruser.has_right('treatmentfile_search', session=request.session): - return HttpResponse(mimetype='text/plain') + return HttpResponse(content_type='text/plain') if not request.GET.get('term'): - return HttpResponse(mimetype='text/plain') + return HttpResponse(content_type='text/plain') q = request.GET.get('term') query = Q() for q1 in q.split(' '): @@ -104,7 +104,7 @@ def autocomplete_treatmentfile(request): files = models.TreatmentFile.objects.filter(query)[:limit] data = json.dumps([{'id': file.pk, 'value': unicode(file)} for file in files]) - return HttpResponse(data, mimetype='text/plain') + return HttpResponse(data, content_type='text/plain') show_findsource = show_item(models.FindSource, 'findsource') @@ -170,8 +170,11 @@ find_modification_wizard = FindModificationWizard.as_view([ def find_modify(request, pk): find_modification_wizard(request) + key = 'selec-find_modification' + if get_current_profile().warehouse: + key = 'selecw-find_modification' FindModificationWizard.session_set_value( - request, 'selec-find_modification', 'pk', pk, reset=True) + request, key, 'pk', pk, reset=True) return redirect( reverse('find_modification', kwargs={'step': 'selecrecord-find_modification'})) |