I've got a gallery model, with a Gallery class, and an ImageUpload class. in my custom tag i'm pulling in the Gallery to display a list of galleries in a side bar. this works fine. But, i want to randomly display an image associated with that gallery, which would be accessed through ImageUpload (i should change the class name to Image).
do i create another class in the single custom tag in the templatestag directory? or can i create another tag in that directory? or... do i create a method inside the Gallery class so that it is accessible that way? thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---