title: Are Django template tags cached?
body: <p>I have gone through the (painful) process of writing a custom template tag for use in Django. It is registered as an inclusion_tag so that it renders a template. However, this tag breaks as soon as I try to change something.</p>
  
  <p>I've tried changing the number of parameters and correspondingly changing the parameters when it's called. It's clear the new tag code isn't being loaded, because an error is thrown stating that there is a mismatch in the number of parameters, and it's evident that it's attempting to call the old function.</p>
  
  <p>The same problem occurs if I try to change the name of the template being rendered and correspondingly change the name of the template on disk. It continues to try to call the old template. I've tried clearing old .pyc files with no luck.</p>
  
  <p>Overall, the system is acting as though it's caching the template tags, likely due to the <code>register</code> command. I have dug through endless threads trying to find out if this is so, but all could find it James Bennett stating <a href="http://groups.google.com/group/django-developers/browse_frm/thread/f9aec919b1449539/" rel="nofollow noreferrer">here</a> that <code>register</code> doesn't do anything. Please help!  </p>