Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'CfgNotify' object has no attribute 'dict' #6

Open
JerryCheng1 opened this issue Apr 17, 2019 · 0 comments
Open

AttributeError: 'CfgNotify' object has no attribute 'dict' #6

JerryCheng1 opened this issue Apr 17, 2019 · 0 comments

Comments

@JerryCheng1
Copy link

把app的utils里的query_to_list删了,不再需要转list了,直接用就OK了

views.py那段dict再改为:

    dict = {'content': query, 'total_count': total_count,
            'total_page': math.ceil(total_count / length), 'page': page, 'length': length}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant