[Snowy] Missing settings configuration



Environment:

Request Method: POST
Request URL: http://127.0.0.1:8000/accounts/openid/registration/
Django Version: 1.2.3
Python Version: 2.6.6
Installed Applications:
['core',
 'api',
 'accounts',
 'django_openid_auth',
 'notes',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.humanize',
 'registration',
 'south',
 'gravatar',
 'autoslug',
 'piston',
 'pagination']
Installed Middleware:
['django.middleware.common.CommonMiddleware',
 'django.contrib.csrf.middleware.CsrfViewMiddleware',
 'django.contrib.csrf.middleware.CsrfResponseMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'snowy.accounts.middleware.LocaleMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.transaction.TransactionMiddleware',
 'recaptcha_django.middleware.ReCaptchaMiddleware',
 'pagination.middleware.PaginationMiddleware']


Traceback:
File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py"
in get_response
  100.                     response = callback(request,
*callback_args, **callback_kwargs)
File "/home/omaciel/hacking/snowy/accounts/views.py" in openid_registration
  61.             if settings.MODERATE_NEW_USERS:
File "/usr/lib/python2.6/site-packages/django/utils/functional.py" in
__getattr__
  277.         return getattr(self._wrapped, name)

Exception Type: AttributeError at /accounts/openid/registration/
Exception Value: 'Settings' object has no attribute 'MODERATE_NEW_USERS'


-- 
Og B. Maciel
GNOME Foundation Board of Directors

omaciel foresightlinux org
ogmaciel gnome org
ogmaciel ubuntu com

GPG Keys: D5CFC202

http://www.ogmaciel.com (en_US)
http://blog.ogmaciel.com (pt_BR)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]