from django import forms
from mptt.forms import TreeNodeChoiceField
from .models import File


class AddFileForm(forms.Form):
    name = forms.CharField(max_length=50)
    parent = TreeNodeChoiceField(queryset=File.objects.all())

70ef3844dae07fe9b7d11de18ff65e4e9cb04d92
<mask token>

<mask token>


class AddFileForm(forms.Form):
    <mask token>
    <mask token>

<mask token>


class AddFileForm(forms.Form):
    name = forms.CharField(max_length=50)
    parent = TreeNodeChoiceField(queryset=File.objects.all())

from django import forms
from mptt.forms import TreeNodeChoiceField
from .models import File


class AddFileForm(forms.Form):
    name = forms.CharField(max_length=50)
    parent = TreeNodeChoiceField(queryset=File.objects.all())
