Skip to content

Fix pb_model and project tests

  • boxui/users/tests/test_models was missing a delete operation that was previously commented by mistake at 59e264c1
  • Fix pb_model/fields.py so that it works on Django 2.2 BinaryFields in Django 2.2 are backed by a memoryview() instead of bytes()
  • Use original models.py code in pb_model It works if you always put pb_2_dj_fields = '__all__' in related models Not putting that value destroys the tests (because they rely on pb_2_dj_fields being [] by default)

Merge request reports