Re: No Module named URLS

2012-02-07 Thread coded kid
Thank so much! I've figured it out. Have fun :) On Feb 6, 8:55 pm, Sandro Dutra wrote: > If I understand you're writing a template for admin, and this is not > required 'cause the admin template is called by the contrib > 'django.contrib.admin', in INSTALLED_APPS (settings

Re: No Module named URLS

2012-02-06 Thread Sandro Dutra
If I understand you're writing a template for admin, and this is not required 'cause the admin template is called by the contrib 'django.contrib.admin', in INSTALLED_APPS (settings file), only if you want to customize admin, you can override the admin files, putting them o

Re: No Module named URLS

2012-02-06 Thread akaariai
On Feb 6, 5:09 pm, coded kid wrote: > Hey guys, I’m getting an error when trying to visit my admin page: > TemplateSyntaxError at /admin/ > Caught ImportError while rendering: No module named urls > > In urls.py > from django.conf.urls.defaults import patterns, include,

Re: No module named urls

2010-02-08 Thread Brian
Aaargh! I knew it had to be something like that! Thanx Karen. On Feb 7, 5:20 pm, Karen Tracey wrote: > On Sun, Feb 7, 2010 at 4:27 PM, Brian wrote: > > Hi all, > > > I'm putting together a Django application from scratch and have > > created my

Re: No module named urls

2010-02-07 Thread Karen Tracey
On Sun, Feb 7, 2010 at 4:27 PM, Brian wrote: > Hi all, > > I'm putting together a Django application from scratch and have > created my models. I'm trying to activate the admin site now and am > getting the above error. I've tried everything I found on mailing > lists

Re: No module named urls (again)

2009-12-16 Thread Pablo Solera
Hi Michael, Thanks for your suggestion. I´ve added the whole project to the PYTHONPATH under project->properties->PYTHONPATH->Add source folder And now it works! I had to solve an additional error, the app couldn´t find my "templates" dir. When running the server on eclipse, it threw an error

Re: No module named urls (again)

2009-12-15 Thread Michael K
On Dec 15, 3:18 pm, Pablo Solera wrote: > When I try to run the same server from eclipse, it seems that > something is not correct. > I got the error: ImportError at / "No module named urls" > I do have the urls.py on my application, and averything works fine out > of

Re: No module named urls

2008-12-08 Thread TheIvIaxx
Ok, i got it all sorted out. Thanks Rob and Malcom. It was a problem in my accounts.urls.py file. I had made some placeholder urls to edit and save but never put them into the view.py. I commented them out for now and it worked like a champ. Its wierd this never poped up in my windows box

Re: No module named urls

2008-12-04 Thread Rob Hudson
On Dec 4, 12:59 am, Rob Hudson <[EMAIL PROTECTED]> wrote: > I'll keep poking around a bit and see if I can dig up anything > further. I think I tracked it down... Looking at the tracebacks above, you can see the first time through, it winds up on line 198 which tries to import the urls.py

Re: No module named urls

2008-12-04 Thread Rob Hudson
On Dec 3, 11:01 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > This is an area where Django has poor error handling and we're slowly > cutting them down. So you have to do a bit of commenting out and > experimenting on the command line (just try a simple reverse() call each > time to trigger

Re: No module named urls

2008-12-03 Thread Malcolm Tredinnick
On Wed, 2008-12-03 at 22:49 -0800, Rob Hudson wrote: > It's odd... I'm getting the exact same error at the exact same spot, > running Django trunk r9550. What's strange is that it gets the 500 > error on first request, and is ok all subsequent requests. That type of error means there's a

Re: No module named urls

2008-12-03 Thread Rob Hudson
It's odd... I'm getting the exact same error at the exact same spot, running Django trunk r9550. What's strange is that it gets the 500 error on first request, and is ok all subsequent requests. On Nov 26, 9:34 am, TheIvIaxx <[EMAIL PROTECTED]> wrote: > So i've narrowed down the problem more.  

Re: No module named urls

2008-11-26 Thread TheIvIaxx
So i've narrowed down the problem more. Its failing on the template call to {% url django-admindocs-docroot as docsroot %} on the admin page and all other pages. If i remove this line, the site works just fine, recognizing all urls defined. Not sure just the template engine would fail to see

Re: No module named urls

2008-11-25 Thread TheIvIaxx
Its going to be running on apache, but right now im getting this error on the development server for django. The PYTHONPATH in the error has the project dir in it. I verified that PYTHONPATH has the project dir from putty. Not sure what else to try. Oh and starting the shell from a temp dir,

Re: No module named urls

2008-11-25 Thread Tim Chase
> I just moved my site to a production environment and i get > this error when trying to view the admin stuff. I want to say > its a path issue? If i use manage.py shell, i can import urls > just fine. Any ideas on why this error is popping up? My first thought concurs with your path issue.

Re: No module named urls

2008-09-11 Thread Geir Gunnarsson
Hi, This same error materialized in another way in my case. It said: Caught an exception while rendering: Tried change_stage in module django.contrib.admin.views.main. Error was: 'module' object has no attribute 'change_stage' I spent half a day figuring this out with the help of this