> On Aug 6, 2018, at 10:27, HEMENDRA SINGH HADA
> 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
Than How can I achieve my Goal with sqlite and Django ??
Do you have any solution for that ??
On Monday, August 6, 2018 at 10:49:29 PM UTC+5:30, HEMENDRA SINGH HADA
wrote:
>
> Hi Team,
>
> My application using sqlite DB and in my model table class, I have define
> attributes like Below -
>
>
> On Aug 6, 2018, at 10:19, HEMENDRA SINGH HADA
> wrote:
>
> If I am giving is_active field with default value True, Then why its not
> showing in "is_active" bool NOT NULL.
Django "default=" defaults are implemented in Django, not in the database.
Django does not currently set database-l
Hi Team,
My application using sqlite DB and in my model table class, I have define
attributes like Below -
class MyUser(AbstractBaseUser):
email = models.EmailField(
verbose_name='email address',
max_length=255,
unique=True,
)
date_of_birth = models.DateFiel
4 matches
Mail list logo