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


Ignore:
Timestamp:
05/07/15 16:30:38 (7 years ago)
Author:
andrei kulakov
Comment:

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