Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 15th, 2010  |  syntax: None  |  size: 3.30 KB  |  views: 204  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Environment:
  2.  
  3. Request Method: POST
  4. Request URL: http://192.168.1.6:8080/admin/idx/minimum_price/add/
  5. Django Version: 1.0.4
  6. Python Version: 2.4.6
  7. Installed Applications:
  8. ['django.contrib.auth',
  9.  'django.contrib.contenttypes',
  10.  'django.contrib.sessions',
  11.  'django.contrib.sites',
  12.  'django.contrib.humanize',
  13.  'django.contrib.comments',
  14.  'django.contrib.markup',
  15.  'django_wysiwyg',
  16.  'tagging',
  17.  'blog',
  18.  'pyxisTools',
  19.  'smart_selects',
  20.  'idx',
  21.  'captcha',
  22.  'cms.plugins.feedback',
  23.  'feedback',
  24.  'photologue',
  25.  'tagging',
  26.  'cms.plugins.photologue_plugin',
  27.  'filebrowser',
  28.  'django.contrib.auth',
  29.  'django.contrib.contenttypes',
  30.  'django.contrib.sessions',
  31.  'django.contrib.admin',
  32.  'django.contrib.sites',
  33.  'cms',
  34.  'cms.plugins.text',
  35.  'cms.plugins.file',
  36.  'cms.plugins.image',
  37.  'cms.plugins.picture',
  38.  'cms.plugins.flash',
  39.  'cms.plugins.idx_search',
  40.  'mptt']
  41. Installed Middleware:
  42. ('django.middleware.common.CommonMiddleware',
  43.  'django.contrib.sessions.middleware.SessionMiddleware',
  44.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  45.  'middleware.MobileDetection.MobileDetectionMiddleware',
  46.  'cms.middleware.CurrentSiteMiddleware',
  47.  'cms.middleware.CurrentPageMiddleware')
  48.  
  49.  
  50. Traceback:
  51. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/core/handlers/base.py" in get_response
  52.   91.                 response = callback(request, *callback_args, **callback_kwargs)
  53. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/contrib/admin/sites.py" in root
  54.   158.                 return self.model_page(request, *url.split('/', 2))
  55. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/views/decorators/cache.py" in _wrapped_view_func
  56.   44.         response = view_func(request, *args, **kwargs)
  57. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/contrib/admin/sites.py" in model_page
  58.   177.         return admin_obj(request, rest_of_url)
  59. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/contrib/admin/options.py" in __call__
  60.   191.             return self.add_view(request)
  61. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/db/transaction.py" in _commit_on_success
  62.   238.                 res = func(*args, **kw)
  63. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/contrib/admin/options.py" in add_view
  64.   507.                 self.log_addition(request, new_object)
  65. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/contrib/admin/options.py" in log_addition
  66.   296.             object_repr     = force_unicode(object),
  67. File "/media/Storage/virtualEnv/server_replica/lib/python2.4/site-packages/Django-1.0.4-py2.4.egg/django/utils/encoding.py" in force_unicode
  68.   71.                 s = unicode(s)
  69. File "/media/Storage/virtualEnv/RankReality/rankrea/django_site/idx/models.py" in __unicode__
  70.   70.         return locale.currency(self.min_price, grouping=True)
  71.  
  72. Exception Type: AttributeError at /admin/idx/minimum_price/add/
  73. Exception Value: 'module' object has no attribute 'currency'
clone this paste RAW Paste Data