The quickstart to django-rest-framework
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
{{ cookiecutter.github_repository_name }}
README.md
cookiecutter.json

README.md

cookiecutter-drf-quickstart

The quick way to a simple, non-production-ready, development API, without the bells and the whistles. For the times you just NEED a quick working API.

Installation

Create a virtualenv:

virtualenv env
source env/bin/activate

pip install -r requirements.txt

Initialise git repo:

git init
git remote add origin git@github.com:{{cookiecutter.github_username}}/{{cookiecutter.github_repository_name}}.git

Migrate:

python {{ cookiecutter.app_name }}/manage.py migrate
python {{cookiecutter.app_name}}/manage.py createsuperuser

And off you go!