Skip to content
Tutorial for creating an API for cooking recipes using DRF
Branch: master
Clone or download
Pull request Compare This branch is even with dukebody:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Steps to perform BEFORE attending the tutorial session

  1. Clone this repo:
git clone
  1. Create a virtual environment for Python 3 and activate it.

Example with virtualenvwrapper:

mkvirtualenv -p python3 drf-recipes

See other options here.

  1. Install desired versions for Django and DRF:
pip install -r requirements.txt
  1. Sync the database for first time:
python migrate
  1. Create a superuser:
python createsuperuser --email --username admin
  1. Start the development server:
python runserver
  1. Open up the browser and login to the admin site at
You can’t perform that action at this time.