1
You can do:
class Example(models.Model):
doc_no = models.CharField(max_length = 10, default='enter value here')
This will set the default value to default value here
, but the user’s response, if any, will override the default value.
Does that help?
Source:stackexchange.com