On Wed, Aug 29, 2012 at 10:58 AM, Yo-Yo Ma <baxterstock...@gmail.com> wrote: > The following gist demonstrates a strange phenomenon, which occurs when I > use ``python manage.py shell``, but not when I use ``ipython`` alone. > > https://gist.github.com/f8c2fd97647de90d915a > > I'm not certain whether this is a known issue, or whether it's even a Django > bug, but certainly nothing of the sort occurs in iPython when used alone. > This occurs with ANY name. I first noticed it when I tried to create a form, > and there was a name error on ``forms`` on the line of my first field > declaration. > > IPython 0.12.1 > Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34) >
This is almost certainly related to https://code.djangoproject.com/ticket/18204 I can repro just as Alex Gaynor did, and the patch from the above ticket fixes it. Best, Alex Ogier -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.