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)
Jacob Kaplan-Moss
unread,
Aug 29, 2012, 12:37:13 PM8/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-d...@googlegroups.com
This looks like some sort of error in your environment; I can't reproduce it::
$ ./manage.py shell
In [1]: import decimal
In [2]: class F(object):
...: d = decimal.Decimal('0')
...:
In [3]:
$ ipython
In [1]: import decimal
In [2] >>> class F(object):
...: d = decimal.Decimal('0')
...:
-- "I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire) "The people's good is the highest law." -- Cicero
Alex Ogier
unread,
Aug 29, 2012, 6:26:04 PM8/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message