django tables 'module' object has no attribute 'index'
<p>I'm trying to use the django tables 2 tutorial (<a href="https://django-tables2.readthedocs.org/en/latest/pages/table-data.html" rel="nofollow">Link</a>) and I'm stuck with this error.</p>

<p>Edit: this happens when I try to access 127.0.0.1:8000/tables/ </p>

<p>I'm stuck at the this part in the tutorial:
"Hook the view up in your URLs, and load the page, you should see:"
It doesn’t display this table and instead shows the error displayed below.</p>

<p>I tried the solutions listed in the other questions, but it hasn't helped. Can someone help me please?</p>

<p>Here's the code: <a href="https://github.com/karbfg10k/temp-work/tree/master/IMedMonitor/IMed" rel="nofollow">https://github.com/karbfg10k/temp-work/tree/master/IMedMonitor/IMed</a></p>

<p>And here's the error</p>

<pre><code>Unhandled exception in thread started by &lt;function wrapper at 0x7fa9216456e0&gt;
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 226, in wrapper
    fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 116, in inner_run
    self.check(display_num_errors=True)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 426, in check
    include_deployment_checks=include_deployment_checks,
  File "/usr/local/lib/python2.7/dist-packages/django/core/checks/registry.py", line 75, in run_checks
    new_errors = check(app_configs=app_configs)
  File "/usr/local/lib/python2.7/dist-packages/django/core/checks/urls.py", line 10, in check_url_config
    return check_resolver(resolver)
  File "/usr/local/lib/python2.7/dist-packages/django/core/checks/urls.py", line 19, in check_resolver
    for pattern in resolver.url_patterns:
  File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 33, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 417, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 33, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 410, in urlconf_module
    return import_module(self.urlconf_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/karthik/Code/MedicalDevices/IMedMonitor/IMed/IMed/urls.py", line 20, in &lt;module&gt;
    url(r'^tables/', include('tables.urls')),
  File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 52, in include
    urlconf_module = import_module(urlconf_module)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/karthik/Code/MedicalDevices/IMedMonitor/IMed/tables/urls.py", line 6, in &lt;module&gt;
    url(r'^$', views.index, name='index'),
AttributeError: 'module' object has no attribute 'index'
</code></pre>