我想让界面更加美观,因为JPanel p1内部的组件太过large.My,不足以让我把图像放进去,所以我只显示源代码,我想这样执行:
public class TestFrame extends JFrame{
private JButton b1 = new JButton("登陆"),b2 = new JButton("注册");
private JTextField userName = new JTextField(),password = new JTextField();
public TestFrame(){
当我试图使用index.html中设置的用户名和密码登录时,出现了如下错误:
ValueError at /login_action/
The view sign.views.login_action didn't return an HttpResponse object. It returned None instead.
Request Method: POST
Request URL: http://127.0.0.1:8000/login_action/
Django Version: 1.11.1
Exception Typ