摘要:
邮箱: views.py: from django import forms from django.forms import widgets class RegForm(forms.Form): email = forms.EmailField( label="邮箱", widget=widget 阅读全文
摘要:
普通 form 表单的处理: reg.html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>注册页面</title> </head> <body> <form action="/reg/" method 阅读全文