mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-11-27 06:53:12 +00:00
Don't put current date as default value for memberships
This commit is contained in:
parent
09c61091d5
commit
c0521005ef
23
users/migrations/0046_auto_20211114_1624.py
Normal file
23
users/migrations/0046_auto_20211114_1624.py
Normal file
@ -0,0 +1,23 @@
|
||||
# Generated by Django 2.2.24 on 2021-11-14 15:24
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('users', '0045_auto_20211114_1423'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='membership',
|
||||
name='date_end',
|
||||
field=models.DateField(verbose_name='start date'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='membership',
|
||||
name='date_start',
|
||||
field=models.DateField(verbose_name='start date'),
|
||||
),
|
||||
]
|
@ -88,12 +88,10 @@ class Membership(models.Model):
|
||||
)
|
||||
|
||||
date_start = models.DateField(
|
||||
auto_now_add=True,
|
||||
verbose_name=_('start date'),
|
||||
)
|
||||
|
||||
date_end = models.DateField(
|
||||
auto_now_add=True,
|
||||
verbose_name=_('start date'),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user