Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

'CharField' object has no attribute 'model' #13

Open
evanreiser opened this Issue · 0 comments

1 participant

@evanreiser

This is on django 1.2.1

when viewing: /admin/djangodblog/errorbatch/

Traceback:
File "c:\Python25\lib\site-packages\django\core\handlers\base.py" in get_response

  1. response = callback(request, callback_args, *callback_kwargs) File "c:\Python25\lib\site-packages\django\contrib\admin\sites.py" in root
  2. return self.model_page(request, *url.split('/', 2)) File "c:\Python25\lib\site-packages\django\views\decorators\cache.py" in _wrapped_view_func
  3. response = view_func(request, args, *kwargs) File "c:\Python25\lib\site-packages\django\contrib\admin\sites.py" in model_page
  4. return admin_obj(request, rest_of_url) File "c:\Python25\lib\site-packages\django\contrib\admin\options.py" in call
  5. return self.changelist_view(request) File "c:\Python25\lib\site-packages\django\contrib\admin\options.py" in changelist_view
  6. self.date_hierarchy, self.search_fields, self.list_select_related, self.list_per_page, self.list_editable, self) File "c:\Python25\lib\site-packages\django\contrib\admin\views\main.py" in init
  7. self.filter_specs, self.has_filters = self.get_filters(request) File "c:\Python25\lib\site-packages\django\contrib\admin\views\main.py" in get_filters
  8. spec = FilterSpec.create(f, request, self.params, self.model, self.model_admin) File "c:\Python25\lib\site-packages\django\contrib\admin\filterspecs.py" in create
  9. if test(f): File "C:\Users\Evan Reiser\workspace\BloomSpot-trunk..\BloomSpot-trunk\djangodblog\admin.py" in
  10. FilterSpec.filter_specs.insert(-1, (lambda f: f.model._meta.app_label == 'djangodblog', CachedAllValuesFilterSpec))

Exception Type: AttributeError at /admin/djangodblog/error/
Exception Value: 'CharField' object has no attribute 'model'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.