Seems like you have a lot of URLs hardcoded -- you shouldn't do that.
Use MEDIA_URL for static media files and the {% url %} tag for dynamic
URLs (or django.core.urlresolvers.reverse in Python code).
Erik
On 16.09.2008, at 11:02, est wrote:
>
> Today, my boss came to me and asked: "Please move our django site from
> http://xxx.com/ to http://xxx.com/v2/"
>
> It's killing me. Just image how huge mount of HTML source code to
> modify.
>
> I STRONGLY suggest django implement a 'project url' like asp.net, say
>
> <link rel="stylesheet" href="~/main.css" type="text/css"
> media="screen" />
>
> where ~ always points to the current django project's top URL path.
>
> This little feature will not slow down django template rendering,
> right?
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---