legacy-dotfiles/emacs/.emacs.d/snippets/python-mode/form

9 lines
167 B
Text
Raw Permalink Normal View History

2014-08-21 00:23:56 +02:00
# -*- mode: snippet -*-
# name: Model Form
# key: form
# --
class ${1:Model}Form(forms.ModelForm):
'''Form for the $1 model.'''
class Meta:
model = $1