File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ # -*- coding: utf-8 -*-
2+ # Generated by Django 1.11 on 2018-02-02 10:17
3+ from __future__ import unicode_literals
4+
5+ from django .db import migrations , models
6+
7+
8+ class Migration (migrations .Migration ):
9+
10+ dependencies = [
11+ ('fir_todos' , '0006_remove_todolisttemplate_detection' ),
12+ ]
13+
14+ operations = [
15+ migrations .AlterField (
16+ model_name = 'todoitem' ,
17+ name = 'description' ,
18+ field = models .CharField (max_length = 1000 ),
19+ ),
20+ ]
Original file line number Diff line number Diff line change 66
77
88class TodoItem (models .Model ):
9- description = models .CharField (max_length = 140 )
9+ description = models .CharField (max_length = 1000 )
1010 incident = models .ForeignKey (Incident , blank = True , null = True )
1111 category = models .ForeignKey (IncidentCategory , blank = True , null = True )
1212 business_line = models .ForeignKey (BusinessLine , blank = True , null = True )
@@ -40,7 +40,7 @@ class TodoListTemplate(models.Model):
4040 name = models .CharField (max_length = 100 )
4141 category = models .ForeignKey (IncidentCategory , null = True , blank = True )
4242 concerned_business_lines = models .ManyToManyField (BusinessLine , blank = True )
43-
43+
4444 todolist = models .ManyToManyField (TodoItem , blank = True , limit_choices_to = {"incident__isnull" : True })
4545
4646 def __unicode__ (self ):
You can’t perform that action at this time.
0 commit comments