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

Error: maximum recursion depth exceeded #1

Closed
mpena2099 opened this issue Nov 26, 2014 · 1 comment
Closed

Error: maximum recursion depth exceeded #1

mpena2099 opened this issue Nov 26, 2014 · 1 comment
Labels

Comments

@mpena2099
Copy link

Hi!

I'm having problems when trying to run this app. The following error appears after I create the file change_list.html in change_list.html /templates/admin/:

RuntimeError at /admin/curriculos/curriculo/
maximum recursion depth exceeded while calling a Python object
Request Method: GET
Request URL:    http://127.0.0.1:8000/admin/curriculos/curriculo/
Django Version: 1.6.6
Exception Type: RuntimeError
Exception Value:    
maximum recursion depth exceeded while calling a Python object
Exception Location: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/utils/text.py in unescape_string_literal, line 398
Python Executable:  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Python Version: 2.7.2
Python Path:    
['/Users/edsonkim/Desktop/django/arquivostgm',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-2.2-py2.7.egg',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DjangoSEO-1.0-py2.7.egg',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
 '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL',
 '/Library/Python/2.7/site-packages']
Server time:    Qua, 26 Nov 2014 16:15:43 -0200
Error during template rendering

In template /Users/edsonkim/Desktop/django/arquivostgm/templates/admin/change_list.html, error at line 1
maximum recursion depth exceeded while calling a Python object
1   {% extends 'advancedsearchfilter/change_list.html' %}

Thanks!

@zombified
Copy link
Member

I think that you'll want to override templates/admin/<yourapp>/change_list.html or templates/admin/<your app>/<your model>/change_list.html. Right now it looks like you are overriding the base admin/change_list.html, which the advancedsearchfilter uses to extend from, which I think causes the circular dependency being encountered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants