Well, as it turns out, my URLConf looked something like: urlpatterns = patterns('devsite.djpages.views', (r'(?P<pagename>\w+)/$', 'display_page', 'dj_pages_display'), (r'$', 'display_page', 'dj_pages_default'), )
The default value for the second one was processed by putting "pagename=GET_DEFAULT_FROM_SETTINGS" or something like that in the def() statement for the view. But Python expected the name of the URLConf to be the 4th argument, but in mine it was the 3rd, which it would normally interpret as a dictionary. Obviously, strings are not dictionaries. After I changed the 2nd view to handle the default page from the URLConf and added a dummy variable "spam" with the value "eggs" for the both of them just so the first definition would have a dictionary is argument 3, everything works now. Now all I have to do is write the code that makes the application actually do something. Regards, Leaf On Sep 1, 1:53 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2008-09-01 at 10:39 -0700, Leaf wrote: > > All the info is athttp://dpaste.com/75250/. I really have no idea > > what this error is trying to tell me. Can anyone explain what it might > > be? > > It's an internal Python error that is raised when you try to update a > dictionary with bad data. What it almost certainly means in this case is > that the dictionary of default arguments in one of the lines of your > URLConf file is bad. > > Regards, > Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---