Hello, I'm working on a photo gallery for a user. I wanted to make it dead easy for him to create the gallery and upload photos. Right now, each time a gallery page is viewed, I look at the directory where the thumbnails are stored using listdir and slice the resulting list depending on what page the user is on. I populate the template with these images. I did it this way so he could delete and add images right from his FTP software without working about removing them from html pages, et c.
The page traffic isn't too high (maybe 20k views a year). Is this bad practice? Can anyone suggest a better alternative? Thanks WB --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---