Skip to content

Instantly share code, notes, and snippets.

@chriskief

chriskief/views.py

Created Oct 24, 2013
Embed
What would you like to do?
modelform.fields['field_1'].widget.attrs['readonly'] = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment