Skip to main content

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 :

Usage

  1. Add random_id to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        # Django default apps
        ...
        'random_id',
    ]
  2. Run python manage.py makemigrations random_id

  3. Run python manage.py migrate

  4. Run python manage.py createsuperuser

  5. Run python manage.py runserver

  6. Go to http://127.0.0.1:8000/admin/

Requirements

Django==2.0.3

Note

Django==2.0.3 requires Python 3.4, 3.5, 3.6

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-random-id-generator-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file django-random-id-generator-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-random-id-generator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 eab8e54402694bc47c02c63b2f601598e62d89f1aea7a8e617f785dab57f7294
MD5 52aa517c3e3a26c2247bdc130e5f12f6
BLAKE2b-256 52ef6417500b30f88947a7aa6a1fb173706fb9b1456533361798553538fb40cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page