You could get this things done by customization of the corresponding admin template: templates/admin/change_form.html
This can be done per app and per model: https://docs.djangoproject.com/en/1.7/ref/contrib/admin/#templates-which-may-be-overridden-per-app-or-model Good Luck TR 2015-01-24 20:31 GMT+01:00 Shoaib Ijaz <[email protected]>: > First of all I apologize the question title can be unrelated to my query. > I am also confused what I want to do because I am less familiar with django. > > I want to create simple comment system. The requirement is clear that user > can post comment with multiple images.Every comment should have reply. so I > created following models. > > #comment table class Comments(models.Model): > parent = models.ForeignKey('self',null=True) // for comment reply > description = models.TextField(max_length=1000, blank=False, null=False) > > class Meta: > db_table = u'comments' > > #images tableclass CommentImages(models.Model): > comment = models.ForeignKey(Comments) > image = models.CharField(max_length=250, blank=False, null=False) > > class Meta: > db_table = u'comments_images' > > I have query about admin side how can i manage these things? > > I want to show images list when admin view the specific comment. > > Admin can view replies of specific comment. > > Here i draw the example. [image: enter image description here] > > So I dont want to ask about coding. I want to know what techniques will be > used to change the admin view. I am using admin panel for others models too > so I want to change the specific model view. > > How can I get these things? Thank you > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/0fb17b82-042a-4d45-a8dd-bb842d94923c%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/0fb17b82-042a-4d45-a8dd-bb842d94923c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFgu0xhp4FuwNHUkbhY2E_X2gpKbFNL_2RxVZnF1-W9-4ppgJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

