diff options
author | Tom Willemse | 2013-08-13 22:20:08 +0200 |
---|---|---|
committer | Tom Willemse | 2013-08-13 22:20:08 +0200 |
commit | aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9 (patch) | |
tree | e6c880a904ad0bdd2a697b4e4bea669ee0aa1499 /.emacs.d/snippets/python-mode/form | |
download | emacs-aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9.tar.gz emacs-aaa9e1a953d8db0e974db9b09b2fe0b19751e3d9.zip |
Initial commit of my Emacs configuration in vcsh
Diffstat (limited to '.emacs.d/snippets/python-mode/form')
-rw-r--r-- | .emacs.d/snippets/python-mode/form | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.emacs.d/snippets/python-mode/form b/.emacs.d/snippets/python-mode/form new file mode 100644 index 0000000..225d5e4 --- /dev/null +++ b/.emacs.d/snippets/python-mode/form @@ -0,0 +1,9 @@ +# -*- mode: snippet -*- +# name: Model Form +# key: form +# -- +class ${1:Model}Form(forms.ModelForm): + '''Form for the $1 model.''' + + class Meta: + model = $1
\ No newline at end of file |