Python/Django code for create views.