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 hashes)

Uploaded Source

Supported by

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