django.FileField (file) 286 B

12345678
  1. # -*- mode: snippet -*-
  2. # This was cloned from a TextMate bundle for yasnippet.
  3. #name : FileField (file)
  4. #group: django
  5. #key : file
  6. #condition: (when (boundp 'python-django-project-root) python-django-project-root)
  7. # --
  8. ${1:FIELDNAME} = models.FileField(upload_to=${2:/path/for/upload})