Closed jnayak1 closed 8 years ago
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.DateField.auto_now_add
Edited field in article should be auto_now_add instead of auto_now.
auto_now_add
auto_now
auto_now makes it so that it will update the date every time the article is saved.
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.DateField.auto_now_add
Edited field in article should be
auto_now_add
instead ofauto_now
.auto_now
makes it so that it will update the date every time the article is saved.