has anyone else seen this?

*****
TypeError at /admin/
root() takes exactly 3 arguments (2 given)

Request Method: GET
Request URL:    http://www.wizcal.com/admin/
Exception Type: TypeError
Exception Value:        root() takes exactly 3 arguments (2 given)
*****

here's my urls.py:
*****
      1 from django.conf.urls.defaults import *
      2 from django.contrib import admin
      3 from wizcal.app.models import site1
      4
      5 urlpatterns = patterns('',
      6     # Example:
      7     # (r'^wizcal/', include('wizcal.foo.urls')),
      8
      9     # Uncomment this for admin:
     10      (r'^admin/.*', site1.root),
     11 )
*****

admin.site.root() takes 3 arguments: self, request, url.  There is no
way to specify arguments in urls.py, so I have no idea how to fix
this.  Any help would be appreciated.  Thanks.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to