Skip to content

Latest commit

 

History

History
 
 

django-atc-profile-storage

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

ATC Profile Storage

ATC Profile Storage is a Django app that allows to store predefined ATC profiles in DB.

Requirements

ATC Profile Storage depends on ATC API so make sure you have installed and configured ATC API first.

Installation

The easiest way to install django-atc-profile-storage is to install it directly from pip.

From pip

pip install django-atc-profile-storage

From source

cd path/to/django-atc-profile-storage
pip install .

Configuration

  1. Add atc_profile_storage to your INSTALLED_APPS' settings.py like this:
    INSTALLED_APPS = (
        ...
        'atc_profile_storage',
        'rest_framework',
    )
  1. Include the atc_profile_storage URLconf in your project urls.py like this:
    ...
    url(r'^api/v1/profiles/', include('atc_profile_storage.urls')),
    ...
  1. Migrate the Django DB:
python manage.py migrate
  1. Start the development server
python manage.py runserver 0.0.0.0:8000
  1. Visit http://127.0.0.1:8000/api/v1/profiles .