Skip to content

Commit

Permalink
change slider template name
Browse files Browse the repository at this point in the history
Caution: As worksround, the slider was renamed as there's a template in stemp app with the same name. For details see rl-institut/WAM#12
  • Loading branch information
nesnoj committed Feb 25, 2019
1 parent f4f0d94 commit 17b9c9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
File renamed without changes.
5 changes: 4 additions & 1 deletion widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ class LayerSelectWidget(CheckboxInput):


class SliderWidget(NumberInput):
template_name = 'widgets/slider.html'
# Caution: As worksround, the slider was renamed as there's a template in
# stemp app with the same name.
# For details see https://github.com/rl-institut/WAM/issues/12
template_name = 'widgets/slider_abw.html'

# def __init__(self, step_size=1, attrs=None):
# super(SliderWidget, self).__init__(attrs)
Expand Down

0 comments on commit 17b9c9b

Please sign in to comment.