On Tuesday, January 4, 2011 3:54:25 AM UTC, 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. > > cs
You'll need to configure your webserver to manage this, with some sort of URL rewriting - eg RewriteRule in Apache, or whatever the equivalent is in whatever you are using. -- DR. -- 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.