Hi All,
I have a category Model like this one which is based on
Adjacency List.
class Category(models.Model):
name = models.CharField(blank=False, max_length=200)
slug = models.SlugField(null=False)
parent = models.ForeignKey('self', blank=True, null=True, related_name='child',on_delete=models.SET_NULL)
I want to display the model has hierarchical/nested structure in the Django admin. There are modules available such as TreeBeard or Django-MPTT but I dont want to use them.
Tried everything, but unable to achieve the above.
Any help in this direction will be highly appreciated.
Thanks.
This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify us immediately of the error via e-mail to discl...@email-abuse.com and please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation.