python – django: why am I getting this error: AttributeError: ‘method_descriptor’ object has no attribute ‘today’?
You probably want import datetime, not from datetime import datetime. date is a class on the datetime module, but it is also a method on the datetime.datetime class.