# Django **Repository Path**: ospython/django ## Basic Information - **Project Name**: Django - **Description**: Django笔记 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-04-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README **admin密码重置方式** ''' 1、在项目根目录下运行:python manage.py shell 2、重设密码 ''' ``` from django.contrib.auth.models import User user =User.objects.get(username='admin') user.set_password('new_password') user.save() ```