Skip to content

Commit 23a1804

Browse files
Merge migration issue
1 parent bf531c7 commit 23a1804

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Generated by Django 2.1.7 on 2019-10-21 15:48
2+
3+
from django.db import migrations
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('api', '0004_project_collaborative_annotation'),
10+
('api', '0004_roles'),
11+
]
12+
13+
operations = [
14+
]

app/api/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from .serializers import ProjectSerializer, LabelSerializer, DocumentSerializer, UserSerializer
2020
from .serializers import ProjectPolymorphicSerializer, RoleMappingSerializer, RoleSerializer
2121
from .utils import CSVParser, ExcelParser, JSONParser, PlainTextParser, CoNLLParser, iterable_to_io
22-
from .serializers import ProjectPolymorphicSerializer, RoleMappingSerializer, RoleSerializer
2322
from .utils import JSONLRenderer
2423
from .utils import JSONPainter, CSVPainter
2524

app/server/management/commands/create_role_mapping.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
class Command(BaseCommand):
66
help = 'Non-interactively create a rolemapping'
77

8+
@classmethod
89
def add_arguments(self, parser):
910
parser.add_argument('--rolename', default=None,
1011
help='The name of the role.')

0 commit comments

Comments
 (0)