mirror of
https://github.com/lemeow125/Django-NotesApp.git
synced 2024-11-17 06:29:25 +08:00
Activation now points to localhost:3000
This commit is contained in:
parent
3623f407d4
commit
36635161dc
2 changed files with 4 additions and 1 deletions
|
@ -139,10 +139,13 @@ REST_FRAMEWORK = {
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DOMAIN = 'localhost:3000'
|
||||||
|
SITE_NAME = 'localhost:3000'
|
||||||
|
|
||||||
DJOSER = {
|
DJOSER = {
|
||||||
'SEND_ACTIVATION_EMAIL': True,
|
'SEND_ACTIVATION_EMAIL': True,
|
||||||
'SEND_CONFIRMATION_EMAIL': True,
|
'SEND_CONFIRMATION_EMAIL': True,
|
||||||
'ACTIVATION_URL': 'api/v1/accounts/users/activation/{uid}/{token}',
|
'ACTIVATION_URL': 'activation/{uid}/{token}',
|
||||||
}
|
}
|
||||||
|
|
||||||
EMAIL_HOST = 'sandbox.smtp.mailtrap.io'
|
EMAIL_HOST = 'sandbox.smtp.mailtrap.io'
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue