Django_cubrid is the official Django backend for CUBRID Database which is distributed together with the CUBRID Python driver (CUBRIDdb). When using Django web framework with CUBRID database, the django_cubrid backend should be used.
For more information about CUBRID Database, refer to Important Facts to Know about CUBRID.
Relevant links:
Since django_cubrid backend is distributed together with the CUBRID Python driver, all you need to do is install the CUBRID driver.
Configure the DATABASES part in your setting.py as shown below:
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.
}
}
sqlflush command may fail because of the foreign constraints between database tables.loaddata command, the insert SQL manipulation in the application may fail, becuse of the unique constraint violations.RuntimeWarning: DateTimeField received a naive datetime (2013-01-15 06:38:37.463000) while time zone support is active.False in settings.py to avoid this warning.CUBRID is distributed under two licenses:
For more information about the licensing policy, visit http://www.cubrid.org/license.