kopsti
kopsti

Reputation: 103

Django-registration unique email with hmac backend

I use django-registration package in my app. Is it possible to use unique email while using the (proposed by the documentation) hmac backend?

I have found many posts that answer for the model backend, not the hmac.

Edit: Notice that I am not talking about default or model backend, but HMAC

Upvotes: 0

Views: 169

Answers (1)

kopsti
kopsti

Reputation: 103

Answering my own question:

It was a duplicate as mentioned (original answer here by seddonym), sorry for my misunderstanding.

The only thing to do is replace

from registration.backends.default.views import RegistrationView

with

from registration.backends.hmac.views import RegistrationView

Upvotes: 1

Related Questions