pycodestyle

This commit is contained in:
2020-03-16 21:19:09 +00:00
parent c1d277be9c
commit e0e4e8d11e
3 changed files with 26 additions and 29 deletions

View File

@@ -138,7 +138,7 @@ class PersonUpdate(generic.UpdateView):
class OrganisationList(generic.ListView):
template_name='organisation_list.html'
template_name = 'organisation_list.html'
model = models.Organisation
paginate_by = 20
@@ -384,7 +384,7 @@ class SecureAPIRequest(generic.View):
class ProfileDetail(generic.DetailView):
template_name="profile_detail.html"
template_name = "profile_detail.html"
model = models.Profile
def get_queryset(self):
@@ -398,7 +398,7 @@ class ProfileDetail(generic.DetailView):
class ProfileUpdateSelf(generic.UpdateView):
template_name="profile_form.html"
template_name = "profile_form.html"
model = models.Profile
fields = ['first_name', 'last_name', 'email', 'initials', 'phone']