Interaction with Django

The python-semanticversion package provides two custom fields for Django:

class semantic_version.django_fields.VersionField

Stores a semantic_version.Version.

partial

Boolean; whether partial versions are allowed.

class semantic_version.django_fields.SpecField

Stores a semantic_version.Spec.