On Tue, 2009-01-27 at 08:42 -0800, May wrote: > 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.
If you want to bypass the view you can try direct_to_template: http://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-generic-simple-direct-to-template -- Marco Buttu --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---