django.FilePathField (filepath) 349 B

12345678
  1. # -*- mode: snippet -*-
  2. # This was cloned from a TextMate bundle for yasnippet.
  3. #name : FilePathField (filepath)
  4. #group: django
  5. #key : filepath
  6. #condition: (when (boundp 'python-django-project-root) python-django-project-root)
  7. # --
  8. ${1:FIELDNAME} = models.FilePathField(path="${1:/location/of/choices}"${2:, match="${3:regex}"}${4:, recursive=True})