Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

customize email for djoser activation

from djoser import email

class ActivationEmail(email.ActivationEmail):
    template_name = 'email/activation.html'
    

// settings.py
DJOSER = {
    'EMAIL': {
            'activation': 'core.email.ActivationEmail'
    }
}
Comment

PREVIOUS NEXT
Code Example
Python :: python append to a exiting csv file 
Python :: python boucle for 
Python :: slice python 
Python :: python sort() and sorted() 
Python :: __add__ 
Python :: keras embedding 
Python :: list and tuple difference in python 
Python :: find daily aggregation in pandas 
Python :: change index function for class python 
Python :: godot remove node from group 
Python :: pyton como identificar se é numero 
Python :: python function overloading 
Python :: how to decode recv data in python 
Python :: .replace pandas in for loop 
Python :: handlebars python 
Python :: python listas por comprension 
Python :: noob python 
Python :: ljust rjust center python 
Python :: deepcopy python 
Python :: searching for best k values in knn 
Python :: scrapy access settings from spider 
Python :: python function 
Python :: number string array 
Python :: bar chart in python 
Python :: python walrus operator 
Python :: np.array_equal 
Python :: tensorflow euclidean distance 
Python :: python json nan 
Python :: how to get var value by name godot 
Python :: pandas print column by index 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =