Source

django-cms-mycmsproject-toporojo / cms / test_utils / project / fileapp / models.py

Full commit
1
2
3
4
5
6
7
from cms.utils.helpers import reversion_register
from django.db import models

class FileModel(models.Model):
    test_file = models.FileField(upload_to='fileapp/', blank=True, null=True)

reversion_register(FileModel)