If it's just just a static html page you want to show using none of
the template functions it may be worth it to just serve it from the
webserver (directly by apache or lighttpd, or whatever you are using)
instead of handling the request with the Django dispatch mechanism.
regards
Bert
On Sep 22
hi greg -
you're looking for this:
http://www.djangoproject.com/documentation/generic_views/#django-views-generic-simple-direct-to-template
best
jake
Greg wrote:
> Ok,
> Very easy question here. Is there anyway that I can directly call
> my .htm file from within my urls.py file?
>
> Now, I ha
Ok,
Very easy question here. Is there anyway that I can directly call
my .htm file from within my urls.py file?
Now, I have the following:
(r'^customer_care/$', 'mysite.rugs.views.customer_care'),
def customer_care(request):
return render_to_response('customer_care.html', {})
3 matches
Mail list logo