Hi, I need some help on part2 of the Django tutorial, I know python is particular about spaces and the fieldsets composition;
Class PollAdmin(admin.ModelAdmin): fieldsets = [ (None, {'fields': ['question']}), ('Date information', {'fields': ['pub_date']}), ] admin.site.register(Poll, PollAdmin) And the subsequent similar composition gave me syntax error, the traceback said something about "None", Please help me to get past this stage David ________________________________ From: James Bennett <ubernost...@gmail.com> To: django-users@googlegroups.com Sent: Tue, July 6, 2010 5:03:50 PM Subject: Re: Tutorial Help On Tue, Jul 6, 2010 at 10:56 AM, Bradley Hintze <bradle...@aggiemail.usu.edu> wrote: > Error: No module named pollsdjango.contrib.admin Look at your INSTALLED_APPS setting. You're missing a comma between the polls app and the admin app. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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-us...@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.