Re: GeometryField.geography = True Syntax Help GIS Model
On Sat, 3 Nov 2012 11:24:32 -0700 (PDT), JJ Zolper
<codingatmt@gmail.com> declaimed the following in
gmane.comp.python.django.user:
>
> All I need to know is if that is right? Is it a capitalized "true" so
> "TRUE" ?
>
The only part I can answer is that, in modern Python, "true" and
"TRUE" (without the quotes) would both produce an error as Python
recognizes "True" as a Boolean constant; the other spellings are unknown
names.
>>> print true
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
NameError: name 'true' is not defined
>>> print TRUE
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
NameError: name 'TRUE' is not defined
>>> print True
True
>>>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home