django_ca.constants
- constants¶
Collection of constants used by django-ca.
- class django_ca.constants.ReasonFlags(value)[source]¶
An enumeration for CRL reasons.
This enumeration is a copy of
cryptography.x509.ReasonFlags
. We create a copy because any change in the enumeration would trigger a database migration, so up/downgrading cryptography might cause problems with your Django project.