In one of the model i have set one timestamp field as follows:
created_datetime = models.DateTimeField(auto_now_add = True)
While in shell i am
The following way is in the "part1" of django documentation
from django.utils import timezone p = Poll(question="What's new?", pub_date=timezone.now())