Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove comment, auto_add_now is available on the model

Roland Geider4ed567a57981
diff --git a/wger/manager/models/routine.py b/wger/manager/models/routine.py
index 5cef2c583..b728b7edc 100644
--- a/wger/manager/models/routine.py
+++ b/wger/manager/models/routine.py
@@ -52,7 +52,6 @@ from wger.manager.models import (
)
from wger.utils.cache import CacheKeyMapper
-
logger = logging.getLogger(__name__)
@@ -89,8 +88,6 @@ class Routine(models.Model):
blank=True,
)
- # TODO: remove the auto_now_add during migration so we can set this to a custom
- # value and then set it back to auto_now_add
created = models.DateTimeField(
_('Creation date'),
auto_now_add=True,