Show More
@@ -42,6 +42,10 b' class AttachmentManager(models.Manager):' | |||
|
42 | 42 | class Attachment(models.Model): |
|
43 | 43 | objects = AttachmentManager() |
|
44 | 44 | |
|
45 | class Meta: | |
|
46 | app_label = 'boards' | |
|
47 | ordering = ('id',) | |
|
48 | ||
|
45 | 49 | file = models.FileField(upload_to=get_upload_filename, null=True) |
|
46 | 50 | mimetype = models.CharField(max_length=50, null=True) |
|
47 | 51 | hash = models.CharField(max_length=36, null=True) |
General Comments 0
You need to be logged in to leave comments.
Login now