Interaction with Django

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

Those fields are django.db.models.CharField subclasses, with their max_length defaulting to 200.

class semantic_version.django_fields.VersionField

Stores a semantic_version.Version as its string representation.

partial

Boolean; whether partial versions are allowed.

class semantic_version.django_fields.SpecField

Stores a semantic_version.Spec as its comma-separated string representation.

Previous topic

Reference

Next topic

ChangeLog

This Page