Forums

Page Not Found (404) Error with Django web app

This is the error that my debug page shows:

Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order:

^admin/doc/
^admin/

The current URL, , didn't match any of these.

so I assume that the problem lies with urlpatterns but I'm not experienced enough to know where to find a solution. I have a vague concept that somehow I need to add a pattern to the urlpatterns list but I'm not sure what I should put. And I don't have the faintest idea if the error log would be helpful in this situation, but here it is anyway:

2014-02-06 22:56:30,843 :Traceback (most recent call last):
2014-02-06 22:56:30,855 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 339, in urlconf_module
2014-02-06 22:56:30,855 :    return self._urlconf_module
2014-02-06 22:56:30,856 :AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2014-02-06 22:56:30,856 :
2014-02-06 22:56:30,856 :During handling of the above exception, another exception occurred:
2014-02-06 22:56:30,856 :
2014-02-06 22:56:30,856 :Traceback (most recent call last):
2014-02-06 22:56:30,856 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 101, in get_response
2014-02-06 22:56:30,856 :    resolver_match = resolver.resolve(request.path_info)
2014-02-06 22:56:30,856 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 318, in resolve
2014-02-06 22:56:30,857 :    for pattern in self.url_patterns:
2014-02-06 22:56:30,857 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 346, in url_patterns
2014-02-06 22:56:30,857 :    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2014-02-06 22:56:30,857 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 341, in urlconf_module
2014-02-06 22:56:30,857 :    self._urlconf_module = import_module(self.urlconf_name)
2014-02-06 22:56:30,858 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 22:56:30,858 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 22:56:30,858 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:30,859 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:30,859 :  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
2014-02-06 22:56:30,860 :  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
2014-02-06 22:56:30,860 :  File "<frozen importlib._bootstrap>", line 1022, in load_module
2014-02-06 22:56:30,860 :  File "<frozen importlib._bootstrap>", line 1003, in load_module
2014-02-06 22:56:30,860 :  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
2014-02-06 22:56:30,860 :  File "<frozen importlib._bootstrap>", line 868, in _load_module
2014-02-06 22:56:30,861 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:30,861 :  File "/home/KaylaHood/mysite/mysite/urls.py", line 11, in <module>
2014-02-06 22:56:30,862 :    url(r'^admin/', include('admin.site.urls')),
2014-02-06 22:56:30,862 :  File "/usr/local/lib/python3.3/dist-packages/django/conf/urls/__init__.py", line 26, in include
2014-02-06 22:56:30,862 :    urlconf_module = import_module(urlconf_module)
2014-02-06 22:56:30,862 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 22:56:30,862 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 22:56:30,862 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:30,863 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:30,863 :  File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
2014-02-06 22:56:30,863 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:30,863 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:30,864 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:30,864 :  File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
2014-02-06 22:56:30,864 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:30,864 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:30,865 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:30,865 :  File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
2014-02-06 22:56:30,865 :ImportError: No module named 'admin'
2014-02-06 22:56:30,865 :
2014-02-06 22:56:30,865 :During handling of the above exception, another exception occurred:
2014-02-06 22:56:30,865 :
2014-02-06 22:56:30,865 :Traceback (most recent call last):
2014-02-06 22:56:30,866 :  File "/bin/user_wsgi_wrapper.py", line 67, in __call__
2014-02-06 22:56:30,866 :    self.error_log_file.logger.exception("Error running WSGI application")
2014-02-06 22:56:30,866 :  File "/usr/lib/python3.3/logging/__init__.py", line 1269, in exception
2014-02-06 22:56:30,867 :    self.error(msg, *args, **kwargs)
2014-02-06 22:56:30,867 :  File "/usr/lib/python3.3/logging/__init__.py", line 1262, in error
2014-02-06 22:56:30,867 :    self._log(ERROR, msg, args, **kwargs)
2014-02-06 22:56:30,867 :  File "/usr/lib/python3.3/logging/__init__.py", line 1368, in _log
2014-02-06 22:56:30,868 :    self.handle(record)
2014-02-06 22:56:30,868 :  File "/usr/lib/python3.3/logging/__init__.py", line 1377, in handle
2014-02-06 22:56:30,869 :    if (not self.disabled) and self.filter(record):
2014-02-06 22:56:30,869 :  File "/usr/lib/python3.3/logging/__init__.py", line 687, in filter
2014-02-06 22:56:30,870 :    for f in self.filters:
2014-02-06 22:56:30,870 :  File "/bin/user_wsgi_wrapper.py", line 59, in __call__
2014-02-06 22:56:30,870 :    app_iterator = self.app(environ, start_response)
2014-02-06 22:56:30,870 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__
2014-02-06 22:56:30,870 :    response = self.get_response(request)
2014-02-06 22:56:30,870 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 196, in get_response
2014-02-06 22:56:30,871 :    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
2014-02-06 22:56:30,871 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 231, in handle_uncaught_exception
2014-02-06 22:56:30,871 :    return debug.technical_500_response(request, *exc_info)
2014-02-06 22:56:30,871 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 69, in technical_500_response
2014-02-06 22:56:30,871 :    html = reporter.get_traceback_html()
2014-02-06 22:56:30,871 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 323, in get_traceback_html
2014-02-06 22:56:30,872 :    c = Context(self.get_traceback_data())
2014-02-06 22:56:30,872 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 281, in get_traceback_data
2014-02-06 22:56:30,872 :    frames = self.get_traceback_frames()
2014-02-06 22:56:30,872 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 428, in get_traceback_frames
2014-02-06 22:56:30,872 :    pre_context_lineno, pre_context, context_line, post_context = self._get_lines_from_file(filename, lineno, 7, loader, module_name)
2014-02-06 22:56:30,873 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 379, in _get_lines_from_file
2014-02-06 22:56:30,873 :    source = loader.get_source(module_name)
2014-02-06 22:56:30,873 :  File "<frozen importlib._bootstrap>", line 605, in _requires_frozen_wrapper
2014-02-06 22:56:30,873 :ImportError: importlib._bootstrap is not a frozen module
2014-02-06 22:56:32,023 :Traceback (most recent call last):
2014-02-06 22:56:32,023 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 339, in urlconf_module
2014-02-06 22:56:32,023 :    return self._urlconf_module
2014-02-06 22:56:32,023 :AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2014-02-06 22:56:32,023 :
2014-02-06 22:56:32,023 :During handling of the above exception, another exception occurred:
2014-02-06 22:56:32,023 :
2014-02-06 22:56:32,024 :Traceback (most recent call last):
2014-02-06 22:56:32,024 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 101, in get_response
2014-02-06 22:56:32,024 :    resolver_match = resolver.resolve(request.path_info)
2014-02-06 22:56:32,024 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 318, in resolve
2014-02-06 22:56:32,024 :    for pattern in self.url_patterns:
2014-02-06 22:56:32,024 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 346, in url_patterns
2014-02-06 22:56:32,025 :    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2014-02-06 22:56:32,025 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 341, in urlconf_module
2014-02-06 22:56:32,025 :    self._urlconf_module = import_module(self.urlconf_name)
2014-02-06 22:56:32,025 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 22:56:32,025 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 22:56:32,025 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:32,026 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:32,026 :  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
2014-02-06 22:56:32,026 :  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
2014-02-06 22:56:32,026 :  File "<frozen importlib._bootstrap>", line 1022, in load_module
2014-02-06 22:56:32,027 :  File "<frozen importlib._bootstrap>", line 1003, in load_module
2014-02-06 22:56:32,027 :  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
2014-02-06 22:56:32,027 :  File "<frozen importlib._bootstrap>", line 868, in _load_module
2014-02-06 22:56:32,027 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:32,028 :  File "/home/KaylaHood/mysite/mysite/urls.py", line 11, in <module>
2014-02-06 22:56:32,028 :    url(r'^admin/', include('admin.site.urls')),
2014-02-06 22:56:32,028 :  File "/usr/local/lib/python3.3/dist-packages/django/conf/urls/__init__.py", line 26, in include
2014-02-06 22:56:32,029 :    urlconf_module = import_module(urlconf_module)
2014-02-06 22:56:32,029 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 22:56:32,029 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 22:56:32,029 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:32,029 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:32,029 :  File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
2014-02-06 22:56:32,030 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:32,030 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:32,030 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:32,030 :  File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
2014-02-06 22:56:32,031 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:32,031 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:32,031 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:32,031 :  File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
2014-02-06 22:56:32,032 :ImportError: No module named 'admin'
2014-02-06 22:56:32,032 :
2014-02-06 22:56:32,032 :During handling of the above exception, another exception occurred:
2014-02-06 22:56:32,032 :
2014-02-06 22:56:32,032 :Traceback (most recent call last):
2014-02-06 22:56:32,032 :  File "/bin/user_wsgi_wrapper.py", line 67, in __call__
2014-02-06 22:56:32,032 :    self.error_log_file.logger.exception("Error running WSGI application")
2014-02-06 22:56:32,032 :  File "/usr/lib/python3.3/logging/__init__.py", line 1269, in exception
2014-02-06 22:56:32,033 :    self.error(msg, *args, **kwargs)
2014-02-06 22:56:32,033 :  File "/usr/lib/python3.3/logging/__init__.py", line 1262, in error
2014-02-06 22:56:32,034 :    self._log(ERROR, msg, args, **kwargs)
2014-02-06 22:56:32,034 :  File "/usr/lib/python3.3/logging/__init__.py", line 1368, in _log
2014-02-06 22:56:32,035 :    self.handle(record)
2014-02-06 22:56:32,035 :  File "/usr/lib/python3.3/logging/__init__.py", line 1377, in handle
2014-02-06 22:56:32,035 :    if (not self.disabled) and self.filter(record):
2014-02-06 22:56:32,035 :  File "/usr/lib/python3.3/logging/__init__.py", line 687, in filter
2014-02-06 22:56:32,036 :    for f in self.filters:
2014-02-06 22:56:32,036 :  File "/bin/user_wsgi_wrapper.py", line 59, in __call__
2014-02-06 22:56:32,036 :    app_iterator = self.app(environ, start_response)
2014-02-06 22:56:32,036 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__
2014-02-06 22:56:32,037 :    response = self.get_response(request)
2014-02-06 22:56:32,037 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 196, in get_response
2014-02-06 22:56:32,037 :    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
2014-02-06 22:56:32,037 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 231, in handle_uncaught_exception
2014-02-06 22:56:32,037 :    return debug.technical_500_response(request, *exc_info)
2014-02-06 22:56:32,037 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 69, in technical_500_response
2014-02-06 22:56:32,038 :    html = reporter.get_traceback_html()
2014-02-06 22:56:32,038 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 323, in get_traceback_html
2014-02-06 22:56:32,038 :    c = Context(self.get_traceback_data())
2014-02-06 22:56:32,038 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 281, in get_traceback_data
2014-02-06 22:56:32,038 :    frames = self.get_traceback_frames()
2014-02-06 22:56:32,038 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 428, in get_traceback_frames
2014-02-06 22:56:32,039 :    pre_context_lineno, pre_context, context_line, post_context = self._get_lines_from_file(filename, lineno, 7, loader, module_name)
2014-02-06 22:56:32,039 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 379, in _get_lines_from_file
2014-02-06 22:56:32,039 :    source = loader.get_source(module_name)
2014-02-06 22:56:32,039 :  File "<frozen importlib._bootstrap>", line 605, in _requires_frozen_wrapper
2014-02-06 22:56:32,040 :ImportError: importlib._bootstrap is not a frozen module
2014-02-06 22:56:38,308 :Traceback (most recent call last):
2014-02-06 22:56:38,308 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 339, in urlconf_module
2014-02-06 22:56:38,309 :    return self._urlconf_module
2014-02-06 22:56:38,309 :AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2014-02-06 22:56:38,309 :
2014-02-06 22:56:38,309 :During handling of the above exception, another exception occurred:
2014-02-06 22:56:38,309 :
2014-02-06 22:56:38,309 :Traceback (most recent call last):
2014-02-06 22:56:38,309 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 101, in get_response
2014-02-06 22:56:38,309 :    resolver_match = resolver.resolve(request.path_info)
2014-02-06 22:56:38,309 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 318, in resolve
2014-02-06 22:56:38,310 :    for pattern in self.url_patterns:
2014-02-06 22:56:38,310 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 346, in url_patterns
2014-02-06 22:56:38,310 :    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2014-02-06 22:56:38,310 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 341, in urlconf_module
2014-02-06 22:56:38,311 :    self._urlconf_module = import_module(self.urlconf_name)
2014-02-06 22:56:38,311 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 22:56:38,311 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 22:56:38,311 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:38,311 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:38,312 :  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
2014-02-06 22:56:38,312 :  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
2014-02-06 22:56:38,312 :  File "<frozen importlib._bootstrap>", line 1022, in load_module
2014-02-06 22:56:38,312 :  File "<frozen importlib._bootstrap>", line 1003, in load_module
2014-02-06 22:56:38,312 :  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
2014-02-06 22:56:38,313 :  File "<frozen importlib._bootstrap>", line 868, in _load_module
2014-02-06 22:56:38,313 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:38,313 :  File "/home/KaylaHood/mysite/mysite/urls.py", line 11, in <module>
2014-02-06 22:56:38,314 :    url(r'^admin/', include('admin.site.urls')),
2014-02-06 22:56:38,314 :  File "/usr/local/lib/python3.3/dist-packages/django/conf/urls/__init__.py", line 26, in include
2014-02-06 22:56:38,314 :    urlconf_module = import_module(urlconf_module)
2014-02-06 22:56:38,314 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 22:56:38,314 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 22:56:38,315 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:38,315 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:38,315 :  File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
2014-02-06 22:56:38,315 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:38,316 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:38,316 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:38,316 :  File "<frozen importlib._bootstrap>", line 1512, in _find_and_load_unlocked
2014-02-06 22:56:38,316 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 22:56:38,316 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 22:56:38,317 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 22:56:38,317 :  File "<frozen importlib._bootstrap>", line 1529, in _find_and_load_unlocked
2014-02-06 22:56:38,317 :ImportError: No module named 'admin'
2014-02-06 22:56:38,317 :
2014-02-06 22:56:38,317 :During handling of the above exception, another exception occurred:
2014-02-06 22:56:38,317 :
2014-02-06 22:56:38,317 :Traceback (most recent call last):
2014-02-06 22:56:38,318 :  File "/bin/user_wsgi_wrapper.py", line 67, in __call__
2014-02-06 22:56:38,318 :    self.error_log_file.logger.exception("Error running WSGI application")
2014-02-06 22:56:38,318 :  File "/usr/lib/python3.3/logging/__init__.py", line 1269, in exception
2014-02-06 22:56:38,319 :    self.error(msg, *args, **kwargs)
2014-02-06 22:56:38,319 :  File "/usr/lib/python3.3/logging/__init__.py", line 1262, in error
2014-02-06 22:56:38,319 :    self._log(ERROR, msg, args, **kwargs)
2014-02-06 22:56:38,320 :  File "/usr/lib/python3.3/logging/__init__.py", line 1368, in _log
2014-02-06 22:56:38,320 :    self.handle(record)
2014-02-06 22:56:38,320 :  File "/usr/lib/python3.3/logging/__init__.py", line 1377, in handle
2014-02-06 22:56:38,321 :    if (not self.disabled) and self.filter(record):
2014-02-06 22:56:38,321 :  File "/usr/lib/python3.3/logging/__init__.py", line 687, in filter
2014-02-06 22:56:38,322 :    for f in self.filters:
2014-02-06 22:56:38,322 :  File "/bin/user_wsgi_wrapper.py", line 59, in __call__
2014-02-06 22:56:38,322 :    app_iterator = self.app(environ, start_response)
2014-02-06 22:56:38,322 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__
2014-02-06 22:56:38,322 :    response = self.get_response(request)
2014-02-06 22:56:38,322 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 196, in get_response
2014-02-06 22:56:38,323 :    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
2014-02-06 22:56:38,323 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 231, in handle_uncaught_exception
2014-02-06 22:56:38,323 :    return debug.technical_500_response(request, *exc_info)
2014-02-06 22:56:38,323 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 69, in technical_500_response
2014-02-06 22:56:38,323 :    html = reporter.get_traceback_html()
2014-02-06 22:56:38,323 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 323, in get_traceback_html
2014-02-06 22:56:38,324 :    c = Context(self.get_traceback_data())
2014-02-06 22:56:38,324 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 281, in get_traceback_data
2014-02-06 22:56:38,324 :    frames = self.get_traceback_frames()
2014-02-06 22:56:38,324 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 428, in get_traceback_frames
2014-02-06 22:56:38,325 :    pre_context_lineno, pre_context, context_line, post_context = self._get_lines_from_file(filename, lineno, 7, loader, module_name)
2014-02-06 22:56:38,325 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 379, in _get_lines_from_file
2014-02-06 22:56:38,325 :    source = loader.get_source(module_name)
2014-02-06 22:56:38,325 :  File "<frozen importlib._bootstrap>", line 605, in _requires_frozen_wrapper
2014-02-06 22:56:38,325 :ImportError: importlib._bootstrap is not a frozen module
2014-02-06 23:05:54,934 :Traceback (most recent call last):
2014-02-06 23:05:54,936 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 339, in urlconf_module
2014-02-06 23:05:54,937 :    return self._urlconf_module
2014-02-06 23:05:54,937 :AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2014-02-06 23:05:54,937 :
2014-02-06 23:05:54,937 :During handling of the above exception, another exception occurred:
2014-02-06 23:05:54,937 :
2014-02-06 23:05:54,937 :Traceback (most recent call last):
2014-02-06 23:05:54,937 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 101, in get_response
2014-02-06 23:05:54,937 :    resolver_match = resolver.resolve(request.path_info)
2014-02-06 23:05:54,937 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 318, in resolve
2014-02-06 23:05:54,938 :    for pattern in self.url_patterns:
2014-02-06 23:05:54,938 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 346, in url_patterns
2014-02-06 23:05:54,938 :    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2014-02-06 23:05:54,938 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 341, in urlconf_module
2014-02-06 23:05:54,939 :    self._urlconf_module = import_module(self.urlconf_name)
2014-02-06 23:05:54,939 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 23:05:54,939 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 23:05:54,939 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 23:05:54,939 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 23:05:54,940 :  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
2014-02-06 23:05:54,940 :  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
2014-02-06 23:05:54,940 :  File "<frozen importlib._bootstrap>", line 1022, in load_module
2014-02-06 23:05:54,940 :  File "<frozen importlib._bootstrap>", line 1003, in load_module
2014-02-06 23:05:54,940 :  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
2014-02-06 23:05:54,941 :  File "<frozen importlib._bootstrap>", line 868, in _load_module
2014-02-06 23:05:54,941 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 23:05:54,941 :  File "/home/KaylaHood/mysite/mysite/urls.py", line 12, in <module>
2014-02-06 23:05:54,942 :    url(r'^home/KaylaHood/mysite/'),
2014-02-06 23:05:54,942 :TypeError: url() missing 1 required positional argument: 'view'
2014-02-06 23:05:54,942 :
2014-02-06 23:05:54,942 :During handling of the above exception, another exception occurred:
2014-02-06 23:05:54,942 :
2014-02-06 23:05:54,942 :Traceback (most recent call last):
2014-02-06 23:05:54,942 :  File "/bin/user_wsgi_wrapper.py", line 67, in __call__
2014-02-06 23:05:54,943 :    self.error_log_file.logger.exception("Error running WSGI application")
2014-02-06 23:05:54,943 :  File "/usr/lib/python3.3/logging/__init__.py", line 1269, in exception
2014-02-06 23:05:54,943 :    self.error(msg, *args, **kwargs)
2014-02-06 23:05:54,943 :  File "/usr/lib/python3.3/logging/__init__.py", line 1262, in error
2014-02-06 23:05:54,944 :    self._log(ERROR, msg, args, **kwargs)
2014-02-06 23:05:54,944 :  File "/usr/lib/python3.3/logging/__init__.py", line 1368, in _log
2014-02-06 23:05:54,945 :    self.handle(record)
2014-02-06 23:05:54,945 :  File "/usr/lib/python3.3/logging/__init__.py", line 1377, in handle
2014-02-06 23:05:54,946 :    if (not self.disabled) and self.filter(record):
2014-02-06 23:05:54,946 :  File "/usr/lib/python3.3/logging/__init__.py", line 687, in filter
2014-02-06 23:05:54,946 :    for f in self.filters:
2014-02-06 23:05:54,947 :  File "/bin/user_wsgi_wrapper.py", line 59, in __call__
2014-02-06 23:05:54,947 :    app_iterator = self.app(environ, start_response)
2014-02-06 23:05:54,947 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__
2014-02-06 23:05:54,947 :    response = self.get_response(request)
2014-02-06 23:05:54,947 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 196, in get_response
2014-02-06 23:05:54,947 :    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
2014-02-06 23:05:54,948 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 231, in handle_uncaught_exception
2014-02-06 23:05:54,948 :    return debug.technical_500_response(request, *exc_info)
2014-02-06 23:05:54,948 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 69, in technical_500_response
2014-02-06 23:05:54,948 :    html = reporter.get_traceback_html()
2014-02-06 23:05:54,948 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 323, in get_traceback_html
2014-02-06 23:05:54,949 :    c = Context(self.get_traceback_data())
2014-02-06 23:05:54,949 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 281, in get_traceback_data
2014-02-06 23:05:54,949 :    frames = self.get_traceback_frames()
2014-02-06 23:05:54,949 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 428, in get_traceback_frames
2014-02-06 23:05:54,949 :    pre_context_lineno, pre_context, context_line, post_context = self._get_lines_from_file(filename, lineno, 7, loader, module_name)
2014-02-06 23:05:54,949 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 379, in _get_lines_from_file
2014-02-06 23:05:54,950 :    source = loader.get_source(module_name)
2014-02-06 23:05:54,950 :  File "<frozen importlib._bootstrap>", line 605, in _requires_frozen_wrapper
2014-02-06 23:05:54,950 :ImportError: importlib._bootstrap is not a frozen module
2014-02-06 23:05:55,795 :Traceback (most recent call last):
2014-02-06 23:05:55,796 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 339, in urlconf_module
2014-02-06 23:05:55,796 :    return self._urlconf_module
2014-02-06 23:05:55,796 :AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'
2014-02-06 23:05:55,796 :
2014-02-06 23:05:55,796 :During handling of the above exception, another exception occurred:
2014-02-06 23:05:55,796 :
2014-02-06 23:05:55,796 :Traceback (most recent call last):
2014-02-06 23:05:55,796 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 101, in get_response
2014-02-06 23:05:55,797 :    resolver_match = resolver.resolve(request.path_info)
2014-02-06 23:05:55,797 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 318, in resolve
2014-02-06 23:05:55,797 :    for pattern in self.url_patterns:
2014-02-06 23:05:55,797 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 346, in url_patterns
2014-02-06 23:05:55,797 :    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2014-02-06 23:05:55,798 :  File "/usr/local/lib/python3.3/dist-packages/django/core/urlresolvers.py", line 341, in urlconf_module
2014-02-06 23:05:55,798 :    self._urlconf_module = import_module(self.urlconf_name)
2014-02-06 23:05:55,798 :  File "/usr/lib/python3.3/importlib/__init__.py", line 90, in import_module
2014-02-06 23:05:55,798 :    return _bootstrap._gcd_import(name[level:], package, level)
2014-02-06 23:05:55,798 :  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
2014-02-06 23:05:55,799 :  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
2014-02-06 23:05:55,799 :  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
2014-02-06 23:05:55,799 :  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
2014-02-06 23:05:55,799 :  File "<frozen importlib._bootstrap>", line 1022, in load_module
2014-02-06 23:05:55,799 :  File "<frozen importlib._bootstrap>", line 1003, in load_module
2014-02-06 23:05:55,800 :  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
2014-02-06 23:05:55,800 :  File "<frozen importlib._bootstrap>", line 868, in _load_module
2014-02-06 23:05:55,800 :  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
2014-02-06 23:05:55,800 :  File "/home/KaylaHood/mysite/mysite/urls.py", line 12, in <module>
2014-02-06 23:05:55,801 :    url(r'^home/KaylaHood/mysite/'),
2014-02-06 23:05:55,801 :TypeError: url() missing 1 required positional argument: 'view'
2014-02-06 23:05:55,801 :
2014-02-06 23:05:55,801 :During handling of the above exception, another exception occurred:
2014-02-06 23:05:55,801 :
2014-02-06 23:05:55,802 :Traceback (most recent call last):
2014-02-06 23:05:55,802 :  File "/bin/user_wsgi_wrapper.py", line 67, in __call__
2014-02-06 23:05:55,802 :    self.error_log_file.logger.exception("Error running WSGI application")
2014-02-06 23:05:55,802 :  File "/usr/lib/python3.3/logging/__init__.py", line 1269, in exception
2014-02-06 23:05:55,803 :    self.error(msg, *args, **kwargs)
2014-02-06 23:05:55,803 :  File "/usr/lib/python3.3/logging/__init__.py", line 1262, in error
2014-02-06 23:05:55,803 :    self._log(ERROR, msg, args, **kwargs)
2014-02-06 23:05:55,804 :  File "/usr/lib/python3.3/logging/__init__.py", line 1368, in _log
2014-02-06 23:05:55,804 :    self.handle(record)
2014-02-06 23:05:55,804 :  File "/usr/lib/python3.3/logging/__init__.py", line 1377, in handle
2014-02-06 23:05:55,805 :    if (not self.disabled) and self.filter(record):
2014-02-06 23:05:55,805 :  File "/usr/lib/python3.3/logging/__init__.py", line 687, in filter
2014-02-06 23:05:55,806 :    for f in self.filters:
2014-02-06 23:05:55,806 :  File "/bin/user_wsgi_wrapper.py", line 59, in __call__
2014-02-06 23:05:55,806 :    app_iterator = self.app(environ, start_response)
2014-02-06 23:05:55,806 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/wsgi.py", line 206, in __call__
2014-02-06 23:05:55,806 :    response = self.get_response(request)
2014-02-06 23:05:55,806 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 196, in get_response
2014-02-06 23:05:55,807 :    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
2014-02-06 23:05:55,807 :  File "/usr/local/lib/python3.3/dist-packages/django/core/handlers/base.py", line 231, in handle_uncaught_exception
2014-02-06 23:05:55,807 :    return debug.technical_500_response(request, *exc_info)
2014-02-06 23:05:55,807 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 69, in technical_500_response
2014-02-06 23:05:55,807 :    html = reporter.get_traceback_html()
2014-02-06 23:05:55,807 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 323, in get_traceback_html
2014-02-06 23:05:55,808 :    c = Context(self.get_traceback_data())
2014-02-06 23:05:55,808 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 281, in get_traceback_data
2014-02-06 23:05:55,808 :    frames = self.get_traceback_frames()
2014-02-06 23:05:55,808 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 428, in get_traceback_frames
2014-02-06 23:05:55,809 :    pre_context_lineno, pre_context, context_line, post_context = self._get_lines_from_file(filename, lineno, 7, loader, module_name)
2014-02-06 23:05:55,809 :  File "/usr/local/lib/python3.3/dist-packages/django/views/debug.py", line 379, in _get_lines_from_file
2014-02-06 23:05:55,809 :    source = loader.get_source(module_name)
2014-02-06 23:05:55,809 :  File "<frozen importlib._bootstrap>", line 605, in _requires_frozen_wrapper
2014-02-06 23:05:55,809 :ImportError: importlib._bootstrap is not a frozen module

Terribly sorry about the long post. I don't know how to make that hidden except for with BB code but I doubt that's enabled here. Thanks for your amazing help and service! I am doing this site for a senior project in high school and I've found that by doing it solo (not learning any of the code in a class) I've tasked myself with an enormous challenge. :P

edit by dev for formatting

It looks to me (from the naming and code) like you're trying to do our Django tutorial in Django 1.6. The tutorial that we provide will only work correctly for Django 1.3. I have updated the tutorial to state this to avoid further confusion.

You can use this Django tutorial. Just remember that the stuff under 'Creating a project' will already be done for you by PythonAnywhere.

Thanks! So sorry about that, I guess I figured the tutorial was updated (which was pretty silly of me, since it usually takes a while for that to happen). Now I can really start working!