On Thu, Jul 8, 2010 at 12:39 PM, David Ally <david_a...@yahoo.com> wrote:

> 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
>
>
Please create a new thread if you a specific Q.

To answer your Q above, it would be better(and nicer) if you can share the
traceback exception.

-V
http://theindianstreet.blogspot.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-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.

Reply via email to