zoukankan      html  css  js  c++  java
  • Django admin添加用户

    mysql> select * from auth_user;
    +----+-------------------------------------------------------------------------------+----------------------------+--------------+----------+------------+-----------+-----------------------+----------+-----------+----------------------------+
    | id | password                                                                      | last_login                 | is_superuser | username | first_name | last_name | email                 | is_staff | is_active | date_joined                |
    +----+-------------------------------------------------------------------------------+----------------------------+--------------+----------+------------+-----------+-----------------------+----------+-----------+----------------------------+
    |  1 | pbkdf2_sha256$36000$u7kGbss2PJyJ$bJHqxcp4vXdNMpL5DgwEtFlmW6p7Oo/KA58LOHRLMnE= | NULL                       |            0 | john     |            | Lennon    | lennon@thebeatles.com |        0 |         1 | 2018-09-13 16:01:20.731633 |
    |  2 | pbkdf2_sha256$36000$2c5c0sFAF9Wc$WwFyNjRAYrg7qq5cth2Q8aqE4/nbGNEmQURLpDYFSRo= | NULL                       |            0 | xxxx     |            |           | lennon@thebeatles.com |        0 |         1 | 2018-09-13 18:25:12.536322 |
    |  3 | pbkdf2_sha256$36000$1LQouE4fPRLu$AW/CqVsXIiBcdV3SQ6sIyUkZ9aJJNWeBjyFOESkx4MI= | NULL                       |            0 | scan     |            |           | lennon@thebeatles.com |        0 |         1 | 2018-09-13 20:14:56.627870 |
    |  4 | pbkdf2_sha256$36000$9ZGOJrVuBfyD$G7fq+QJSdz+C30cr1w9X7NfrSV5gEiw922EbAvP4ho0= | 2018-09-15 21:57:08.319025 |            1 | 015208   |            |           | joe@example.com       |        1 |         1 | 2018-09-13 20:26:50.541372 |
    |  5 | pbkdf2_sha256$36000$pGqgCc40n1u8$4HPhnVELTQDpl0zTLp8xgMEJJ/Yt1tXdQvNWzgM4A1c= | 2020-03-29 20:39:46.348918 |            0 | admin    |            |           | lennon@thebeatles.com |        0 |         1 | 2018-09-14 11:01:25.320492 |
    |  6 | pbkdf2_sha256$36000$40eALOZfNJyB$zKLVnqKEVMLARsjkry8+f1SaIM/FxUDQsnthUCvd6UM= | NULL                       |            0 | kebo     |            |           | kobe@thebeatles.com   |        0 |         1 | 2018-09-19 07:12:12.850000 |
    +----+-------------------------------------------------------------------------------+----------------------------+--------------+----------+------------+-----------+-----------------------+----------+-----------+----------------------------+
    6 rows in set (0.00 sec)
    
    
    
    
    
    
    mysql> select * from auth_user;
    +----+-------------------------------------------------------------------------------+----------------------------+--------------+----------+------------+-----------+-----------------------+----------+-----------+----------------------------+
    | id | password                                                                      | last_login                 | is_superuser | username | first_name | last_name | email                 | is_staff | is_active | date_joined                |
    +----+-------------------------------------------------------------------------------+----------------------------+--------------+----------+------------+-----------+-----------------------+----------+-----------+----------------------------+
    |  1 | pbkdf2_sha256$36000$u7kGbss2PJyJ$bJHqxcp4vXdNMpL5DgwEtFlmW6p7Oo/KA58LOHRLMnE= | NULL                       |            0 | john     |            | Lennon    | lennon@thebeatles.com |        0 |         1 | 2018-09-13 16:01:20.731633 |
    |  2 | pbkdf2_sha256$36000$2c5c0sFAF9Wc$WwFyNjRAYrg7qq5cth2Q8aqE4/nbGNEmQURLpDYFSRo= | NULL                       |            0 | xxxx     |            |           | lennon@thebeatles.com |        0 |         1 | 2018-09-13 18:25:12.536322 |
    |  3 | pbkdf2_sha256$36000$1LQouE4fPRLu$AW/CqVsXIiBcdV3SQ6sIyUkZ9aJJNWeBjyFOESkx4MI= | NULL                       |            0 | scan     |            |           | lennon@thebeatles.com |        0 |         1 | 2018-09-13 20:14:56.627870 |
    |  4 | pbkdf2_sha256$36000$9ZGOJrVuBfyD$G7fq+QJSdz+C30cr1w9X7NfrSV5gEiw922EbAvP4ho0= | 2020-03-29 22:35:52.664255 |            1 | 015208   |            |           | joe@example.com       |        1 |         1 | 2018-09-13 20:26:50.541372 |
    |  5 | pbkdf2_sha256$36000$pGqgCc40n1u8$4HPhnVELTQDpl0zTLp8xgMEJJ/Yt1tXdQvNWzgM4A1c= | 2020-03-29 20:39:46.348918 |            0 | admin    |            |           | lennon@thebeatles.com |        0 |         1 | 2018-09-14 11:01:25.320492 |
    |  6 | pbkdf2_sha256$36000$40eALOZfNJyB$zKLVnqKEVMLARsjkry8+f1SaIM/FxUDQsnthUCvd6UM= | NULL                       |            0 | kebo     |            |           | kobe@thebeatles.com   |        0 |         1 | 2018-09-19 07:12:12.850000 |
    |  7 | pbkdf2_sha256$36000$IV50hPvyOBm8$ZKUuhaKmG5yh7jn8q4kYRkA+l/BFe8QvDGmJ3Y4YsV0= | NULL                       |            0 | test     |            |           |                       |        0 |         1 | 2020-03-29 22:37:46.481960 |
    +----+-------------------------------------------------------------------------------+----------------------------+--------------+----------+------------+-----------+-----------------------+----------+-----------+----------------------------+
    7 rows in set (0.00 sec)
    
    

  • 相关阅读:
    Educational Codeforces Round 49 (Rated for Div. 2)
    Codeforces Round #506 (Div. 3)
    multiset
    C++中substr函数的用法
    7.30 背包问题
    7.29 dp动态规划
    7.27 图论 存图 前向星 最短路 dijstra算法 SPFA算法
    7.26 搜索进阶(状压搜索,迭代加深搜索)
    7.23 深搜广搜
    7.24 二分搜索
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13348433.html
Copyright © 2011-2022 走看看