erickpeirson / Dolon

0 stars 0 forks source link

FieldError at /admin/dolon/socialuser/add/ Unknown field(s) (content_by_this_user) specified for SocialUser. Check fields/fieldsets/exclude attributes of class SocialUserAdmin. #29

Closed hmsolis closed 10 years ago

hmsolis commented 10 years ago

I went into the "social users" part of the site and clicked "add social user". This came up.

bug

Traceback: Environment:

Request Method: GET Request URL: http://roy.fulton.asu.edu/dolon/admin/dolon/socialuser/add/

Django Version: 1.6.5 Python Version: 2.7.3 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_extensions', 'dolon', 'gunicorn', 'autocomplete_light', 'south') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback: File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1. response = wrapped_callback(request, _callback_args, *_callback_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
  2. return self.admin_site.admin_view(view)(_args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  3. response = view_func(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  4. response = view_func(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
  5. return view(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
  6. return bound_func(_args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  7. response = view_func(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
  8. return func(self, _args2, *_kwargs2) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/db/transaction.py" in inner
  9. return func(_args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in add_view
  10. ModelForm = self.get_form(request) File "/home/bpeirson/DREAM/dream/dolon/admin.py" in get_form
  11. form = super(SocialUserAdmin, self).get_form(request, obj, **kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in get_form
  12. % (e, self.class.name))

Exception Type: FieldError at /admin/dolon/socialuser/add/ Exception Value: Unknown field(s) (content_by_this_user) specified for SocialUser. Check fields/fieldsets/exclude attributes of class SocialUserAdmin.

erickpeirson commented 10 years ago

Thanks Holly, I'll look into this today.

http://gradinfo.cbs.asu.edu/?page_id=49 NSF Graduate Research Fellow Center for Biology & Society School of Life Sciences Arizona State University

On Tue, Sep 9, 2014 at 10:30 AM, Holly Solis notifications@github.com wrote:

I went into the "social users" part of the site and clicked "add social user". This came up.

[image: bug] https://cloud.githubusercontent.com/assets/8182813/4206031/e14eaf70-3846-11e4-81bc-411210f77929.JPG

Traceback: Environment:

Request Method: GET Request URL: http://roy.fulton.asu.edu/dolon/admin/dolon/socialuser/add/

Django Version: 1.6.5 Python Version: 2.7.3 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_extensions', 'dolon', 'gunicorn', 'autocomplete_light', 'south') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback: File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response

  1. response = wrapped_callback(request, _callback_args, *_callback_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in wrapper
  2. return self.admin_site.admin_view(view)(_args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  3. response = view_func(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/views/decorators/cache.py" in _wrapped_view_func
  4. response = view_func(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/sites.py" in inner
  5. return view(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapper
  6. return bound_func(_args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
  7. response = view_func(request, _args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/utils/decorators.py" in bound_func
  8. return func(self, _args2, *_kwargs2) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/db/transaction.py" in inner
  9. return func(_args, *_kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in add_view
  10. ModelForm = self.get_form(request) File "/home/bpeirson/DREAM/dream/dolon/admin.py" in get_form
  11. form = super(SocialUserAdmin, self).get_form(request, obj, **kwargs) File "/home/bpeirson/DREAM/venv/local/lib/python2.7/site-packages/django/contrib/admin/options.py" in get_form
  12. % (e, self.class.name))

Exception Type: FieldError at /admin/dolon/socialuser/add/ Exception Value: Unknown field(s) (content_by_this_user) specified for SocialUser. Check fields/fieldsets/exclude attributes of class SocialUserAdmin.

— Reply to this email directly or view it on GitHub https://github.com/erickpeirson/Dolon/issues/29.

erickpeirson commented 10 years ago

Ok, think I got it; give another try? (commits ecbec08d43e03b59c92eb0a3c6dfd762a8f3a0e3 and 456c8e1d06476ef7da0f794cd0822014fa057b28)

hmsolis commented 10 years ago

Yep! That made it work. -Holly S.

On Tue, Sep 9, 2014 at 12:20 PM, Erick notifications@github.com wrote:

Ok, think I got it; give another try?

— Reply to this email directly or view it on GitHub https://github.com/erickpeirson/Dolon/issues/29#issuecomment-55019470.

Holly Solis hmsolis@asu.edu (626) 261-0921

erickpeirson commented 10 years ago

Great!

http://gradinfo.cbs.asu.edu/?page_id=49 NSF Graduate Research Fellow Center for Biology & Society School of Life Sciences Arizona State University

On Tue, Sep 9, 2014 at 12:26 PM, Holly Solis notifications@github.com wrote:

Yep! That made it work. -Holly S.

On Tue, Sep 9, 2014 at 12:20 PM, Erick notifications@github.com wrote:

Ok, think I got it; give another try?

— Reply to this email directly or view it on GitHub https://github.com/erickpeirson/Dolon/issues/29#issuecomment-55019470.

Holly Solis hmsolis@asu.edu (626) 261-0921

— Reply to this email directly or view it on GitHub https://github.com/erickpeirson/Dolon/issues/29#issuecomment-55020203.