Search code examples
djangorestdjango-rest-frameworkdjango-rest-auth

Django rest framework endpoints and passing the values


i am very new to Django and REST. I started working with rest-auth recently just to explore. Can someone explain me, what does this mean and how do i pass the values.

rest-auth/ ^password/reset/$[name='rest_password_reset']

Solution

  • It seems like you incorrectly posted code example. This looks like a rout (the part before and including $ sign) and another part is a url pattern name for this rout (for reverse method, for example).

    This is a default rout for password reset in django-rest-auth frameword. You can make a POST request to pass email there