hmm, I suspect that the part of the error message you posted *may* not be completely clear on where the indentation problem is actually occurring. Anyways, if you want to be sure then I would try using Django 1.3 since it's thoroughly tested.
Im' still half asleep so I could be overlooking something but that'd be probably the first place to try :) There's no guarantees they don't have any bugs in the latest trunk. On Oct 30, 2011, at 9:42 PM, Juan Kepler wrote: > 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. > -- 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.