Re: newforms-admin: root() takes exactly 3 arguments (2 given)

2008-07-08 Thread furby
hmm...seems obvious now that you mention it =). Thanks for the help guys. On Jul 7, 9:25 pm, Juanjo Conti <[EMAIL PROTECTED]> wrote: > furby escribió: > [...] > > > admin.site.root() takes3arguments: self, request, url. There is no > > way to specifyargumentsin urls.py, so I have no idea how t

Re: newforms-admin: root() takes exactly 3 arguments (2 given)

2008-07-07 Thread Juanjo Conti
furby escribió: [...] > 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. > Yes there is. You can use regex groups: (r'^admin/(.*)', site1.root), The string

Re: newforms-admin: root() takes exactly 3 arguments (2 given)

2008-07-07 Thread Arien
On Mon, Jul 7, 2008 at 6:31 PM, furby <[EMAIL PROTECTED]> wrote: > > 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 # Exampl

newforms-admin: root() takes exactly 3 arguments (2 given)

2008-07-07 Thread furby
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 f