mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 06:03:20 +00:00
merged migrations
This commit is contained in:
parent
903f07ecbd
commit
22e277d4f7
@ -23,6 +23,7 @@ class Migration(migrations.Migration):
|
|||||||
('file', models.ImageField(verbose_name='file', upload_to='com/posters')),
|
('file', models.ImageField(verbose_name='file', upload_to='com/posters')),
|
||||||
('date_begin', models.DateTimeField(default=django.utils.timezone.now)),
|
('date_begin', models.DateTimeField(default=django.utils.timezone.now)),
|
||||||
('date_end', models.DateTimeField(blank=True, null=True)),
|
('date_end', models.DateTimeField(blank=True, null=True)),
|
||||||
|
('display_time', models.IntegerField(verbose_name='display time', default=30)),
|
||||||
('is_moderated', models.BooleanField(verbose_name='is moderated', default=False)),
|
('is_moderated', models.BooleanField(verbose_name='is moderated', default=False)),
|
||||||
('club', models.ForeignKey(verbose_name='club', related_name='posters', to='club.Club')),
|
('club', models.ForeignKey(verbose_name='club', related_name='posters', to='club.Club')),
|
||||||
('moderator', models.ForeignKey(verbose_name='moderator', blank=True, null=True, related_name='moderated_posters', to=settings.AUTH_USER_MODEL)),
|
('moderator', models.ForeignKey(verbose_name='moderator', blank=True, null=True, related_name='moderated_posters', to=settings.AUTH_USER_MODEL)),
|
@ -1,19 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('com', '0004_auto_20171023_0929'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='poster',
|
|
||||||
name='display_time',
|
|
||||||
field=models.IntegerField(verbose_name='display time', default=30),
|
|
||||||
),
|
|
||||||
]
|
|
Loading…
Reference in New Issue
Block a user