title: TemplateSyntaxError: inlines is not a valid tag library
body: <p>Building my Django app, I have been using some code from <a href="https://github.com/nathanborror/django-basic-apps" rel="nofollow">django-basic-app</a>, in particular the <code>inlines</code> application.</p>
  
  <p>In my <code>blog</code> app, I load <code>inlines</code> in a template (here in <code>blog/templates/admin/blog/change_form.html</code>)</p>
  
  <pre><code>{% extends "admin/change_form.html" %}
  
  {% block extrahead %}
    {% load adminmedia inlines %}
    {{ block.super }}
  </code></pre>
  
  <p>When I do that, I have an error </p>
  
  <blockquote>
    <p>TemplateSyntaxError at /admin/blog/post/1/</p>
    
    <p>'inlines' is not a valid tag library: ImportError raised loading
    inlines.templatetags.inlines: No module named models</p>
  </blockquote>
  
  <p>The structure of the project is</p>
  
  <pre><code>blog/
      templates/admin/blog/
                          change_form.html
      ...
  inlines/
      __init__.py
      models.py
      templatetags/
             __init__.py
             inlines.py
      ...
  </code></pre>
  
  <p>and with the import in <code>inlines/templatetags/inlines.py</code> </p>
  
  <pre><code>from django import template
  from inlines.models import InlineType
  from inlines.parser import inlines
  import re
  </code></pre>
  
  <p><code>inlines</code> is present in <code>INSTALLED_APPS</code> and I am using Django 1.4 with python 2.7</p>
  
  <p>I am trying to have a standalone application (not linked to the project then) but I don't get why it is not detected by the blog app. The inlines models are detected by django, I am able to manage it using the admin interface, just the templatetags is failing.</p>