mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-24 10:20:24 +00:00
This commit removes `get_version` helper which is completely useless and not used anywhere else, i.e. from now on `__version__` is assigned directly. As a side-effect, this makes patch number always visible in the version number. This is correct behavior; there is no reason to hide it when it equals 0. Links: https://semver.org/
10 lines
244 B
Python
10 lines
244 B
Python
__version__ = '0.9.2'
|
|
|
|
|
|
def register(model_cls, config_cls=None):
|
|
from .registry import Registry
|
|
Registry.register(model_cls, config_cls)
|
|
|
|
def unregister(model_cls):
|
|
from .registry import Registry
|
|
Registry.unregister(model_cls)
|