Merge "get_admin_context overwriting context"
This commit is contained in:
commit
b4126ab342
|
@ -134,7 +134,7 @@ class Context(context.RequestContext):
|
||||||
|
|
||||||
|
|
||||||
def get_admin_context():
|
def get_admin_context():
|
||||||
return Context(is_admin=True)
|
return Context(is_admin=True, overwrite=False)
|
||||||
|
|
||||||
|
|
||||||
_CTX_STORE = threading.local()
|
_CTX_STORE = threading.local()
|
||||||
|
|
Loading…
Reference in New Issue