Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 710 Bytes

installation.rst

File metadata and controls

34 lines (24 loc) · 710 Bytes

Installation

Install with pip

sh

$ pip install django-prompt-responses

Add it to your INSTALLED_APPS

INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    ...
    'prompt_responses',
    'sortedm2m',  # for the ability to change the order of Prompts in the Django admin
    ...
)

Sync your database

sh

$ python manage.py migrate prompt_responses

Head to the usage <usage> section for the next steps.