DATABASE_NAME = os.path.join(PROJECT_ROOT, 'users.db') # Or path to database file if using sqlite3.
ROOT_URLCONF = 'urls'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
os.path.join(PROJECT_ROOT, 'templates')
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.admin',
'django.contrib.sessions',
'django.contrib.sites',
'loginreg'
)
Now when I run my application everything seems to work! Everything but my nosetests which returns long trace for me
which contains one line (displayed many times):
sub_match = pattern.resolve(new_path)
File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", line 181, in resolve
sub_match = pattern.resolve(new_path)
File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", line 181, in resolve
sub_match = pattern.resolve(new_path)
File "/Library/Python/2.5/site-packages/django/core/urlresolvers.py", line 179, in resolve
for pattern in self.urlconf_module.urlpatterns:
RuntimeError: maximum recursion depth exceeded
(I use: beryl:db_settings oleg$ nosetests --cover-package=loginreg --with-coverage to run tests)
Could anyone suggest why I am getting it?
Thanks,
Oleg