On 8/4/2010 5:43 AM, Erisa wrote: > Oops! I copied the old class with the "self" mistake left in. The > correct class is: > > class SettingsAdmin(admin.ModelAdmin): > def changelist_view(self, request, extra_context=None): > object_id = str(Settings.objects.all()[0].id) > return super(SettingsAdmin, self).change_view(self, request, > object_id, extra_context=None) > Congratulations nevertheless on moving so quickly from "that's a strange error" to "wow, I can fix this!".
regards Steve -- I'm no expert. "ex" == "has-been"; "spurt" == "drip under pressure" "expert" == "has-been drip under pressure". -- 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.