Check out:

http://docs.djangoproject.com/en/dev/howto/static-files/?from=olddocs

I have Django serve static files during development so that all my links
that don't need to go thru Django work.

On Tue, 2009-01-27 at 08:42 -0800, May wrote:
> Hello,
> 
> I'm converting PHP pages to Django.  I'm using base.html  for my
> formatting.  I've included the left-side bar in the base.html, which
> includes links that do not require using a database, such as the
> "contact us" page.  Since I'm using localhost for testing my link
> looks something like this:
> 
> <a href="http://127.0.0.1/contactus.html/"; >Contact Us</a>
> 
> Since the left-side bar is in base.html when the link is selected
> django requires that I place the link in the URL.py and include it in
> View.py.  I have many links like this and would prefer that the links
> go directly to the page ignoring the django requests.
> 
> Is there a simple work around for this, that will allow me to continue
> to use the convenience of the base.html inheritance?
> 
> Thanks,
> 
> Ana
> -- 
Adam Stein @ Xerox Corporation       Email: a...@eng.mc.xerox.com

Disclaimer: Any/All views expressed
here have been proven to be my own.  [http://www.csh.rit.edu/~adam/]


--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to