code sample for django project