semicolom
10/11/2018 - 10:47 AM

django unit test file field froms example

django unit test file field froms example

from django import forms

from .models import FooModel


class FooForm(forms.ModelForm):
    class Meta:
        model = FooModel
        fields = ['bar']