django-registration (1048, “Column 'last_login' cannot be null”)
问题 I'm trying to use django-registration in my simple project. settings.py # DJANGO REGISTRATION ACCOUNT_ACTIVATION_DAYS = 7 AUTH_USER_EMAIL_UNIQUE = True EMAIL_HOST = 'localhost' EMAIL_PORT = 1025 EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' EMAIL_USE_TLS = False DEFAULT_FROM_EMAIL = 'example@gmail.com' urls.py url(r'^accounts/', include('registration.backends.hmac.urls')), Registration template: {% extends "index.html" %} {% block content %} <h1>Registration</h1> <form method="post" action=""