Giter VIP home page Giter VIP logo

django-ibmi's Introduction

GitHub Actions status | sdras/awesome-actions

Django Adapter for IBM i

IBM i support for the Django application framework.

django-ibmi enables access to Db2 for IBM i from Django applications.

The adapter has been developed and is supported by IBM.

Please note that this project is still in active development and is not ready for use. ๐Ÿšจ

 * Create a new Django project by executing "django-admin.py startproject myproj".
 * Now go to this newly create directory, and edit settings.py file to
 access Db2 for i.
 * The steps go as follows:
  1. In shell or cmd line run:
        django-admin.py startproject myproj
  2. Edit settings.py file
     * The settings.py will be like (after adding Db2 properties):
       {{{
       DATABASES = {
          'default': {
             'ENGINE'     : 'django-ibmi',
             'NAME'       : 'ibmi-sysname',
             'USER'       : 'uid',
             'PASSWORD'   : 'pwd',
          }
       }
       }}}

Prerequisites for Django on Python

  • Django 2.0 or higher
  • pyodbc 4.0 or higher

Installation

1. Install Django

Follow these instructions to install django.

2. Install IBM i Django adapter (django-ibmi)

TODO

Documentation

TODO

Tested Operating Systems

TODO

Database Transactions

Known Limitations of django-ibmi adapter

  • Non-standard SQL queries are not supported. e.g. "SELECT ? FROM TAB1"
  • For updations involving primary/foreign key references, the entries should be made in correct order. Integrity check is always on and thus the primary keys referenced by the foreign keys in the referencing tables should always exist in the parent table.
  • Db2 Timestamps do not support timezone aware information. Thus a Datetime field including tzinfo(timezone aware info) would fail.

Contributing to the django-ibmi python project

Please read the contribution guidelines

The developer sign-off should include the reference to the DCO in remarks(example below): DCO 1.1 Signed-off-by: Random J Developer [email protected]

django-ibmi's People

Contributors

akhilravuri1 avatar bimalkjha avatar hemlatabhatt avatar jospaul1 avatar kadler avatar mariobriggs avatar mizi avatar naveen-ram avatar praveen-db2 avatar rpriyadh avatar sabakauser avatar vyshakh18 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.