Skip to content

Commit

Permalink
mirrors: drop unneeded as_div override
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed May 31, 2024
1 parent 7e14da1 commit e3a8c19
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions mirrors/views/mirrorlist.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ def get_countries(self):
code_list = [(code, countries.name(code)) for code in country_codes]
return sorted(code_list, key=itemgetter(1))

def as_div(self):
"Returns this form rendered as HTML <divs>s."
return self._html_output(
normal_row=u'<div%(html_class_attr)s>%(label)s %(field)s%(help_text)s</div>',
error_row=u'%s',
row_ender='</div>',
help_text_html=u' <span class="helptext">%s</span>',
errors_on_separate_row=True)


@csrf_exempt
def generate_mirrorlist(request):
Expand Down

0 comments on commit e3a8c19

Please sign in to comment.