× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yep, that's what I was curious about.

So far all my Python web work has been in Flask.

I can use my simple IBMi ODBC wrapper class for everything I need and create methods for my query/insert/update/delete actions to keep all that code out of the main app code.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
----------------------------------------------------------------------
message: 1
date: Tue, 24 Nov 2020 12:32:01 -0600
from: Justin Taylor <jtaylor.0ab@xxxxxxxxx>
subject: Re: [IBMiOSS] Query IBMi From Django

My bad, yesterday I missed the first part of your question (it looked like part of the headers).

Do you have to use the ORM in Django? To use an analogy, I'd say it's like the logic cycle in RPG/400. It's there whether you use it or not.

The Django ORM maps the DB to fields in the code and the UI. If you're asking about injecting your own DB access into the ORM, but still using the ORM to map columns -> fields, I don't know the answer because I've never tried.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.