"Fossies" - the Fresh Open Source Software Archive

Member "taiga-back-5.0.6/taiga/projects/epics/migrations/0002_epic_color.py" (15 Jan 2020, 567 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_epic_color.py" see the Fossies "Dox" file reference documentation.

    1 # -*- coding: utf-8 -*-
    2 # Generated by Django 1.9.2 on 2016-07-27 09:37
    3 from __future__ import unicode_literals
    4 
    5 from django.db import migrations, models
    6 import taiga.base.utils.colors
    7 
    8 
    9 class Migration(migrations.Migration):
   10 
   11     dependencies = [
   12         ('epics', '0001_initial'),
   13     ]
   14 
   15     operations = [
   16         migrations.AddField(
   17             model_name='epic',
   18             name='color',
   19             field=models.CharField(blank=True, default=taiga.base.utils.colors.generate_random_predefined_hex_color, max_length=32, verbose_name='color'),
   20         ),
   21     ]