Registration Form Unique Email

后端 未结 1 971
醉梦人生
醉梦人生 2021-01-20 12:04

I am using django-inspectional-registration which is based on the official django-registration.

I would like to ensure the uniqueness of th

相关标签:
1条回答
  • 2021-01-20 12:37

    Try passing the form class as an argument to as_view

    url(r'^register/$', RegistrationView.as_view(form_class=RegistrationFormUniqueEmail),
    name='registration_register')
    
    0 讨论(0)
提交回复
热议问题