Hello, All,

I  am trying to migrate my application from Python 2.5, Dango 1.0,
PostgreSQL 8.4, Windows XP (32-bit) to Python 2.6, Django 1.1,
PostgreSQL 8.4, Windows 7 (64-bit).  I have donwloaded and installed
the 64-bit version of Python 2.6.

I am having a problem with a particular model under the new
configuration that doesn't give me any problems in the old
configuration.  I get the same error in my application as I do in the
generic admin view.  All of my other models and views seem to be
working fine, except those that utilize this model.

I've excerpted the relevant code and error messages below, but
hesitate to post the traceback and model definition since both are
rather lengthy, and if this is a relatively straightforward error, I'd
rather not waste your time and the space.

Any suggestions or ideas on where to focus my efforts?  If you'd like
to see the model and traceback, I'd be happy to post it.

Thanks,
Jim

App:
Caught an exception while rendering: maximum recursion depth exceeded
in cmp
...
{% for r in reg_list %}
...
(from views.py: reg_list = Registration.objects.filter
(registered_by=request.user).select_related()

Admin:
TemplateSyntaxError at /admin/registration/registration/
Caught an exception while rendering: maximum recursion depth exceeded
c:\python26\lib\site-packages\django\contrib\admin\templates\admin
\change_list.html, error at line 78:

76     {% block result_list %}
77          {% if action_form and actions_on_top and cl.full_result_count
%}{% admin_actions %}{% endif %}
78          {% result_list cl %}
79          {% if action_form and actions_on_bottom and
cl.full_result_count %}{% admin_actions %}{% endif %}
80      {% endblock %}


The traceback is rather lengthy,



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to