+ +
+

app.views.main

+

This is the main views module.

+

You should import all other views into this file rather than individually importing in __init__.py

+
+

Module Contents

+
+

Functions

+ ++++ + + + + + + + + +

index()

The view for the landing page.

contact_us()

A simple contact us form with basic validation.

+
+
+app.views.main.index()
+

The view for the landing page.

+
+ +
+
+app.views.main.contact_us()
+

A simple contact us form with basic validation.

+

This dummy form has not been linked to any database.

+
+ +
+
+
+ + +