Cannot insert the value NULL into column 'id', table 'table.dbo.django_rest_passwordreset_resetpasswordtoken'; column does not allow nulls. INSERT fails.[BUG]
fazialnjd opened this issue · comments
Faezeh Alinejad commented
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?