2 Commits

Author SHA1 Message Date
Peter Garnæs f092cf548e Django server: EDR sanity test (#1530)
* EDR queries without instance id works

Django URL's without instance IDs called a method requiring instance
IDs, resulting in a crash.

Instance ID defaults to None, which is also standard for the provider
that ultimately will be called.

Regression test added

* Use fixtures in django server tests

---------

Co-authored-by: Peter Garnæs <pga@dmi.dk>
2024-02-29 13:48:57 -05:00
Bernhard Mallinger 278004d703 Pass OPENAPI_DOCUMENT to API also in django mode (#1510)
* Pass OPENAPI_DOCUMENT to API also in django mode

Fixes #1509

* Add basic test for django

This only verifies that one page loads, which however
covers most of the django setup.

* Install django requirements in CI
2024-01-30 14:57:45 -05:00