def set_dirty(using=None):
    if using is None:
        using = DEFAULT_DB_ALIAS
    connection = connections[using]
    connection.set_dirty()
Sets a dirty flag for the current thread and code streak. This can be used
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/db/transaction.py/set_dirty