Sort the lines of code so that they can be a part of an application called my_app. If accessed through a browser, it should display the first-level header with the following text: Welcome to the Django! and a second-level header saying We take it day by day!.
First, you need to import the necessary modules, then, there is logic, and routing, and after that, you need to run the application.