On Tuesday, January 4, 2011 2:54:25 PM UTC+11, Chris Seberino wrote: > > How configure Django to handle /books URL and yet allow access to PDFs > and images in subdirs of /books? > > Specifically, I want /books to be a dynamic page with lots of links to > PDFs and images of book covers contained in subdirectories of /books > like /books/some_book_1 and /books/some_book_1/book_cover.jpg. >
Depends on how you are hosting Django. If using Apache/mod_wsgi it is quite simple, and wouldn't even need URL rewriting as suggested by others. So, what are you hosting it with. Graham -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.