Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot insert the value NULL into column 'id', table 'table.dbo.django_rest_passwordreset_resetpasswordtoken'; column does not allow nulls. INSERT fails.[BUG] #173

Open
fazialnjd opened this issue Feb 19, 2023 · 0 comments

Comments

@fazialnjd
Copy link

Hi.
my url.py is:

from django.urls import path
urlpatterns = [
    path('api/password_reset/', include('django_rest_passwordreset.urls', namespace='password_reset')),
]

when I send post request to this url and send email ;
I get this error:

Cannot insert the value NULL into column 'id', table 'table.dbo.django_rest_passwordreset_resetpasswordtoken'; column does not allow nulls. INSERT fails.

How can I to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant