~panosl/+junk/django-attachments

« back to all changes in this revision

Viewing changes to attachments/models.py

  • Committer: Martin Mahner
  • Date: 2009-07-22 13:31:13 UTC
  • Revision ID: git-v1:89b298e184a844ca4811373b39f4095db360ee01
Backwards incompatible: This introdues granular permissions for users who should been able to add or delete permissions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
    attachment_file = models.FileField(_('attachment'), upload_to=attachment_upload)
31
31
    created = models.DateTimeField(_('created'), auto_now_add=True)
32
32
    modified = models.DateTimeField(_('modified'), auto_now=True)
33
 
    
 
33
 
34
34
    class Meta:
35
35
        ordering = ['-created']
36
36
        permissions = (