mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
13 lines
268 B
13 lines
268 B
import sys
|
|
|
|
sys.path.append('../api')
|
|
|
|
from api.models import Project
|
|
from django import forms
|
|
|
|
|
|
class ProjectForm(forms.ModelForm):
|
|
|
|
class Meta:
|
|
model = Project
|
|
fields = ('name', 'description', 'project_type', 'users', 'randomize_document_order')
|