Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix linting
Roland Geiderc6b717c9908c
diff --git a/wger/manager/migrations/0009_auto_20201202_1559.py b/wger/manager/migrations/0009_auto_20201202_1559.pyindex f499eb5ca..a6aaea1dd 100644--- a/wger/manager/migrations/0009_auto_20201202_1559.py+++ b/wger/manager/migrations/0009_auto_20201202_1559.py@@ -13,11 +13,18 @@ class Migration(migrations.Migration):migrations.AddField(model_name='setting',name='rir',- field=models.DecimalField(blank=True, choices=[(None, '------'), (0, 0), (0.5, 0.5), (1, 1), (1.5, 1.5), (2, 2), (2.5, 2.5), (3, 3), (3.5, 3.5), (4, 4)], decimal_places=1, max_digits=3, null=True, verbose_name='RiR'),+ field=models.DecimalField(+ blank=True,+ choices=[(None, '------'), (0, 0), (0.5, 0.5), (1, 1), (1.5, 1.5), (2, 2),+ (2.5, 2.5), (3, 3), (3.5, 3.5), (4, 4)],+ decimal_places=1, max_digits=3, null=True, verbose_name='RiR'),),migrations.AddField(model_name='workoutlog',name='rir',- field=models.DecimalField(blank=True, choices=[(None, '------'), (0, 0), (0.5, 0.5), (1, 1), (1.5, 1.5), (2, 2), (2.5, 2.5), (3, 3), (3.5, 3.5), (4, 4)], decimal_places=1, max_digits=3, null=True, verbose_name='RiR'),+ field=models.DecimalField(+ blank=True, choices=[(None, '------'), (0, 0), (0.5, 0.5), (1, 1), (1.5, 1.5),+ (2, 2), (2.5, 2.5), (3, 3), (3.5, 3.5), (4, 4)],+ decimal_places=1, max_digits=3, null=True, verbose_name='RiR'),),]diff --git a/wger/manager/models.py b/wger/manager/models.pyindex dbdc55592..85ec7deeb 100644--- a/wger/manager/models.py+++ b/wger/manager/models.py@@ -66,6 +66,7 @@ RIR_OPTIONS = [(None, '------'),(3.5, 3.5),(4, 4)]+## Classes#