I have also had problems with editable=False.
See http://code.djangoproject.com/ticket/611
But in this case I do not think that you want that anyhow.
You can use the fields argument when you create your admin
object to only show what you want as in:
class META:
admin = meta.Admin(
field
(I accidentally sent this to the developers list before)
Hi,
In my model I have the field:
created_by = meta.ForeignKey(
User,
verbose_name='created by',
editable=False,
blank=True,
null=True
)
and the module method below to create a "validated" objec
2 matches
Mail list logo