On Thu, May 14, 2009 at 6:53 PM, online <online.service....@gmail.com> wrote:
>
> This is my code
>
>
> from django.http import HttpResponse
> from django.template import Context, loader
> from django.shortcuts import render_to_response
> from django.views.decorators.cache import cache_control
> @cache_control(no_cache=True)
> def index(request):
>        #t = loader.get_template('home.html')
>        return render_to_response('home.html')
>
>
> i don't think it was browser cache. I have tried both IE and firefox.
>
>
> Whatever i changed 'home.html' to other page i always get the same
> result.
>
>
> Thanks
>

What are the TEMPLATE_DIRS that you're using in your settings file? Do
they point to the same file you're editing?  Any chance you copied the
project from somewhere else and it's loading the templates from the
original location?

Colin

--~--~---------~--~----~------------~-------~--~----~
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