- # -*- mode: snippet -*-
- # This was cloned from a TextMate bundle for yasnippet.
- #name : DateField (date)
- #group: django
- #key : date
- #condition: (when (boundp 'python-django-project-root) python-django-project-root)
- # --
- ${1:FIELDNAME} = models.DateField(${2:default=datetime.datetime.today})
|