On Wed, Sep 9, 2009 at 1:16 PM, Vlastimil Zima <[email protected]> wrote: > > Neither name nor app_label fixed situation. > AdminSite instance django.contrib.admin.site is constructed without > any names and it works. > In documentation is written: "If no instance name is provided, a > default instance name of admin will be used."
Ah, then you either need to either override only the get_urls() method and leave the urls() method/url property one to be handled Django or to write your urls() method so it returns the three tuple the rest of the admin code is expecting (you are retuning a a single value). This new capability was added in Django 1.1 core as part of the URL namespacing changes and and is described both here: http://docs.djangoproject.com/en/dev/topics/http/urls/#defining-url-namespaces and in the Django 1.1 release notes. HTH, -- Ramiro Morales http://rmorales.net --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

