Changes between Initial Version and Version 2 of Ticket #9528
- Timestamp:
- Nov 5, 2008, 8:46:26 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9528
- Property Component Uncategorized → Database layer (models, ORM)
-
Ticket #9528 – Description
initial v2 3 3 - install cx_Oracle: sudo easy_install cx_Oracle #requires python-setuptools 4 4 - in your settings.py, use: 5 {{{ 5 6 * DATABASE_ENGINE = 'oracle' 6 7 * DATABASE_NAME = 'XE' # your dbname here … … 11 12 * DEFAULT_TABLESPACE = 'NONEXISTING' # use some invalid tablespace 12 13 * DEFAULT_INDEX_TABLESPACE = 'NONEXISTING' # here also 14 }}} 13 15 - with an empty database, run syncdb: ./manage syncdb 14 16 15 17 Traceback: 18 {{{ 16 19 ... 17 20 File "/opt/csa-1.0.0-beta/parts/django/django/core/management/commands/syncdb.py", line 80, in handle_noargs … … 21 24 AttributeError: DatabaseError instance has no attribute 'message' 22 25 26 }}}