title: registration with email verification with dj-rest-auth
body: <p>Hi everyone I am developing a website with django rest framework for backend and I am using <code>dj-rest-auth</code> for authentication. And I want to implement registration with email veification, based on documents of <code>dj-rest-auth</code> these are urls for registration:</p>
  <pre><code>urlpatterns = [
  path('api-auth/', include('rest_framework.urls')),
  
  path('dj-rest-auth/', include('dj_rest_auth.urls')),
  
  path('dj-rest-auth/registration/', include('dj_rest_auth.registration.urls')),  
  path('dj-rest-auth/registration/verify-email/',
    include('dj_rest_auth.registration.urls')),  
  ]
  </code></pre>
  <p>and in settings I did these things:</p>
  <pre><code>INSTALLED_APPS = [
      'accounts.apps.AccountsConfig',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  
      'corsheaders',
  
      'rest_framework',
      'rest_framework.authtoken',
      'dj_rest_auth',
  
      'django.contrib.sites',
      'allauth',
      'allauth.account',
      'allauth.socialaccount',
      'dj_rest_auth.registration',
  ]
  
  SITE_ID = 1
  EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
  
  ACCOUNT_EMAIL_REQUIRED = True
  ACCOUNT_UNIQUE_EMAIL = True
  ACCOUNT_USERNAME_REQUIRED = False
  ACCOUNT_AUTHENTICATION_METHOD = 'email'
  ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
  ACCOUNT_CONFIRM_EMAIL_ON_GET = True
  
  LOGIN_URL = 'http://localhost:8000/accounts_api/api/v1/dj-rest-auth/login'
  </code></pre>
  <p>and I am using <code>gmail smtp</code> for <code>smtp</code>.</p>
  <p>But after sending a user info for registration I got this error:</p>
  <pre><code>Reverse for 'account_confirm_email' not found. 'account_confirm_email' is not a valid view function or pattern name.
  </code></pre>
  <p>Can anyone tell me about where I am wrong?</p>