Skip to main content

A Django app provided ORM to TrustMed medical information system

Project description

Pypi version Python versions Code style: black


python -m pip install django~=4.0 mssql-django
django-admin startproject config

Добавляем подключение к БД МИС в файле config/config/

    'default': {
    'tmmis'  : {
        'ENGINE'  : 'mssql',
        'NAME'    : 'ИМЯ БД',
        'USER'    : 'sa',
        'PASSWORD': 'ПАРОЛЬ К БД',
        'HOST'    : 'АДРЕС СЕРВЕРА',
        'PORT'    : 1433,
        'OPTIONS' : {
            'driver': 'ODBC Driver 17 for SQL Server',

Интроспекция БД


python config/ inspectdb --database=tmmis {table_name} > tmmis/models/{table_name}.py


py .\config\ inspectdb --database=tmmis {table_name} > .\tmmis\models\{table_name}.py

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-tmmis-0.3.3.tar.gz (24.1 kB view hashes)

Uploaded source

Built Distribution

django_tmmis-0.3.3-py3-none-any.whl (62.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page