"Fossies" - the Fresh Open Source Software Archive

Member "taiga-back-5.0.6/taiga/projects/tasks/migrations/0002_tasks_order_fields.py" (15 Jan 2020, 670 Bytes) of package /linux/www/taiga-back-5.0.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. For more information about "0002_tasks_order_fields.py" see the Fossies "Dox" file reference documentation.

    1 # -*- coding: utf-8 -*-
    2 from __future__ import unicode_literals
    3 
    4 from django.db import models, migrations
    5 
    6 
    7 class Migration(migrations.Migration):
    8 
    9     dependencies = [
   10         ('tasks', '0001_initial'),
   11     ]
   12 
   13     operations = [
   14         migrations.AddField(
   15             model_name='task',
   16             name='taskboard_order',
   17             field=models.IntegerField(default=1, verbose_name='taskboard order'),
   18             preserve_default=True,
   19         ),
   20         migrations.AddField(
   21             model_name='task',
   22             name='us_order',
   23             field=models.IntegerField(default=1, verbose_name='us order'),
   24             preserve_default=True,
   25         ),
   26     ]