Changes between Version 1 and Version 2 of Ticket #24742, comment 3


Ignore:
Timestamp:
May 7, 2015, 11:30:38 AM (9 years ago)
Author:
andrei kulakov

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24742, comment 3

    v1 v2  
    33[edit] After looking it up, I did the reverse: I defined default writable db and set up routers for all read-only dbs:
    44
     5{{{
    56class AppRouter(object):
    67    app_name = None
     
    1213class ReadonlyRouter(AppRouter):
    1314    app_name = 'my_ro_app'
     15}}}
Back to Top