forked from rc/aircox
- !88 pytest on existing tests - !89 reorganise settings (! see notes for deployment) Co-authored-by: bkfox <thomas bkfox net> Reviewed-on: rc/aircox#92
This commit is contained in:
@ -1,8 +1,7 @@
|
||||
import datetime
|
||||
|
||||
import django.utils.timezone as tz
|
||||
|
||||
__all__ = [
|
||||
__all__ = (
|
||||
"Redirect",
|
||||
"redirect",
|
||||
"date_range",
|
||||
@ -10,9 +9,10 @@ __all__ = [
|
||||
"date_or_default",
|
||||
"to_timedelta",
|
||||
"seconds_to_time",
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
# FIXME: usage & why we don't use Django's
|
||||
class Redirect(Exception):
|
||||
"""Redirect exception -- see `redirect()`."""
|
||||
|
||||
|
Reference in New Issue
Block a user