ValueError when db settings altered in settings.py Django documentation

Viewed 90

Hi iam following Django documenatation,I have installed Django 1.8 and python 2.7.12,I want to connect to oracle 11g database,For this I have altered settings.py file in mysite folder like this for DATABASE information

DATABASES = {
    'default': {
        'ENGINE' : 'django.db.backends.oracle',
        'NAME' : 'XE',
        'USER' : 'chandan',
        'PASSWORD' : 'root',
        'HOST' : 'localhost',     }
}

Iam getting below error when i run python manage.py runserver and

python manage.py migrate

       from .utils import InsertIdVar, Oracle_datetime, convert_unicode
  File "C:\PYTHON27\lib\site-packages\django\db\backends\oracle\utils.py", line 10, in <module>
    (int(Database.version.split('.', 2)[1]) >= 1 or
ValueError: invalid literal for int() with base 10: '0rc1'

Do i have to alter my DATABASE part in settings.py or what needs to be done?

2 Answers
Related