Example #1
0
def hipers_updated(request, format=None):
    # try:
    Utils.dbPopulated()
    return HttpResponse("OK")
Example #2
0
def get_db_to_read_from(request, format=None):
    return HttpResponse(Utils.getDbToReadFrom())
Example #3
0
 def db_for_read(self, model, **hints):
     """
     Attempts to read auth models go to auth_db.
     """
     return Utils.getDbToReadFrom()
Example #4
0
def get_db_to_write_to(request, format=None):
    return HttpResponse(Utils.getDbToWriteTo())
Example #5
0
 def db_for_write(self, model, **hints):
     """
     Attempts to write auth models go to auth_db.
     """
     return Utils.getDbToWriteTo()