Example for creating back references and simple api calls with Django