s/2.7/lib/python2.7/
site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
ValueError: Empty module name
If found several posts but none so far addressed this problem in
particular.
Thanks for kind coop in advance!
Errit.
--
You received this message because yo
Ah-ha! I think I've found the issue.
The problem was coming from the template context loader I was using.
Or rather, how that was set in the settings.py file. I only had one
template context loader set, and forgot to include a trailing comma so
that it could be processed as a tuple instead of a s
On Fri, 2007-02-16 at 12:27 -0800, cory wrote:
> Hello all,
>
> I keep getting a very strange error in my latest Django project. It
> repeatedly sends back a ValueError saying 'Empty module name', but in
> the debug output all of the settings from the settings files are
> displayed correctly and
Hello all,
I keep getting a very strange error in my latest Django project. It
repeatedly sends back a ValueError saying 'Empty module name', but in
the debug output all of the settings from the settings files are
displayed correctly and the settings file that's listed is the correct
one.
The on
Okay, now it's very fast :) I forgot that my linux box was busy
compiling something :)
Thanks for the help everyone
Thanks! That worked very well. I also got the media directory ok now,
and I'm able to open the admin interface.
Now I can continue exploring django :)
I must say that I'm happy allready with what Django is doing, but it's
a bit slow. I'm running Django on a dual P200mmx, perhaps that's not
enough
Hi Krietjur,
Probably, you need to try something like:
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath sys.path+['/home/kris/my_django_project_dir']
SetEnv DJANGO_SETTINGS_MODULE myproject.settings
Thanks for the quick response.
I have the following in my apache config:
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE .home.kris.myproject.settings
PythonDebug On
The sett
mod = __import__(me.SETTINGS_MODULE, '', '', [''])
ValueError: Empty module name
Hey Krietjur,
This error is happening because mod_python isn't finding your settings
module. Do you have the line "SetEnv DJANGO_SETTINGS_MODULE foo" in
your httpd.conf, wh
On 1/16/06, Krietjur <[EMAIL PROTECTED]> wrote:
> line 32, in ?
> mod = __import__(me.SETTINGS_MODULE, '', '', [''])
>
> ValueError: Empty module name
Hey Krietjur,
This error is happening because mod_python isn't findi
",
line 130, in __call__
from django.conf import settings
File
"/usr/lib/python2.4/site-packages/Django-0.91-py2.4.egg/django/conf/settings.py",
line 32, in ?
mod = __import__(me.SETTINGS_MODULE, '', '', [''])
ValueError: Empty module name
11 matches
Mail list logo