for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
from django.shortcuts import render
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
class SomeClass: def some_method(self): """Do x and return foo."""
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.
from django.views.generic.edit import FormView
from django.contrib.auth.forms import UserCreationForm
class AccountCreateView(FormView):
__class__
template_name = 'accounts_create_form.html'
form_class = UserCreationForm
success_url = '/accounts/confirm/'
def form_valid(self, form):
form.save()
return super(AccountCreateView, self).form_valid(form)
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.