Writing a Django application to study