Jonas Kiefer
Jonas Kiefer
The same occurs if you use a related field: ```python class MonitoringRun(models.Model): uuid = models.UUIDField(primary_key=True, default=uuid.uuid4, verbose_name=_('Monitoring run')) ... class HealthState(models.Model): uuid = models.UUIDField(primary_key=True, default=uuid.uuid4, verbose_name=_('Health state')) monitoring_run = models.OneToOneField(MonitoringRun,...
here some examples to reproduce: http://demo.pycsw.org/gisdata/csw?service=CSW&version=2.0.2&resultType=results&startPosition=1&maxRecords=10&typeNames=csw:Record&request=GetRecords&typeNames=csw:Record&ElementSetName=full&constraintlanguage=CQL_TEXT&constraint=Type=%27dataset%27 same works fine on other csw implementations: https://www.geoportal-bw.de/geonetwork/srv/ger/csw?REQUEST=GetRecords&VERSION=2.0.2&SERVICE=CSW&typenames=gmd:MD_Metadata&resultType=hits&constraintLanguage=CQL_TEXT&Constraint=Type='dataset'&CONSTRAINT_LANGUAGE_VERSION=1.1.0 https://geoportal.brandenburg.de/csw-gdi-bb/service?REQUEST=GetRecords&VERSION=2.0.2&SERVICE=CSW&typeNames=gmd:MD_Metadata&resultType=hits&constraintLanguage=CQL_TEXT&Constraint=Type='dataset'&CONSTRAINT_LANGUAGE_VERSION=1.1.0 ### Update same on xml filter: http://demo.pycsw.org/gisdata/csw?service=CSW&version=2.0.2&resultType=results&startPosition=1&maxRecords=10&typeNames=csw:Record&request=GetRecords&typeNames=csw:Record&ElementSetName=full&constraintlanguage=CQL_TEXT&constraint=Type=%27dataset%27 https://gdk.geoportal.hessen.de/pycsw/csw.py?REQUEST=GetRecords&VERSION=2.0.2&SERVICE=CSW&typenames=gmd:MD_Metadata&constraintLanguage=FILTER&ElementSetName=full&resultType=hits&constraintLanguage=FILTER&Constraint=%3Cogc%3AFilter%20xmlns%3Aogc%3D%22http%3A%2F%2Fwww.opengis.net%2Fogc%22%3E%3Cogc%3APropertyIsEqualTo%3E%3Cogc%3APropertyName%3EType%3C%2Fogc%3APropertyName%3E%3Cogc%3ALiteral%3Edataset%3C%2Fogc%3ALiteral%3E%3C%2Fogc%3APropertyIsEqualTo%3E%3C%2Fogc%3AFilter%3E&CONSTRAINT_LANGUAGE_VERSION=1.1.0 results in: ```xml Invalid Filter query: Exception:...
I implemented a role concept like bellow: ### customize `get_40x_or_None` ```python from django.conf import settings from django.contrib.auth import REDIRECT_FIELD_NAME from django.core.exceptions import ObjectDoesNotExist, PermissionDenied from django.http import HttpResponseForbidden, HttpResponseNotFound from...
@dwasyl > Would your sample allow for that? Yes this would work for your approach. But i didn't focus on the sample above. In our project we implement a simple...
bitten by the bug...
i experiment with the meta class implementation at my [fork](https://github.com/jokiefer/django-rest-framework-json-api/tree/bug/1019) In principle that works - but i think we should rethink about the goal of moving the logic to the...
Ok - i'll do it quickly. Is there any program workflow cheatsheet? I would do a docs enhancement in a separated issue if not.
I think this would match the `django common` way. Many django porjects does it like that.
I tried to pass a valid feature collection like ```geojson { "type":"FeatureCollection", "features": [ { "type":"Feature", "properties":{}, "geometry":{"type":"Polygon","coordinates":[[[11.601563,52.160762],[7.03125,45.948361],[32.34375,44.461573],[24.609375,52.160762],[11.601563,52.160762]]]} } ] } ``` which raises: GDALException at /api/registry/layers Invalid geometry pointer...
The 'ArraySubquery was just to explain, that it needs to run inside a subquery, cause of the 'OuterRef'. The ancestors per node does return juat a common django 'QuerySet' whith...