Thanks for approve :-) > According to the docs: > https://docs.djangoproject.com/en/1.9/ref/models/fields/#default, default is > either a default value or a callable object. So, the lambda should work:
The note below the example says: "Note that lambdas cannot be used for field options like default because they cannot be serialized by migrations. See that documentation for other caveats." I have merge this and i am going to update the alpha site, respectively set it up new with trunk. -- https://code.launchpad.net/~widelands-dev/widelands-website/django1_8/+merge/298561 Your team Widelands Developers is subscribed to branch lp:widelands-website. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

