On Wed, Apr 25, 2012 at 8:34 AM, Vernon Cole <vernondc...@gmail.com> wrote:
> Ummm... reality check...
>
> Patrik:
>   I have been lurking on the django developers list (along with IronPython)
> for several years hoping for exactly the combination you are suggesting.  I
> am unaware that anyone has tackled the project of making django run on
> IronPython yet, on either Windows or mono.  As I see it, there may be two
> problems.
> 1)  django has issues with strings being assumed to be 8-bit bytes.  This
> has to be fixed to port django to Python 3, and I suggested that IronPython
> would be a useful stepping stone in that effort, but no one took the bait
> AFAIK.
> 2)  django's built-in object relational mapper is targeted at four
> databases: MySQL, PostgreSQL, SQLite, and Oracle.
>  (see https://docs.djangoproject.com/en/dev/ref/databases/)
> Of these four, I think that only SQLite is well supported by IronPython.
> Oracle, MySQL and PostgresSQL are accessible from IronPython using my
> adodbapi package, but it only works on Windows, since it relies on Microsoft
> COM to reach the ODBC database engine (via traditional ADO).  My own efforts
> to use pure ADO.NET database calls had a rather dismal result, and I
> abandoned the branch.  To my knowledge, the only other PEP 249 database APIs
> for IronPython are the group on fePy, which have not been maintained in
> several years.  I am also unsure about the level of database support in
> mono.
>
> If someone is working on support for django on IronPython, I would love to
> be part of the project.

I did work on it a bit a few years ago, and there's some out-of-date
patches at https://bitbucket.org/jdhardy/django-ipy-patches.

This was before IronPython was taking contributions, so getting fixes
into IP was much harder. If anybody is interested in it, and is aware
that there's a massive amount of work involved, you'd have my full
support, and any fixes would be greatly appreciated.

- Jeff
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to