Custom commands or what many have come to know as management commands or utility commands are one of the essential features that are provided by python frameworks. These commands are quite useful when performing tasks that requires a lot of different methods to complete the task.
The ability to send emails to either the users of your application or to yourself is a very nice feature to have in your web application. This blog post will demonstrate how to incorporate the sending of emails to users when they create a new account. how to confirm users’ email address.
Till now in our previous blog posts we have developed our flask application, lets now see how we can deploy it to a server.
Application factory is a pattern in flask and used most of the times when we split our code based into difference files.
In the previous blog post we slow how to simply split our code, in this post we will take it further and see what is best recommended way of doing it and why.