someone can choose 1 or many locations in their profile.... and i'm trying to think of an interesting way to put those values from the MTM table into a session var.
On Feb 14, 9:03 pm, Bobby Roberts <[email protected]> wrote: > just wanted to clarify... i've got the manytomany setup in a user > profile. When they login i'm loading certain pieces of their profile > into session variables. One of these fields is the MTM and the data > is stored outside of the userprofile model in the MTM table... how > would I go about taking all of those values and making a CSV string to > save in the session variable? > > On Feb 14, 8:37 pm, Bobby Roberts <[email protected]> wrote: > > > I'm trying to figure out how to store a manytomany relationship in a > > session variable. is the only way really to do it to loop through and > > make a csv string and save that? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

