Private
Public Access
1
0

half way through cleaning up and commenting the code

This commit is contained in:
Sander Roosendaal
2017-01-13 14:36:05 +01:00
parent 24364dcfb1
commit 220bc531dd
38 changed files with 140 additions and 2682 deletions

View File

@@ -1,7 +1,3 @@
# -*- coding: utf-8 -*-
from django.db import models
from rows import validate_file_extension
class Document(models.Model):
docfile = models.FileField(upload_to='documents/%Y/%m/%d',
validators=[validate_file_extension])