Caught an exception while rendering: No module named urls

236 views
Skip to first unread message

Hemant kshirsagar

unread,
Mar 5, 2010, 5:26:57 AM3/5/10
to django-admin-tools
Hi,
i am new in Django. as per the documentation, i installed Django-admin-
tool.
my urls.py looks like this....
from django.conf.urls.defaults import *
from django.contrib import admin
from admin_tools import *
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin_tools/', include('admin_tools.urls')),
(r'^admin/',include(admin.site.urls)),
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': 'C:/Django-1.1.1/django/bin/pingpong/
media/'}),
)

tough i am getting error report.... No module named urls

plz suggest ......

regards,
Hemant

David Jean Louis

unread,
Mar 5, 2010, 5:45:22 AM3/5/10
to django-ad...@googlegroups.com, Hemant kshirsagar
Le 05/03/2010 11:26, Hemant kshirsagar a �crit :

Hi, this is because the documentation is for the tip version of
django-admin-tools, see this thread:
http://groups.google.com/group/django-admin-tools/browse_thread/thread/5c10d065aef299a#msg_9c581725bb7b8735

Regards,

--
David

Hemant kshirsagar

unread,
Mar 5, 2010, 7:17:50 AM3/5/10
to django-admin-tools
Thanks David,
Now i am not getting errors....
But am also not getting dashboard and menu bar...it showing simple
admin page...

regards,
Hemant

On Mar 5, 3:26 pm, Hemant kshirsagar <hemantkshirsag...@gmail.com>
wrote:

David Jean Louis

unread,
Mar 5, 2010, 8:06:40 AM3/5/10
to django-ad...@googlegroups.com, Hemant kshirsagar
Le 05/03/2010 13:17, Hemant kshirsagar a �crit :

> Thanks David,
> Now i am not getting errors....
> But am also not getting dashboard and menu bar...it showing simple
> admin page...
>

Hemant, make sure you follow the documentation step by step, it should
work without problems:
http://packages.python.org/django-admin-tools/quickstart.html

If it still doesn't work please post your settings and urls here.

Pegards,

--
David

hemant kshirsagar

unread,
Mar 6, 2010, 1:49:06 PM3/6/10
to django-admin-tools
Hi David,
i am getting exception as 'in <string>' requires string as left
operand, not tuple
please suggest.
thanks and regards
Hemant

> --
> You received this message because you are subscribed to the Google Groups
> "django-admin-tools" group.
> To post to this group, send email to django-ad...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-admin-to...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-admin-tools?hl=en.
>
>

David Jean Louis

unread,
Mar 6, 2010, 4:40:32 PM3/6/10
to django-ad...@googlegroups.com, hemant kshirsagar
Le 06/03/2010 19:49, hemant kshirsagar a �crit :

> Hi David,
> i am getting exception as 'in<string>' requires string as left
> operand, not tuple
> please suggest.
> thanks and regards
> Hemant
>

Hi Hemant,

hard to tell if you don't give more details (full traceback, context of
the error etc...).

Regards,

--
David

Reply all
Reply to author
Forward
0 new messages