> On Aug 6, 2018, at 10:27, HEMENDRA SINGH HADA <[email protected]> > wrote: > > Than How can I achieve my Goal with sqlite and Django ?? > Do you have any solution for that ??
You'll need to either: 1. Add the default to the database using a migration, either using Django's migration framework and the RunSQL migration, or outside of Django, or, 2. Specify the value you want inserted when inserting directly using SQL. -- -- Christophe Pettus [email protected] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1D4890A9-0284-4E93-89A2-C699F3A788B6%40thebuild.com. For more options, visit https://groups.google.com/d/optout.

