Skip to main content

Django uuidstore

A small Django app providing project-wide issue and storage of UUIDs.

Although this is very much a work in progress, I’ve made a start on the documentation at readthedocs.org

Documentation Status

Dependencies

UID-Store currently depends on django-extensions .

Installation

Use your favorite Python installer to install it from PyPI:

$ pip install django-uuidstore

Or get the source from the application site:

$ hg clone https://bitbucket.org/mhurt/django-uuidstore
$ cd django-uuidstore
$ python setup.py install

Configuration

Add 'uuidstore' to your INSTALLED_APPS setting like this:

INSTALLED_APPS = {
  ...
  'uuidstore'
}

For Django 1.7 users, run python manage.py migrate to create the models. Otherwise simply run python manage.py syncdb.

Getting Started

First you’ll need to register your model with uuidstore:

# models.py
...
...
import uuidstore.registry import register
register(MyModel)

From this point onwards each time a MyModel instance is saved uuidstore will detect it and, if create new ObjectUUID instance containing a UUID relating your model instance.

Release Notes

  • Dropped dependency on django-uuid-pk. Now we use the UUIDField from django-extensions.

  • Added migrations for Django 1.7+ and South.

  • Documentation updates.

  • Added basic tests.

Metadata

Release files for django-uuidstore 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-uuidstore 0.1.0
File Size Uploaded Provenance Actions
django-uuidstore-0.1.0.tar.gz 17.2 kB Without provenance Details for django-uuidstore-0.1.0.tar.gz

Release files / django-uuidstore-0.1.0.tar.gz

Download URL django-uuidstore-0.1.0.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
306269c268054c31ebcdc6ec332c6f6616d14ccf5f02f32e5f6fbeb7014c2737
BLAKE2b-256 checksum
How to use checksums
326523535b38ec4b8812a58517fe1ab001e417bd6957eb7fd595100309f93afc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-uuidstore 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page