skip to navigation
skip to content

django-curtail-uuid 1.0.0

Curtail UUID Appointed Length

Installation

pip install django-curtail-uuid

Usage

from account.models import LensmanInfo

from curtail_uuid import CurtailUUID

CurtailUUID.uuid(LensmanInfo, field='lensman_id', length=7)

Function

CurtailUUID.uuid(model, field='uuid', length=None)

Settings.py

CURTAIL_UUID_LENGTH = 7
 
File Type Py Version Uploaded on Size
django-curtail-uuid-1.0.0.tar.gz (md5) Source 2015-12-15 1KB
django_curtail_uuid-1.0.0-py2.py3-none-any.whl (md5) Python Wheel 2.7 2015-12-15 3KB