Bad link, obviously ... 
http://jjinux.blogspot.com/2008/03/pycon-ironpython-road-ahead.html

On Mar 25, 8:19 am, Michael <[EMAIL PROTECTED]> wrote:
> Hope this keeps working for you.  For what it's worth, I couldn't get
> SQLServer to work with Django a while back ... though our using
> SQLServer 2000 might be a big part of that.
>
> However, I was reading some PyCon blogs and came across a <a
> href="http://jjinux.blogspot.com/2008/03/pycon-ironpython-road-
> ahead.html">JJinuxLand</a> post that summarized an IronPython talk by
> Jim Huninin.  It had a couple lines:
>
> IronPython makes it really easy to use SQLServer.
> He (Jim Huginin) showed Django running under IronPython with only
> minimal patching necessary.
>
> Those are separate statements in the blog and that doesn't necessarily
> mean IronPython can make Django work with SQLServer, but depending on
> how your current path works out that might be another avenue to try.
>
> On Mar 24, 4:57 pm, kellygreer1 <[EMAIL PROTECTED]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to