Marco Zeisler 95180bb8e7 remove try catch, it is catched a step above to keep the exception information;
added additional parse try with:
-payload = request.data.dict()
-payload['metadata'] = json.loads(payload['metadata']);
update metadata on update;
prohibit . in filename;
2021-01-15 23:41:35 +01:00
..
2020-11-17 19:34:25 +01:00
2020-11-17 19:34:25 +01:00
2020-11-17 19:34:25 +01:00
2020-12-07 09:10:18 +01:00
2020-11-17 19:34:25 +01:00
2020-11-30 11:04:02 +01:00

AIC Django Middleware

Tips

  • use Jetbrains Pycharm IDE
  • create and use a virtual environment

Setup

$ cd ./middleware

$ pip install -r requirements.txt

$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py createsuperuser

$ python manage.py runserver

ERROR handling

Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools"
Install missing deps https://visualstudio.microsoft.com/visual-cpp-build-tools/