On Thu, Jul 8, 2010 at 12:39 PM, David Ally <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.