Step by step work flow how Django CBV DetailView realy works. So it's just the default flow and on every step you could reassign the described methods in order to change the behavior on any step... !(/media/markdownx/b2ee118f-dffc-4695-a1bc-41e17416e463.png)Share:
So, working on a !Django! Project requires from you to adjust !settings! to environment. For example #development and !production! !environment!.
Especialy if your code runs on a few production sites with minor changes and all of them are synchronized via !git!.
The most easies way to send emais from #Django Application is using #Gmail.
For what purpose you need to add a few lines of code into your settings.py:
add the following to settings.py:
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = 'username'
EMAIL_HOST_PASSWORD = 'password'
It's just the first post.
In my blog I'm going to share my expirience in #Python development, #DataScience and #ArtificialIntelligence..Share: