A simple Django app to generate unique random IDs.
Project description
django-random-id-generator
What is it?
django-random-id-generator is a simple Django app to Generate Random and Unique IDs for Django model objects with custom save method
Installation
You can get django-random-id-generator by :
Download or git clone https://github.com/frankovo/django-random-id-generator.git
Usage
Add random_id to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ # Django default apps ... 'random_id', ]
Run python manage.py makemigrations random_id
Run python manage.py migrate
Run python manage.py createsuperuser
Run python manage.py runserver
Requirements
Django==2.0.3
Note
Django==2.0.3 requires Python 3.4, 3.5, 3.6
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-random-id-generator-0.1.0.tar.gz
.
File metadata
- Download URL: django-random-id-generator-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab8e54402694bc47c02c63b2f601598e62d89f1aea7a8e617f785dab57f7294 |
|
MD5 | 52aa517c3e3a26c2247bdc130e5f12f6 |
|
BLAKE2b-256 | 52ef6417500b30f88947a7aa6a1fb173706fb9b1456533361798553538fb40cd |