Hi Nikolay,

You could implement such a feature as a third party app by connecting a 
receiver to the 
template_rendered<https://docs.djangoproject.com/en/1.6/ref/signals/#template-rendered>signal.

I suggest you take a look at how django-debug-toolbar tracks which template 
were 
used.<https://github.com/django-debug-toolbar/django-debug-toolbar/blob/master/debug_toolbar/panels/template.py>

Please move forward discussion to django-users since, as pointed out by 
Florian, it's out of django-developpers scope.

Thanks,
Simon

Le vendredi 15 novembre 2013 04:25:10 UTC-5, Nikolay Georgiev a écrit :
>
> Hi Florian,
>
> after trying to add livereload I came to the conclusion that it should be 
> implemented in Django itself. I managed to add CSS livereload with Cross 
> Browser CSS Injection: http://css-tricks.com/cross-browser-css-injection/, 
> but HTML files cannot be reloaded without knowing how Django templating 
> works. That's why I help is needed not from the user, but from the Django 
> developers.
>
> The easiest implementation would be: If a Django template (HTML) changes, 
> refresh the browser.
>
> How can this be implemented in Django itself?
>
> Greetings,
>
> Nikolay
>
>
> On Tuesday, November 12, 2013 11:08:44 PM UTC+1, Florian Apolloner wrote:
>>
>> Hi Nikolay,
>>
>> this mailing lists is about the development of Django itself; you might 
>> wanna ask that on django-users
>>
>> Regards,
>> Florian
>>
>> On Monday, November 11, 2013 5:45:42 PM UTC+1, Nikolay Georgiev wrote:
>>>
>>> Do you know some tips or concrete steps on how to livereload Django 
>>> templates?
>>>
>>> Livereloading means that if I change the HTML Template, CSS or JS files 
>>> that these files will be automatically reloaded in the browser, without me 
>>> having to refresh the page manually. This leads to increased productivity. 
>>> http://livereload.com/
>>>
>>> Thank you very much!
>>>
>>> Nikolay
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/5ddff85f-231a-406d-a03f-d0daf0c16376%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to