-
-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
Description
All the OpenWISP 2 models have uuid based IDs except django-x509.
We need to have uuid based fields for django-x509 too, but since this app is also used by projects that are not related to openwisp, we could keep this feature optional.
Tasks:
- create an abstract
BaseUUIDmodel which inherits BaseX509 which has a uuid field exactly as https://github.com/openwisp/openwisp-utils/blob/master/openwisp_utils/base.py#L13 - create two additional abstract models:
AbstractUUIDCaandAbstractUUIDCert, which inheritBaseUUID - create tests to ensure
AbstractUUIDCaandAbstractUUIDCertwork as expected, (concrete models will have to be added as well) - document how to use these models in the section Extending django-x509