Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openinghours/templatetags/openinghours_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def to_weekday(date_obj_tpl):
return w[1]


@register.assignment_tag
@register.simple_tag
def is_open(location=None, attr=None):
"""
Returns False if the location is closed, or the OpeningHours object
Expand All @@ -49,7 +49,7 @@ def is_open(location=None, attr=None):
return obj


@register.assignment_tag
@register.simple_tag
def is_open_now(location=None, attr=None):
"""
Returns False if the location is closed, or the OpeningHours object
Expand All @@ -64,7 +64,7 @@ def is_open_now(location=None, attr=None):
return obj


@register.assignment_tag
@register.simple_tag
def next_time_open(location):
"""
Returns the next possible OpeningHours object, or False
Expand Down