on ModelAdmin there is read only fields http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields
On 24 August 2010 20:02, Rodrigo Lombardo <rod...@gmail.com> wrote: > Hi, > > I'm new to Django and I'm learning a lot reading the docs and some books. > I'm trying to generate a form with some inactive fields and let the > user change only some fields. The way I found to do this is described > here: > http://stackoverflow.com/questions/324477/in-a-django-form-how-to-make-a-field-readonly-or-disabled-so-that-it-cannot-be > > My question is: Nowadays, there's a better way to do the same thing? > > Thanks, > Rodrigo Nicola > Twitter: http://www.twitter.com/rodnic > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Best Regards, Mila -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.