feincms/feincms-elephantblog — Issue #4: Entry().published_on default value issue
Author: cjflory
Created: 2012-01-18 20:29:49+00:00
State: open

The "published_on" field in the Entry() class, has the default set to be "datetime.now()". This causes an issue, that sets the default "published_on" value to be the datetime that the class was evaluated, instead of getting the current datetime each time a new Entry() is added. (See related issue on stackoverflow: http://bit.ly/zaJY8f)

To fix this issue, change "default=datetime.now()" to "default=datetime.now"