Changes between Version 1 and Version 2 of Ticket #24742, comment 3
- Timestamp:
- May 7, 2015, 11:30:38 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24742, comment 3
v1 v2 3 3 [edit] After looking it up, I did the reverse: I defined default writable db and set up routers for all read-only dbs: 4 4 5 {{{ 5 6 class AppRouter(object): 6 7 app_name = None … … 12 13 class ReadonlyRouter(AppRouter): 13 14 app_name = 'my_ro_app' 15 }}}