

Python Django 웹 프레임워크를 지원하는 CUBRID Python Driver 8.4.3.0003 버전을 릴리스합니다.
이제부터 CUBRID + Python + Django 프레임워크를 사용하여 애플리케이션을 개발할 수 있습니다.
1. 요구사항:
Python 버전: 2.5 to 2.7
Django 버전: 1.4 (django_cubrid는 1.4.2에서 테스트됨)
CUBRID 엔진 버전: 8.4.3
CUBRID-Python 드라이버 버전: 8.4.3
2. 다운로드:
3. 설치방법:
django_cubrid 는 CUBRID Python 드라이버에 내장되어 있으므로, CUBRID Python 드라이버를 설치하면 됩니다.
pip install CUBRID-Pythonsetting.py 에서 데이터베이스 섹션을 아래와 같이 설정합니다.
DATABASES = { 'default': { 'ENGINE': 'django_cubrid', # The backend name: django_cubrid 'NAME': 'demodb', # CUBRID database name: eg. demodb 'USER': 'public', # a database user: eg. public 'PASSWORD': '', # a database user password: eg. an empty password 'HOST': '', # Set to empty string for localhost. 'PORT': '33000', # Set to empty string for default 33000. }}4. 테스트 결과 요약
보다 상세한 내용은 다음을 참고하세요 ( http://www.cubrid.org/wiki_apis/entry/test-django-with-cubrid )
| Django App | Success | Failed | Failed cases |
|---|---|---|---|
| django.contrib.contenttypes | 8 | 0 | |
| django.contrib.sessions | 197 | 0 | |
| django.contrib.sites | 3 | 1 | test_save_another (django.contrib.sites.tests.SitesFrameworkTests) |
| django.contrib.auth | 133 | 5 | test_bug_5605 (django.contrib.auth.tests.forms.PasswordResetFormTest) test_cleaned_data (django.contrib.auth.tests.forms.PasswordResetFormTest) test_inactive_user (django.contrib.auth.tests.forms.PasswordResetFormTest) test_unusable_password (django.contrib.auth.tests.forms.PasswordResetFormTest) test_success (django.contrib.auth.tests.forms.UserCreationFormTest) |
5. 관련 문서 및 링크
- 다운로드: http://ftp.cubrid.org/CUBRID_Drivers/Python_Driver/8.4.3/ , http://pypi.python.org/pypi/CUBRID-Python
- 릴리스노트: http://www.cubrid.org/wiki_apis/entry/cubrid-python-driver-release-notes
- 릴리스노트: http://www.cubrid.org/wiki_apis/entry/cubrid-python-driver-release-notes