Got ya. Didn't realize that would solve the problem. Thanks for your help!
On Jan 7, 3:42 pm, "Rodrigo Moraes" <rodrigo.mor...@gmail.com> wrote: > On Wed, Jan 7, 2009 at 6:25 PM, MajorProgamming wrote: > > This all worked well when my pages looked like "http://example.com/ > > apage", where the relative pointers to the images "directory" would > > resolve well. However, I am now creating pages that look like "http:// > > example.com/adir/apage", and my relative URLs are breaking! The > > problem is that I can't just change the base.html template, because > > the my "http://example.com/apage" URLs would break. Is there any way > > to handle this using django? > > > (Also, I would rather not use absolute URLs) > > Not sure if i understood the problem, but I'm guessing you should just > standardize to use relative url's based on the root, in other words, > always start relative url's with / and provide the full path. > > This will avoid lots of headaches. > > -- rodrigo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---