This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

DjangoAdmin Error from http://stackoverflow.com/q/1033443/49

By: a guest on Sep 14th, 2011  |  syntax: None  |  size: 2.97 KB  |  views: 15  |  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: GET
  4. Request URL: http://127.0.0.1:8000/admin/
  5. Django Version: 1.0.4
  6. Python Version: 2.7.1
  7. Installed Applications:
  8. ['django.contrib.auth',
  9.  'django.contrib.contenttypes',
  10.  'django.contrib.sessions',
  11.  'django.contrib.sites',
  12.  'django.contrib.humanize',
  13.  'pinax.templatetags',
  14.  'notification',
  15.  'django_openid',
  16.  'emailconfirmation',
  17.  'mailer',
  18.  'announcements',
  19.  'pagination',
  20.  'timezones',
  21.  'ajax_validation',
  22.  'uni_form',
  23.  'staticfiles',
  24.  'basic_profiles',
  25.  'account',
  26.  'signup_codes',
  27.  'about',
  28.  'django.contrib.admin',
  29.  'PinaxFeedPaper.apps.FeedPaper']
  30. Installed Middleware:
  31. ('django.middleware.common.CommonMiddleware',
  32.  'django.contrib.sessions.middleware.SessionMiddleware',
  33.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  34.  'django_openid.consumer.SessionConsumer',
  35.  'account.middleware.LocaleMiddleware',
  36.  'django.middleware.doc.XViewMiddleware',
  37.  'pagination.middleware.PaginationMiddleware',
  38.  'pinax.middleware.security.HideSensistiveFieldsMiddleware')
  39.  
  40.  
  41. Traceback:
  42. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
  43.   82.                     request.path_info)
  44. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in resolve
  45.   181.             for pattern in self.urlconf_module.urlpatterns:
  46. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/core/urlresolvers.py" in _get_urlconf_module
  47.   205.             self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
  48. File "/home/gautam/Aptana Studio 3 Workspace/Topic Pages/topicpages/G/PinaxFeedPaper/../PinaxFeedPaper/urls.py" in <module>
  49.   7. admin.autodiscover()
  50. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/contrib/admin/__init__.py" in autodiscover
  51.   54.         __import__("%s.admin" % app)
  52. File "/home/gautam/Aptana Studio 3 Workspace/Topic Pages/topicpages/G/PinaxFeedPaper/../PinaxFeedPaper/apps/FeedPaper/admin.py" in <module>
  53.   24. admin.site.register( RSSFeed , Admin_RSSFeed )
  54. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in register
  55.   77.             validate(admin_class, model)
  56. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/contrib/admin/validation.py" in validate
  57.   25.     validate_base(cls, model)
  58. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/contrib/admin/validation.py" in validate_base
  59.   166.             check_formfield(cls, model, opts, 'fields', field)
  60. File "/home/gautam/.virtualenvs/pinax-env/local/lib/python2.7/site-packages/django/contrib/admin/validation.py" in check_formfield
  61.   271.                 "is missing from the form." % (cls.__name__, label, field))
  62.  
  63. Exception Type: ImproperlyConfigured at /admin/
  64. Exception Value: 'Admin_RSSFeed.fields' refers to field 'created_at' that is missing from the form.
clone this paste RAW Paste Data