9 lines
No EOL
167 B
Text
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 |