I am just about ready to launch my first Django Website! It for a local gym where my daughter trains and I offered to rewrite their current site because it's out of date (www.sonshineacademy.com). I've set up the database to handle their announcements and I think it's going to work out fine. Now to get hosting and, hopefully, have it up in a couple of weeks (not bad, seeing as I started learning it at PyCon this year).
My question deals with handling attachments to the announcements. I have it set up so all announcements are displayed on the home page and then each program (gymnastics, dance, cheer leading, etc.) will have only the announcements flagged for them on their individual home pages. I would like to set things up so we can have downloads (pdf, Word, etc.) because they tend to have a lot of maps, meet information, schedules, etc. associated with the announcement. My intention is to create a "download_info" table with a description, the path to the file, and a link to the announcement table then display all of the associated downloads for any given announcement (the users can clink on the annoucement on the main page and the announcement gage come up with the details). Can I, or rather how do I, create a link that will either display or download the file given a link? Would I put the actual files in a sub directory of the "site_media" directory? Does that make sense? Thanks for your help, --greg --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---