Friday, April 27, 2012

Re: Does adding editable=False to model require a data migration?

From the docs:

editable
Field.editable
If False, the field will not be editable in the admin or via forms
automatically generated from the model class. Default is True.

So, it reads like I can add the editable argument to the field without
having to migrate my data?

Thank you.

Cheers,
M

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment