There are many posibilities: 1. Update the admin template for the app and model and include field variable into appropriate block 2. Update the form in admin and include the field with editable=false in widget properties 3. Update the view function and include a new value into template data
On 4. Dec., 14:56 h., grimmus <[email protected]> wrote: > Hi, > > I have a hit_count integer field on my model with a default value of 0 > > In the admin area i would like to show this field (to see the amount > of hits) but make it not editable. > > Is there any easy built in way to do this ? > > Thanks for any tips. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

