Django admin inlines with different readonly fields -


say have model inlines in django admin. how can make fields(of inline) readonly if inline object exists editable new instances?

for example if model has related comments, wont let existing comments editable, possible create new (from inline admin).


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -