[locations] settings needs to be int cast
This commit is contained in:
@ -46,8 +46,8 @@ logger = logging.getLogger(__name__)
|
|||||||
User = get_user_model()
|
User = get_user_model()
|
||||||
BNULL = {"blank": True, "null": True}
|
BNULL = {"blank": True, "null": True}
|
||||||
|
|
||||||
POINTS_FOR_MOVEMENT_HISTORY = getattr(
|
POINTS_FOR_MOVEMENT_HISTORY = int(
|
||||||
settings, "POINTS_FOR_MOVEMENT_HISTORY", 3
|
getattr(settings, "POINTS_FOR_MOVEMENT_HISTORY", 3)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user