I can't activate the admin site

2011-10-30 Thread Juan Kepler
I've done what the "Writing your first Django app, part 1" said. It
works.

But in the part 2:
*I add "django.contrib.admin" to my INSTALLED_APPS setting.
*I run python manage.py syncdb.
And I have this error:
"File "...Python26\lib\site-packages\django\contrib\admin\sites.py",
line 250
return self.get_urls(), self.app_name, self.name
IndentationError: unexpected indent"

I have the latest version of Django installed, and I'm using PyCharm
as IDE

What can I do?
Thanks!

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: I can't activate the admin site

2011-10-31 Thread Juan Kepler
Thank you all.
I'm using Django 1.3
I may need to rewrite the file sites.py
I'm sure I did not change anything in that file.

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



VPython and Django

2011-02-10 Thread Juan Kepler
How I can incorporate in a web a 3D image made with VPython using
Django?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.