Skip to content

Instantly share code, notes, and snippets.

@luiscberrocal
Created October 25, 2018 12:06
Show Gist options
  • Save luiscberrocal/be018797bcc94aba77a0315a7edcdf24 to your computer and use it in GitHub Desktop.
Save luiscberrocal/be018797bcc94aba77a0315a7edcdf24 to your computer and use it in GitHub Desktop.
Django Model Form Template
class $MODEL$Form(forms.ModelForm):
class Meta:
model = $MODEL$
fields = ('id',)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment