mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-05-24 23:23:50 +00:00
10 lines
263 B
Python
10 lines
263 B
Python
def register(model_cls, config_cls=None):
|
|
from eav.registry import Registry # noqa: PLC0415
|
|
|
|
Registry.register(model_cls, config_cls)
|
|
|
|
|
|
def unregister(model_cls):
|
|
from eav.registry import Registry # noqa: PLC0415
|
|
|
|
Registry.unregister(model_cls)
|