Self hosted FLOSS fitness/workout, nutrition and weight tracker
Comment function with a docstring
Roland Geider55c179c0a5dc
diff --git a/wger/utils/helpers.py b/wger/utils/helpers.pyindex 1f968babf..53ff02ad4 100644--- a/wger/utils/helpers.py+++ b/wger/utils/helpers.py@@ -40,10 +40,12 @@ class DecimalJsonEncoder(json.JSONEncoder):return json.JSONEncoder.default(self, obj)-# Decorator to prevent clashes when loading data with loaddata and-# post_connect signals. See also:-# http://stackoverflow.com/questions/3499791/how-do-i-prevent-fixtures-from-conflictingdef disable_for_loaddata(signal_handler):+ '''+ Decorator to prevent clashes when loading data with loaddata and+ post_connect signals. See also:+ http://stackoverflow.com/questions/3499791/how-do-i-prevent-fixtures-from-conflicting+ '''@wraps(signal_handler)def wrapper(*args, **kwargs):if kwargs['raw']: