/django-rest

Primary LanguagePythonMIT LicenseMIT

The Simplest Django REST Framework Example

Python Tests

This repository is a companion to "The Simplest Django REST Framework Example" article.

This project is an example of how to implement Django REST Framework in the simplest way, using generic class-based views and routers.

How to get this running

  • pip install -r requirements.txt
  • python manage.py migrate
  • python manage.py loaddata games/fixtures/initial_data.json
  • python manage.py runserver

Browse to: http://localhost:8000/