Take the 2-minute tour ×  I am developing a web app with django
1.2.4, but I am having a problem with the Site model. I try:
from django.contrib.sites.models import Site if
Site._meta.installed:  I am getting the error undefined variable
from import: _meta in the if statement, any help?  share|improve
this question Where are you running that? Devserver? –  Lycha
Nov 3 '11 at 23:51 Works in 1.3.0. I know that doesn't answer
your question, but maybe take a look at the change logs. Or,
just look in the Site class. –  sberry Nov 3 '11 at 23:52 @Lycha
I am running in localhost for now –  juankysmith Nov 4 '11 at
6:42 By adding an "OK!" to your title, did you mean to imply
that you've solved the problem? If so, it might be better simply
delete your question, or if you think others may benefit from
your solution, post and answer with the details and mark it as
the answer. –  Shawn Chin Nov 7 '11 at 9:44 No, it was an error:
I unintentionally pressed Enter. Can you help me? –  juankysmith
Nov 7 '11 at 9:47 show 3 mo