Closed cecilulysess closed 4 years ago
if depth is None all level of relation will be converted. if depth == 0 no relation will be converted (value not set) etc.
Test passed:
Ran 6 tests in 0.056s OK Destroying test database for alias 'default'... Name Stmts Miss Cover Missing --------------------------------------------------------------- pb_model/__init__.py 0 0 100% pb_model/admin.py 1 1 0% 1 pb_model/apps.py 0 0 100% pb_model/fields.py 156 7 96% 36, 111-114, 121, 155, 214 pb_model/migrations/__init__.py 0 0 100% pb_model/models.py 203 7 97% 243-245, 360, 363-366, 439 pb_model/tests/__init__.py 0 0 100% pb_model/tests/models.py 42 0 100% pb_model/tests/models_pb2.py 89 0 100% pb_model/tests/tests.py 115 0 100% pb_model/urls.py 0 0 100% pb_model/views.py 0 0 100% --------------------------------------------------------------- TOTAL 606 15 98%
@cecilulysess could you also update readme?
Added
if depth is None all level of relation will be converted. if depth == 0 no relation will be converted (value not set) etc.
Test passed: