eclipse. Unfortunately, i am facing
>> issue when i run the project
>>
>> ImportError at / No module named urls
>>
>> Here Error Page http://dpaste.com/1499981/
>>
>> Eclipse Project
>> http://i1008.photobucket.com/albums/af204/shoaibshah01/Untitled
run the project
>
> ImportError at / No module named urls
>
> Here Error Page http://dpaste.com/1499981/
>
> Eclipse Project
> http://i1008.photobucket.com/albums/af204/shoaibshah01/Untitled_zps84f95b4f.jpg
>
--
You received this message because you are subscribed to th
I have created Djnago project in eclipse. Unfortunately, i am facing issue
when i run the project
ImportError at / No module named urls
Here Error Page http://dpaste.com/1499981/
Eclipse Project
http://i1008.photobucket.com/albums/af204/shoaibshah01/Untitled_zps84f95b4f.jpg
--
You
l or .htm...
>
> 2012/2/6 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 renderi
server and acess localhost/admin/.
Only this, nothing more...
Templates.py? Templates can have any extension, this is true, but
usually we put .html or .htm...
2012/2/6 akaariai :
> On Feb 6, 5:09 pm, coded kid wrote:
>> Hey guys, I’m getting an error when trying to visit my admin page:
>> Temp
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, url
>
Thanks, it works now. :D
On Jun 3, 2:14 pm, Kenneth Gonsalves wrote:
> On Fri, 2011-06-03 at 05:07 -0700, Kann wrote:
> > > you have a file called mirnaweb.py - your path should contain only
> > the
> > > parent directory to your mirnaweb directory. Python is now looking
> > for
> > > settings in
On Fri, 2011-06-03 at 05:07 -0700, Kann wrote:
> > you have a file called mirnaweb.py - your path should contain only
> the
> > parent directory to your mirnaweb directory. Python is now looking
> for
> > settings inside mirnaweb.py
>
> OK, now I changed the setting file into mirna_settings.py to
> you have a file called mirnaweb.py - your path should contain only the
> parent directory to your mirnaweb directory. Python is now looking for
> settings inside mirnaweb.py
OK, now I changed the setting file into mirna_settings.py to avoid the
confusion with the directory name. I also include t
On Fri, 2011-06-03 at 04:44 -0700, Kann wrote:
> Below is what I just did. Does this mean that I still have problem
> with my pythonpath?
yes
>
> [xxx@lagrange mirnaweb]$ python manage.py
> Error: Can't find the file 'settings.py' in the directory containing
> 'manage.py'. It appears you've custo
uot;credits" or "license" for more information.
(InteractiveConsole)
>>> import urls
>>>
Kann
On Jun 3, 1:16 pm, Kenneth Gonsalves wrote:
> On Fri, 2011-06-03 at 04:11 -0700, Kann wrote:
> > [Fri Jun 03 13:04:32 2011] [error] [client 127.0.0.1]
On Fri, 2011-06-03 at 04:11 -0700, Kann wrote:
> [Fri Jun 03 13:04:32 2011] [error] [client 127.0.0.1] ImportError: No
> module named urls
no module named urls can also mean that urls.py has errors. From the
shell try to import urls
--
regards
KG
http://lawgon.livejournal.com
Coimbatore L
Dear all,
Thanks so much for help me with the $DJANGO_SETTINGS_MODULE issue. Now
I just installed the wsgi module and try to use apache 2.2.17 to host
the django project. However, the page always throws error. I checked
the log file and it says there's no module named urls. Seems like
p
; You have used 'view' string twice.
>
> Thanks,
> Subhranath Chunder.
>
>
>
>
>
>
>
> On Tue, Apr 19, 2011 at 5:11 AM, Guevara wrote:
> > Hello!!
>
> > I am getting the following error on my index.html page:
>
> > Exception Type: Tem
19, 2011 at 5:11 AM, Guevara wrote:
> Hello!!
>
> I am getting the following error on my index.html page:
>
> Exception Type: TemplateSyntaxError
> Exception Value:
>
> Caught ImportError while rendering: No module named urls
>
>
> In this line:
>
>
Hello!!
I am getting the following error on my index.html page:
Exception Type: TemplateSyntaxError
Exception Value:
Caught ImportError while rendering: No module named urls
In this line:
Login
My urls.py:
(r'^imobiliaria/', include('auth.urls')),
In
I finally fund the problem. A freelancer I have working on the site
deleted a urls file in my api app.
On Mar 11, 10:34 am, nerdydork wrote:
> /home/inzolo/webapps/budgetsite/lib/python2.5 contains "django". That
> is the only folder there. This is hosted on Webfaction.
>
> On Mar 11, 9:35 am, Xa
/home/inzolo/webapps/budgetsite/lib/python2.5 contains "django". That
is the only folder there. This is hosted on Webfaction.
On Mar 11, 9:35 am, Xavier Ordoquy wrote:
> Hello,
>
> > /home/inzolo/webapps/budgetsite/lib/python2.5
>
> You probably want /home/inzolo/webapps/budgetsite/lib/python2.5/
Hello,
> /home/inzolo/webapps/budgetsite/lib/python2.5
You probably want /home/inzolo/webapps/budgetsite/lib/python2.5/site-packages
instead if it's a virtual env.
Xavier.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group
erns",
> > self.urlconf_module)
> > File "/home/inzolo/webapps/budgetsite/lib/python2.5/django/core/
> > urlresolvers.py" in _get_urlconf_module
> > 240. self._urlconf_module =
> > import_module(self.urlconf_name)
> > File "/home/inz
e/lib/python2.5/django/utils/
> importlib.py" in import_module
> 35. __import__(name)
>
> Exception Type: ImportError at /api/v0.1/transaction.xml/get/
> Exception Value: No module named urls
> ===
>
> I was running Django 1.0. I thought I would first try to update t
_get_urlconf_module
240. self._urlconf_module =
import_module(self.urlconf_name)
File "/home/inzolo/webapps/budgetsite/lib/python2.5/django/utils/
importlib.py" in import_module
35. __import__(name)
Exception Type: ImportError at /api/v0.1/transaction.xml/get/
Exceptio
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 models. I'm trying to activate the admin site now
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 with no luck. This includes
s/django/core/urlresolvers.py", line 216, in
resolve
for pattern in self.url_patterns:
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/
lib/python2.6/site-packages/django/core/urlresolvers.py", line 245, in
_get_url_patterns
patterns = getattr(self.urlconf_
> > 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 eclipse.
>
> > Could it
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 e
hat
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 eclipse.
Could it be a PATH problem? How could I debug it?
--
You received this message because you are subscribed to the Google Gr
ealise mod_wsgi is recommended for 1.1 now.
> > Anyway the rest of my site works fine now. The only part still not
> > working is the admin section which fails with this "No module named
> > urls" error as can be seen in the traceback above.
>
> > For my settings I have t
On Sat, Jul 11, 2009 at 12:26 PM, selcukcihan wrote:
>
> Using trunk with apache + mod_wsgi,
>
> Hi, i also have url problems with admin. First of all, if i use the
> depreciated method(r'^admin/(.*)', admin.site.root) everything works
> fine.
>
> Well, since there is a new method, i switched to
Using trunk with apache + mod_wsgi,
Hi, i also have url problems with admin. First of all, if i use the
depreciated method(r'^admin/(.*)', admin.site.root) everything works
fine.
Well, since there is a new method, i switched to it; using
(r'^admin/', include(admin.site.urls)).
The problem is on
n section which fails with this "No module named
> urls" error as can be seen in the traceback above.
>
> For my settings I have the root urlconf as "myapp.urls".
>
> In the urls file I have:
>
> (r'^admin/(.*)', include('admin.site.urls
So I switched from mod_python to mod_wsgi since I don;t really know
what is going on and I realise mod_wsgi is recommended for 1.1 now.
Anyway the rest of my site works fine now. The only part still not
working is the admin section which fails with this "No module named
urls" error as c
SOLVED. It was a wrong URL mapping, in the frontend, that I was not
seing, and the stack trace didn't give me a clue of where it was...
but thanks, anyway...
Diogo
On Jul 9, 3:35 am, diogobaeder wrote:
> I searched for this kind of error in this group, but there were only
> old posts, from when
rns", self.urlconf_module)
[Thu Jul 09 16:24:08 2009] [error] [client 192.168.2.20] File "/usr/
lib/python2.6/dist-packages/django/core/urlresolvers.py", line 208, in
_get_urlconf_module\nself._urlconf_module = import_module
(self.urlconf_name)
[Thu Jul 09 16:24:08 2009] [error] [cli
ror
> and a message in the apache logs stating "Import Error: No module
> named urls". I have tried running the shell and importing the urls
> module from within and outside of the local directory both of which
> work fine.
>
> I'm guessing it's either some valu
the apache logs stating "Import Error: No module
named urls". I have tried running the shell and importing the urls
module from within and outside of the local directory both of which
work fine.
I'm guessing it's either some value in my settings file or something
is non-backwa
I searched for this kind of error in this group, but there were only
old posts, from when django had different urls.py configs, so I'm
asking for help on this:
http://dpaste.com/64906/
Thanks in advance!
Diogo
--~--~-~--~~~---~--~~
You received this message becau
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 us
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 file.
lf._reverse_dict and hasattr(self.urlconf_module,
'urlpatterns'):
File "/Users/rob/django/django-trunk/django/core/urlresolvers.py",
line 198, in _get_urlconf_module
self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
ImportError: No module named urls
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 proble
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. I
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 th
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, i
> 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. Wh
/admin/
Exception Type: TemplateSyntaxError
Exception Value:
Caught an exception while rendering: No module named urls
Original Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/template/debug.py",
line 71, in render_node
result = node.render(context)
velopment.
>>>
>>> I'm using pydev, and managed to run my app, but then when I go to the
>>> web page, I get:
>>>
>>> ImportError at /time/
>>> No module named urls
>>>
>> You'll need to includ
t;
> > I'm using pydev, and managed to run my app, but then when I go to the
> > web page, I get:
>
> > ImportError at /time/
> > No module named urls
>
> You'll need to include the code for the view that is being called, and
> possibly your urls.py
&
DragonSlayre wrote:
> Hi, I'm new to django/python, and I'm testing out eclipse for
> development.
>
> I'm using pydev, and managed to run my app, but then when I go to the
> web page, I get:
>
> ImportError at /time/
> No module named urls
>
You'l
Hi, I'm new to django/python, and I'm testing out eclipse for
development.
I'm using pydev, and managed to run my app, but then when I go to the
web page, I get:
ImportError at /time/
No module named urls
Request Method: GET
Request URL:http://localhost:8080/time/
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 thread.
test server with 'python manage.py runserver', and
> try to look at the admin page at:
> http://127.0.0.1:8000/admin/
> it comes up with a page saying:
>
> ImportError at /admin/
> No module named urls
> Request Method: GET
> Request URL: http://127.0.0.1:800
;)),
# Uncomment this for admin:
(r'^admin/', include('django.contrib.admin.urls')),
)
when I start the test server with 'python manage.py runserver', and
try to look at the admin page at:
http://127.0.0.1:8000/admin/
it comes up with a page saying:
54 matches
Mail list logo