Source

django-form-utils / tests / models.py

Full commit
1
2
3
4
5
6
7
8
9
from django.db import models

class Person(models.Model):
    age = models.IntegerField()
    name = models.CharField(max_length=100)

class Document(models.Model):
    myfile = models.FileField(upload_to='uploads')