Django Report Builder Throws immediate error after installing

66 views
Skip to first unread message

dba...@abemblem.com

unread,
May 13, 2015, 10:01:45 AM5/13/15
to django...@googlegroups.com
So I've figured out that there's nothing "wrong" with Django Report Builder and there's nothing technically "wrong" with my code. But I know I have to format my code structure in such a way that the Report Builder Can interact with it.

Unfortunately, there is very little documentation on Django Report Builder. Is ANYONE familiar with this app and how to structure models so that they will interact appropriately? This is the error I keep getting. Not even sure where to begin to start in restructuring my code. I'm new to python and Django.

Thanks!

FieldError at /admin/report_builder/report/

Cannot resolve keyword 'name' into field. Choices are: app_label, id, logentry, model, permission, report

Request Method: GET
Django Version: 1.8
Exception Type: FieldError
Exception Value:

Cannot resolve keyword 'name' into field. Choices are: app_label, id, logentry, model, permission, report

Exception Location: /usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py in names_to_path, line 1386
Python Executable: /usr/bin/python
Python Version: 2.7.6

James Schneider

unread,
May 13, 2015, 12:45:35 PM5/13/15
to django...@googlegroups.com

You should post the code for the view, model, and the entire traceback.

I often get messages like this when using the SuccessMessages view mixin and I reference an invalid field name in success_messages within the view (usually due to copy/paste from a similar view).

-James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/15362905-1e80-4a0b-98c5-ce461b85a6ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages