mirror of https://github.com/doccano/doccano.git
Clemens Wolff
5 years ago
8 changed files with 118 additions and 4 deletions
Split View
Diff Options
-
21app/api/migrations/0002_approve_document_labels.py
-
1app/api/models.py
-
8app/api/serializers.py
-
34app/api/tests/test_api.py
-
4app/api/urls.py
-
11app/api/views.py
-
11app/server/static/components/annotation.pug
-
32app/server/static/components/annotationMixin.js
@ -0,0 +1,21 @@ |
|||
# Generated by Django 2.1.7 on 2019-06-26 13:24 |
|||
|
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|||
('api', '0001_initial'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='document', |
|||
name='annotations_approved_by', |
|||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL), |
|||
), |
|||
] |
Write
Preview
Loading…
Cancel
Save