title: Problem loading custom template tags (Error: No module named x)
body: <p>I am currently writing a few custom template tags but for some reason they will not load. My directory structure is as follows:</p>
  
  <pre><code>MyProj
   |
   ----MyApp
       |
       |----templatetags
            |
            |----myapp_tags.py
            |----__init__.py
  </code></pre>
  
  <p><strong>In myapp_tags.py</strong></p>
  
  <pre><code>from django.template import Library, Node
  from myproj.myapp.models import Product
  
  register = Library()
  
  class LatestProductsNode(Node):
      def render(self, context):
          context['recent_products'] = Product.objects.all()[:5]
          return ''
  
  def get_latest_products(parser, token):
      return LatestProductsNode()
  
  get_latest_products = register.tag(get_latest_products)
  </code></pre>
  
  <p><strong>In settings.py</strong></p>
  
  <pre><code>INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.sites',
      'django.contrib.admin',
      'myproj.myapp',
  )
  </code></pre>
  
  <p><strong>In the Template</strong></p>
  
  <pre><code>{% load myapp_tags %}
  </code></pre>
  
  <p><strong>The error i get when trying to load the page:</strong></p>
  
  <pre><code>Exception Type:     TemplateSyntaxError Exception Value:    
  
  'myapp_tags' is not a valid tag library: Could not load template library from django.templatetags.myapp_tags, No module named myapp_tags
  </code></pre>