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 have the following: > > (r'^customer_care/$', 'mysite.rugs.views.customer_care'), > > def customer_care(request): > return render_to_response('customer_care.html', {}) > > ///////////// > > As you can see my view does nothing except call a .html file. Is > there anyway I can do this is my urls.py file so that I can delete the > customer_care function in views.py all together? > > Thanks > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---