legacy-dotfiles/.emacs.d/snippets/python-mode/form
Tom Willemsen 62ea1086e9 Emacs: Manually set-up w3m
Only `w3m-goto-url' and `w3m-bookmark-view' are ever really used to
start w3m, no need to load `w3m-load' for that.
2012-12-28 01:56:58 +01:00

9 lines
No EOL
167 B
Text

# -*- mode: snippet -*-
# name: Model Form
# key: form
# --
class ${1:Model}Form(forms.ModelForm):
'''Form for the $1 model.'''
class Meta:
model = $1