Router
Your code needs to be in a file named
router.py
inside your Application.
File Layout
root/
|
|-- apps/
| `-- MY_APP/ --> <Directory> - Your App in HERE!
| `-- router.py --> <File> - Your code in HERE!
|
`-- etc...