default value of django template before models data code example Example: django set default value for model not form form = JournalForm(initial={'tank': 123})