{"id":18419753,"url":"https://github.com/teradata/django-teradata","last_synced_at":"2025-07-24T07:34:19.982Z","repository":{"id":206248898,"uuid":"716185899","full_name":"Teradata/django-teradata","owner":"Teradata","description":"A Teradata backend for Django","archived":false,"fork":false,"pushed_at":"2023-11-24T09:19:05.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-13T11:50:44.446Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Teradata.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-08T16:03:23.000Z","updated_at":"2023-11-29T16:23:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5f1af63-f506-4da9-8ae4-b7aa58e7fbc0","html_url":"https://github.com/Teradata/django-teradata","commit_stats":null,"previous_names":["septimit/django-teradata","teradata/django-teradata"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Teradata/django-teradata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teradata%2Fdjango-teradata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teradata%2Fdjango-teradata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teradata%2Fdjango-teradata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teradata%2Fdjango-teradata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Teradata","download_url":"https://codeload.github.com/Teradata/django-teradata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Teradata%2Fdjango-teradata/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266808557,"owners_count":23987450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T04:18:16.682Z","updated_at":"2025-07-24T07:34:19.893Z","avatar_url":"https://github.com/Teradata.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Experimental readonly Teradata backend for Django 4.2.x\n\n## Usage\n\n\nConfigure the Django `DATABASES` setting similar to this:\n\n```python\nDATABASES = {\n    'default': {\n        'ENGINE': 'django_teradata',\n        'NAME': 'MY_DATABASE',\n        'HOST': 'hostname[:port]',\n        'USER': 'my_user',\n        'PASSWORD': 'my_password'\n    }\n}\n```\n\nThe backend enforces ANSI mode and TD2 logmech. \n\n## Notes on Django fields\n\n## Known issues and limitations\n\nThis list is not exhaustive:\n* django inspectdb does not identify the primary keys or foreign keys for the models. \nThese keys need to be manually defined in the models.\n* DATE_TRUNC function is not implemented  \n\n## Troubleshooting\n\n## Testing\nFollow these steps:\n* clone djago repo locally (The local copy folder path will be reffered to as DJANGO_DIR)\n* checkout specifid django version: `cd $DJANGO_Dir; git checkout 4.2.7`\n* install python requirements: `pip install -r $DJANGO_Dir/tests/requirements/py3.txt`\n* create teradata_setttings.py in $DJANGO_Dir/tests with similar config:\n```python\nDATABASES = {\n    'default': {\n        'ENGINE': 'django_teradata',\n        'NAME': 'MY_DATABASE',\n        'HOST': 'hostname[:port]',\n        'USER': 'my_user',\n        'PASSWORD': 'my_password'\n        \"TEST\": {\n            \"NAME\": \"django_tests_db\"\n        }\n    },\n}\n\nLANGUAGE_CODE = \"en-us\"\n\nTIME_ZONE = \"UTC\"\n\nUSE_I18N = True\n\nUSE_TZ = False\n\nDEFAULT_AUTO_FIELD = 'django.db.models.AutoField'\nSECRET_KEY = 'django_tests_secret_key'\n\n```\n* merge your changes with django-teradata/test_only_data_update branch. This branch allows for CRUD operations.\n* run the tests: `$DJANGO_DIR/tests/runtests.py --settings teradata_settings -v 2 aggregation`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteradata%2Fdjango-teradata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteradata%2Fdjango-teradata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteradata%2Fdjango-teradata/lists"}