Reformat using black
This commit is contained in:
parent
efee4ad081
commit
a87fb49918
221 changed files with 19127 additions and 7310 deletions
|
@ -6,9 +6,9 @@ from judge.utils.views import TitleMixin
|
|||
|
||||
class LicenseDetail(TitleMixin, DetailView):
|
||||
model = License
|
||||
slug_field = slug_url_kwarg = 'key'
|
||||
context_object_name = 'license'
|
||||
template_name = 'license.html'
|
||||
slug_field = slug_url_kwarg = "key"
|
||||
context_object_name = "license"
|
||||
template_name = "license.html"
|
||||
|
||||
def get_title(self):
|
||||
return self.object.name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue