Giter Club home page Giter Club logo

fdugeek-django's People

Contributors

dillionapple avatar j7168908jx avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

adorkkk

fdugeek-django's Issues

开放校友邮箱注册

开放后缀为@alu.fudan.edu.cn的邮箱注册。

因为之前只记录了学号,可能需要增加字段,来区别校内邮箱和校友邮箱。

找回密码功能

用户可以通过学邮,找回密码。流程如下:

  1. 用户提交找回密码申请,跳转到填写验证码页面
  2. 发送验证码到用户邮箱
  3. 用户填写验证码,并填写新密码
  4. 提交,修改成功

涉及到后端两个接口:一个用于提交密码申请;一个用于验证验证码以及修改用户密码。

为所有接口添加request、response格式注释

注释写在每个接口函数上方

如用户登录接口,其接口注释格式如下:

"""
POST /account/login/

request:
{
  "username": <str>,
  "password": <str>
}

response:
No data
"""
@require_POST
def user_login(request):
    .... ....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.