Package: django-terra-geocrud
https://django-terra-geocrud.readthedocs.io/Backend API configurator for Geographic CRUD. Based ondjango-geostoreCustomize Menu entries, geographic layers and featuresCustomized endpoints to manage layers and featuresGroup feature properties, order them, define layout and style to render forms and geometries with mapboxRequirementsdjango 2.2 / 3.0 / 3.1geodjango enabled with postgres 10+ / postgis 2.4+ (pgrouting optionnal)DEVELOPMENTwith docker :$docker-composebuild
$docker-composeup
....
$docker-composerunweb/code/venv/bin/python./manage.pyshell
$docker-composerunwebcoveragerun./manage.pytestwith pip :$python3-mvenvvenv
$sourceactivatevenv/bin/activate
pipinstall-e.[dev]CHANGELOG1.0.29         (2022-06-30)Fix deletion image on different storage (sorl thumbnail)1.0.28         (2022-06-09)Fix empty relations filter on current feature1.0.27         (2022-05-17)Remove file when property has been removed or value become emptyFix thumbnail regeneration with same name of main picture1.0.26         (2022-05-05)Fix display value of arrays of objectsFix tile cache invalidation by keeping update_at value at api update1.0.25         (2022-02-23)Add id_layer_vt in relation endpoint to show/unshow vector tiles1.0.24         (2022-02-15)Add deletion signal delete properties pictures and thumbnails1.0.23   	   (2022-02-11)Add relation layer in vector tiles1.0.22	      (2021-10-19)Add layer pk in crud/settings map_layers (relation and extra_geom)1.0.21		   (2021-10-18)Rename crud/settings 'source' to 'view_source'1.0.20         (2020-10-14)Change crud/settings generation so that '.menu[].crud_views[].map_layers' now includes related layer. A source attribute has been added to distinguish layers from "relations" and layers from "extra_geometry"1.0.19          (2021-09-30)Fix concurrency issue when synchronizing relations between Features. This issue was causing data loss when a user tried to edit a feature properties while a celery task was also updating those properties.1.0.18          (2021-09-20)Remove duplicates tasks signalsAdd feature properties list order1.0.17          (2021-09-14)Improve performance signals relations1.0.16          (2021-07-05)Add migration validation function_pathRemove image generated from property before generate a new one1.0.15          (2021-04-30)Change relations : add geojson informations, label, empty1.0.14          (2021-04-16)Use defined pictograms in multi values in display properties1.0.13          (2021-04-01)Fix task modification of destination and origin props1.0.12          (2021-03-31)Use defined pictograms in values in display propertiesUpdate calculated properties only if feature still exists (async)1.0.11          (2021-03-12)Fix signals calculated properties, with save of layer relation, save and delete of destinations1.0.10          (2021-03-04)Add routing informations on each featuresAdd calculated properties1.0.9           (2021-02-18)Fix routing queryset get all layers not only with crud_view1.0.8           (2021-02-16)Update french translations1.0.7           (2021-02-12)Fix relation with crud viewsAdd admin relations1.0.6           (2021-02-11)Add field editable on crud view properties1.0.5           (2021-01-22)Fix constraints different crudviews for routing settings1.0.4           (2021-01-22)Add routing settings for each crudview1.0.3           (2020-12-10)Remove compatibility with terra-accounts <= 1.01.0.2           (2020-12-10)Provide right url for async exports1.0.1           (2020-12-04)Compatibility with terra-accounts >= 1.0 and terra-settings >= 1.0Compatibility with django-mapbox-baselayers last version1.0.0           (2020-10-28)FIRST real releaseAllow to define which property should be included in vector tileFix cases when layer has not yet schema definitionAllow to define custom list choicers for poperties (enums) associated with pictograms.0.3.49          (2020-10-16)Support new "image_base64_from_url" tag to get base64 encoded image from url.0.3.48          (2020-10-14)Fix case where pdf is not identified0.3.47          (2020-09-15)Improve admin0.3.46          (2020-09-15)use django-admin-thumbnails to show and manage pictograms in django adminuse standard header access in http response to avoid deprecation in future django 3.20.3.45          (2020-09-11)Fix deprecation warnings in django 3.10.3.44          (2020-09-09)Support Django 3.1Terra Accounts User Model is not required anymoreDont clean features values when property is deleted. (Need to clean with admin crud view action)0.3.43          (2020-05-27)Fix case with date format0.3.42          (2020-05-27)Format date in display valuesFix default cases when layer has no schema0.3.41          (2020-05-26)Fix mandatory field in crud view adminFix feature cleaning method0.3.40          (2020-05-25)Gdal supported file format to import data in admin0.3.39          (2020-05-15)Update translationsFix deprecation and resource warningsDelete thumbnail to image deletionDelete media files to image deletion0.3.38.1        (2020-04-24)fix translationsfix feature properties cleaning0.3.38          (2020-04-23)validate json schema propertiesDisable property value affectation at creation0.3.37          (2020-04-20)improve thumbnail generationchange api default order for attachments and pictures0.3.36          (2020-04-17)Helper to sort elements in django admin0.3.35          (2020-04-17)Fix way to generate templatesAdd local server time to generated files from templatesImprove settings with supported image formats and max upload file size in bytesNow all properties are managed directly in Crud View adminFeature detail api endpoint improved0.3.34          (2020-03-20)Bug fixesFix image url in arrayTry to fix some thumbnail generationFeaturesAdd all geometries description in feature detail serializerChange generated document name with feature titleCustom serializer for feature extra geometriesFix old serializer feature propertiesManage plural names for crud viewsDeprecatefeature serializer new_display_properties became display_propertiesextra_geometries is no longer availableWidget for data rendering is no longer available0.3.33          (2020-02-14)BREAKING CHANGES : new way to store path in storageFix image generation from data stored imageNew template tag to handle image from data-url stored imageFix bug in admin0.3.32          (2020-02-06)Back to django 3.0 compatibilityNew serializer detail to provide features properties informations and data0.3.31          (2020-01-29)Fix compatibility with geostore 0.3.160.3.30          (2020-01-27)back from django 2.2 maxi. Wait for sorl-thumbnail 12.6.00.3.29          (2020-01-27)Support Django 3.0Compatibility with geostore 0.3.160.3.28          (2019-12-17)Django Rest Framework 3.11 compatibilityPython 3.8 compatibility0.3.27          (2019-12-11)Fake data-url content to decrease feature json property size0.3.26          (2019-12-05)add extra geometries identifiers in feature detail endpoint0.3.25          (2019-12-04)HotFix custom styles management0.3.24          (2019-12-04)add crud view property to describe available layers for layer / feature (extra) geometries0.3.23          (2019-12-03)fix settings with only MAX_ZOOM for map styleAdd map_image_url_loader tag  allowing to add map with style, extra_featuresadd property to generated mapbox style0.3.22          (2019-11-13)ability to hide ungrouped views in config menu0.3.21          (2019-11-04)Add default widget to render array object as table0.3.20          (2019-10-21)Picture and attachments are not grouped anymore0.3.19          (2019-10-21)Picture and attachments are now behind featureSplit public / private settings0.3.18          (2019-10-18)Improve integration in terralego settings systemManage attachments and pictures to features0.3.17          (2019-10-17)News:Admin is not longer activated by default. Please configure in your project0.3.16          (2019-10-15)Fixes:fix admin with custom geostore adminNews:Add french translations0.3.15          (2019-10-14)fix missing permissions0.3.14          (2019-10-14)Fix default extent as simple arrayUse django-reversion to keep changes in adminAdd functionnal permissions (used only in frontend for the moment)0.3.13          (2019-10-11)Fixesmap_style is now empty and not null in case of undefined geometry layerextent for layer with no features0.3.12          (2019-10-11)UpdateOptimize widget rendering0.3.11          (2019-10-10)UpdateOptimize data file storage0.3.10          (2019-10-09)NewsStore and serve data file through a customizable django storage (FileSystem / Public by default)FixesFix dict iteration in feature creation0.3.9           (2019-10-09)FixesFix feature creation with grouped propertiesNewsAdd Date format property render widget.0.3.8           (2019-10-08)NewsAdd json editor in django adminDefine wich property is used to display feature titleUpdateGenerated template default file name.0.3.7           (2019-10-07)Fixesui-order and ui-widget to ui:order and ui:widget0.3.6           (2019-10-07)Fixesfix ui-order for groups in ui-schema0.3.5           (2019-10-07)Featureability to define custom widgets for feature property rendering in crud view0.3.4           (2019-10-04)Fixesfeature default list fix0.3.3      (2019-10-04)Featureui-schema fixed in api with group definedfeature_list_properties are now in object instead of single array element0.3.1      (2019-09-30)FeaturesAbility to groups layers properties in form schema and data displayNew layer/<layer/features endpoint that provide custom data. Usage of old geostore endpoint will be deprecated.Improve CrudView serializer to provide required frontend data, and give frontend urls to follow.0.3.0      (2019-09-24)Breaking changesapp renamed from terra_crud to terra_geocrudUpdaterequirements (django-template-model>=1.0.1anddjango-template-engines>=1.2.9)0.1.4      (2019-11-13)Breaking changereplace template rendering url parameter from {pk} to {id}0.1.3      (2019-11-13)FixUnquote template rendered url in API0.1.2      (2019-11-13)UpdateDefault template generation with template original name0.1.1      (2019-11-11)FixesCompatibility with django external storage0.1.0      (2019-11-11)FixesFixup rendering issue0.0.1.dev3 (2019-09-10)FeaturesManage template models for each crud viewBreaking changesRequire django-template-model, django-template-engine and extra configuration (see documentation)0.0.1.dev2 (2019-09-02)UpdateRequire terra-common v0.0.2FixesDelete unused null=True0.0.1.dev1 (2019-08-29)Add featuresSet template M2M0.0.1.dev0 (2019-08-28)First release