django-shortuuidfield
----------------
Provides a ShortUUIDField for your Django models which uses the base-57 "Short UUID" package at https://github.com/stochastic-technologies/shortuuid/ .
Originally, a fork from David Cramer's excellent django-uuidfield, but not much is left of that besides a bit of structure.
Installation
============
Install it with pip (or easy_install)::
pip install django-shortuuidfield
Usage
=====
First you'll need to attach a ShortUUIDField to your class. This acts as a char(22) to maintain compatibility with SQL versions::
from shortuuidfield import ShortUUIDField
class MyModel(models.Model):
uuid = ShortUUIDField(auto=False)
Enjoy!
----------------
Provides a ShortUUIDField for your Django models which uses the base-57 "Short UUID" package at https://github.com/stochastic-technologies/shortuuid/ .
Originally, a fork from David Cramer's excellent django-uuidfield, but not much is left of that besides a bit of structure.
Installation
============
Install it with pip (or easy_install)::
pip install django-shortuuidfield
Usage
=====
First you'll need to attach a ShortUUIDField to your class. This acts as a char(22) to maintain compatibility with SQL versions::
from shortuuidfield import ShortUUIDField
class MyModel(models.Model):
uuid = ShortUUIDField(auto=False)
Enjoy!
Metadata
Release files for django-shortuuidfield 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-shortuuidfield-0.1.1.tar.gz | 3.2 kB | Details |
Release files / django-shortuuidfield-0.1.1.tar.gz
| Download URL | django-shortuuidfield-0.1.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
755c6291422228cd3b1d786b99b40c99f4e4d7d45c33b58712acd47a4c8fa43d
|
|
BLAKE2b-256 checksum How to use checksums |
e1e8a126e433226f2340255bb7563af63c9ca0723d3aed0fde96bba4b3673d09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |