Changeset 3074
- Timestamp:
- 06/03/06 18:45:49 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/tests/modeltests/transactions/models.py
r3030 r3074 20 20 API_TESTS = """ 21 21 >>> from django.db import connection, transaction 22 """ 22 23 24 from django.conf import settings 25 26 building_docs = getattr(settings, 'BUILDING_DOCS', False) 27 28 if building_docs or settings.DATABASE_ENGINE != 'mysql': 29 API_TESTS += """ 23 30 # the default behavior is to autocommit after each save() action 24 31 >>> def create_a_reporter_then_fail(first, last):
