Re: Django mptt help
Gora Mohanty <gora-ZIIawUy8V/u1Z/[email protected]>
| Newsgroups | gmane.user-groups.linux.delhi |
|---|---|
| Message-ID | <CACiMRGKujxrwnT-g-Q2y8LLqjkD=RhfmDx-vaZPLt=k31X1aBw@mail.gmail.com> |
On 13 June 2013 16:49, Raakesh kumar <[email protected]> wrote: > > Hi, > I am using Django mptt library for tree traversal of mysql data and i am > trying to modify the data before i display it in template. Actually in my > mysql rows i am inserting few comma separated user ids but i want them to > change this part of tree and replace them with the user name. > I tried to fetch the tree and loop through it and get corresponding user > ids from database and again assigned them to the variable. When i tried to > print them on console it was working fine but in template it's showing the > database values. If someone could help me to solve it? This description makes little sense, at least not to me. Please ask a more specific question, and show us some code. Regards, Gora