Hopefully this will help someone else. # I changed this <Location "/testproject/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE settings PythonDebug On PythonPath "['E:/htdocs/testproject'] + sys.path" </Location>
# Into the text below and then it worked <Location "/testproject/"> SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE testproject.settings PythonDebug On PythonPath "['E:/htdocs'] + sys.path" </Location> Up and running now... Yeah! Kelly On Mar 24, 6:50 pm, kellygreer1 <[EMAIL PROTECTED]> wrote: > OK made it a bit farther. After all that I restarted Apache. > Then refreshed my URL > > http://someserver:8080/testproject > > And I get the error .. > ImportError at /testproject/ > No module named testproject.urls > Request Method: GET > Request URL:http://someserver:8080/testproject/ > Exception Type: ImportError > Exception Value: No module named testproject.urls > Exception Location: C:\Python25\lib\site-packages\django\core > \urlresolvers.py in _get_urlconf_module, line 177 > > Any ideas? > > Not sure if this matters but I had to use this in my httpd.conf to get > this far > SetEnv DJANGO_SETTINGS_MODULE settings > #instead of > SetEnv DJANGO_SETTINGS_MODULE testproject.settings > > Thanks, > Kelly > > On Mar 24, 6:41 pm, kellygreer1 <[EMAIL PROTECTED]> wrote: > > > > > I'm trying to get Django working on Windows with Apache and MS SQL > > Server. > > > I have completed. > > 1) Install Apache > > 2) Install Python 2.5 > > 3) Install mod_python and configure > > 4) Install Django > > 5) Setup test project > > -- here I learn my Python install is going to need a > > -- few more things If I'm going to use SQL Server > > 6) Install PDO-1.3.2 > > 7) Install pywin > > 8) Install adodbapi-2.1 > > > refresh the root URL of my test project and "bam"... error > > The traceback is below my sig. Any ideas on how to solve this? > > > Kelly Greer > > [EMAIL PROTECTED] > > change nospam to yahoo > > > Traceback (most recent call last): > > > File "C:\Python25\lib\site-packages\mod_python\importer.py", line > > 1537, in HandlerDispatch > > default=default_handler, arg=req, silent=hlist.silent) > > > File "C:\Python25\lib\site-packages\mod_python\importer.py", line > > 1229, in _process_target > > result = _execute_target(config, req, object, arg) > > > File "C:\Python25\lib\site-packages\mod_python\importer.py", line > > 1128, in _execute_target > > result = object(arg) > > > File "C:\Python25\lib\site-packages\django\core\handlers > > \modpython.py", line 177, in handler > > return ModPythonHandler()(req) > > > File "C:\Python25\lib\site-packages\django\core\handlers > > \modpython.py", line 145, in __call__ > > self.load_middleware() > > > File "C:\Python25\lib\site-packages\django\core\handlers\base.py", > > line 29, in load_middleware > > mod = __import__(mw_module, {}, {}, ['']) > > > File "C:\Python25\lib\site-packages\django\contrib\sessions > > \middleware.py", line 2, in <module> > > from django.contrib.sessions.models import Session > > > File "C:\Python25\lib\site-packages\django\contrib\sessions > > \models.py", line 3, in <module> > > from django.db import models > > > File "C:\Python25\lib\site-packages\django\db\__init__.py", line 11, > > in <module> > > backend = __import__('django.db.backends.%s.base' % > > settings.DATABASE_ENGINE, {}, {}, ['']) > > > File "C:\Python25\lib\site-packages\django\db\backends\ado_mssql > > \base.py", line 12, in <module> > > raise ImproperlyConfigured, "Error loading adodbapi module: %s" % > > e > > > ImproperlyConfigured: Error loading adodbapi module: No module named > > System- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---