I have a current Django project with a simple templating app called “get_page”. It works fine, however i cannot get a new app to work. It is giving me the ol’
[SIZE=2]Tried index in module jj.blog.views. Error was: 'module' object has no attribute 'index'[/SIZE]
error.
My directory structure looks like this:

django-projects/jj/settings.py:
...
...
ROOT_URLCONF = 'jj.urls'
TEMPLATE_DIRS = (
"/var/www/vhosts/joshuajonah.com/httpdocs"
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'jj.get_page',
'jj.blog',
)
django-projects/jj/urls.py:
from django.conf.urls.defaults import *
urlpatterns = patterns('jj',
(r'^blog/', 'blog.views.index'),
(r'^admin/', include('django.contrib.admin.urls')),
(r'^$', 'jj.get_page.views.theindex'),
(r'^(?P<page_name>\w+)/$', 'get_page.views.index'),
)
django-projects/jj/blog/views.py:
from django.http import HttpResponse
def index(request):
return HttpResponse("Hello, world. You're at the freakin index.")
I have been careful to restart Apache whenever i make changes to .py files, no help.
It finds the module but refuses to recognize the views i define in it.
Any ideas guys?