title: Import error when importing python file from same directory
body: <p>I have the identical problem to the question posed here:
  <a href="https://stackoverflow.com/questions/20029305/django-custom-form-importerror-even-though-file-is-in-the-same-directory">Django custom form ImportError even though file is in the same directory</a></p>
  
  <p>This is from my urls.py in a django application:</p>
  
  <pre><code>import bulkEdit
  ...
  ...
  urlpatters = patterns('',
      url(r'^engine/$', component_views.engine, name='engine'),
      ...
      url(r'^admin/', include(bulkEdit.urls)),
  </code></pre>
  
  <p>My bulkEdit.py file is in the same directory as urls.py.</p>
  
  <p>The error I get is</p>
  
  <pre><code>  File "/home/context/work/riot/src/venv/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module
      __import__(name)
  ImportError: No module named bulkEdit
  </code></pre>
  
  <p>I get the same error if I try</p>
  
  <pre><code>from bulkEdit import urls as bulkEditUrls
  ...
  ...
  urlpatters = patterns('',
      url(r'^engine/$', component_views.engine, name='engine'),
      ...
      url(r'^admin/', include(bulkEditUrls)),
  </code></pre>
  
  <p>bulkEdit is a file in the same directory as my urls.py file; file structure is</p>
  
  <pre><code>Rapier
  |-component
  |    |-__init__.py
  |    |-admin.py
  |    |-forms.py
  |    |-models.py
  |    |-views.py
  |
  |-Chassis
  |    |-__init__.py
  |    |-urls.py
  |    |-bulkEdit.py
  |    |-settings.py
  |    |-views.py
  |
  |-manage.py
  </code></pre>
  
  <p>here is what I have tried so far (In all of these cases, <code>'Chassis'</code> is in <code>INSTALLED_APPS</code>):</p>
  
  <p>Using Python 2.7, so I get a syntax error with</p>
  
  <pre><code>import .bulkEdit
  </code></pre>
  
  <p>I've also tried:</p>
  
  <pre><code>url(r'^admin/', include(Chassis.bulkEdit.urls)),
  </code></pre>
  
  <p>gives me <code>NameError: name 'Chassis' is not defined</code></p>
  
  <pre><code>url(r'^admin/', include("Chassis.bulkEdit.urls")),
  </code></pre>
  
  <p>gives me <code>ImportError: No module named urls</code></p>
  
  <pre><code>url(r'^admin/', include("Chassis.bulkEdit")),
  </code></pre>
  
  <p>gives me <code>ImproperlyConfigured: The included urlconf &lt;module 'Chassis.bulkEdit' from '/home/userag/work/project/src/project/Chassis/bulkEdit.pyc'&gt; doesn't have any patterns in it</code></p>
  
  <pre><code>url(r'^admin/', include(Chassis.bulkEdit)),
  </code></pre>
  
  <p>gives me <code>NameError: name 'Chassis' is not defined</code></p>
  
  <p>When I have</p>
  
  <pre><code>import bulkEdit
  ...
  test = url(r'^admin/', include(bulkEdit.urls))
  </code></pre>
  
  <p>I get no error as long as it is not in the urlpatterns. When I add <code>test</code> to <code>urlpatterns</code></p>
  
  <pre><code>urlpatterns = patterns('',
      url(r'^engine/$', component_views.engine, name='engine'),
      ...
      test
  </code></pre>
  
  <p>I get the error. Is there somewhere else I need to import bulkEdit due to me doing things with admin forms?</p>