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
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
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
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
4 matches
Mail list logo