title: Implementing Djoser and JWT in Django for user authentication
body: <p>I am implementing user authentication in my first Django app. I decided to follow a tutorial from <a href="https://lewiskori.com/blog/user-registration-and-authorization-on-a-django-api-with-djoser-and-json-web-tokens/" rel="nofollow noreferrer">here</a>.</p>
  <p>I just finished the implementation, and it happens that when I add the following route     <code>path('api/app', include('app.urls'))</code>,to the url.py, I get  the following error, which crashes t he platform:</p>
  <pre><code>....
  File &quot;/Users/frankydoul/opt/anaconda3/lib/python3.8/site-packages/django/urls/resolvers.py&quot;, line 123, in _check_pattern_startswith_slash
      if regex_pattern.startswith(('/', '^/', '^\\/')) and not regex_pattern.endswith('/'):
  RecursionError: maximum recursion depth exceeded while calling a Python object
  </code></pre>
  <p>Removing it let the platform running. Is anybody familiar with the error please ?</p>