mirror of https://github.com/interlegis/sapl.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.3 KiB
45 lines
1.3 KiB
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import models, migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('painel', '0003_cronometro_counter'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='cronometro',
|
|
name='counter',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='cronometro',
|
|
name='reset',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='cronometro',
|
|
name='start',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='cronometro',
|
|
name='stop',
|
|
),
|
|
migrations.AddField(
|
|
model_name='cronometro',
|
|
name='status',
|
|
field=models.CharField(max_length=1, verbose_name='Status do cronômetro', choices=[('I', 'Start'), ('R', 'Reset'), ('S', 'Stop')], default='S'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='cronometro',
|
|
name='time',
|
|
field=models.FloatField(verbose_name='Start time', default=0),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='cronometro',
|
|
name='data_painel',
|
|
field=models.DateField(verbose_name='Data do cronômetro'),
|
|
),
|
|
]
|
|
|