Hi,
Though its not the perfect solution for your query, please refer the link for ModelAdmin to include conditional formatting in admin interface.
https://docs.djangoproject.com/en/dev/ref/contrib/admin/
-SiddharthThough its not the perfect solution for your query, please refer the link for ModelAdmin to include conditional formatting in admin interface.
https://docs.djangoproject.com/en/dev/ref/contrib/admin/
On Mon, Apr 22, 2013 at 10:35 PM, Vittorio <ml-vic@de-martino.it> wrote:
--My (newbye) problem is as follows:Suppose
class Person(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30)address = models.CharField(max_length=100)............................
class Lent_Book(models.Model): title = models.CharField(max_length=100) to_whom = models.ForeignKey(Person)last_known_address= >>>>HERE I WOULD LIKE TO SHOW AND, IF NECESSARY, MODIFY Person.address
In a nutshell, my problem is: when I run admin and open Lent_book I would like to have a changeable field 'last-know_address' that modifies Person.address in one shot (without having to open Person).Is that possible and how?An example would be highly appreciated.Ciao from RomeVittorio--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment