diff options
author | Frederick Muriuki Muriithi | 2023-11-22 12:00:39 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-11-22 12:00:39 +0300 |
commit | 410d797535fc9a9f432c44a7d6c786fd508066c5 (patch) | |
tree | c207abff8300b48ce049343719fa00198aa80341 /gn_auth/misc_views.py | |
parent | f3bec4784af4715465fe63fd2cb9b8a0ca026d3e (diff) | |
download | gn-auth-410d797535fc9a9f432c44a7d6c786fd508066c5.tar.gz |
Make existing user admin using core system functions
Use the core system functions to both fetch the user and make them
into a system admin, rather than fetching with raw queries. This way,
if the way the users are fetched, or made into an admin, changes, we
do not need to update the scripts for most part.
Diffstat (limited to 'gn_auth/misc_views.py')
0 files changed, 0 insertions, 0 deletions