I'm pretty new to Python (2.7) and Django (1.3.1) and I'm not sure where what the next step for debugging this issue should be. A little background, this app is running just fine in my production environment which is on an EC2 instance running Ubuntu. I'm having trouble getting it running on my dev machine running Mountain Lion. I've followed what seems like standard practice and used virtualenv to keep everything properly sandboxed.
The error is happening when trying to render this pretty innocuous line:
<meta property="facebook:login_url" content="{% url socialauth_begin 'facebook' %}" />
The exception being thrown:
Exception Value: Caught ImportError while rendering: cannot import name prepare_lookup_value
Exception Location: /dev/Sites/whattest/env/lib/python2.7/site-packages/grappelli/views/related.py in <module>, line 15
line 15: from django.contrib.admin.util import prepare_lookup_value
I assume that it's a path problem of some kind but I'm at a loss for where / how to track it down at this point.