SI539 Assignment 07 - Login
This assignment will add session support to your application
and add a simple login and logout capability to the application
you built for the previous assignment.
The general steps for this assignment include:
- Add the session utility code to your application. You can download the
code from
http://www.appenginelearn.com/static/util.zip
and install it per the included instructions or the instructions in the book.
- Add a navigation item which offers a "Login" open when you are
not yet logged in and when you are logged in, offer a "Logout (name)" option
showing the current logged in user. As shown below.
- For the controller code (index.py), make sure that you check for blank/empty
account or password as well checking for invalid passwords. For now,
all passwords will be "secret".
When you are done, your program should produce the functionality
shown in following screens but with your navigation structure
style.
Turn in the Following For Credit
Please turn in the following screenshots into CTools.
- Screenshots of four of your pages rendered in a browser showing the above
features of your application.
- Your index.py, _base.htm, and the template file for the logon page.
Note: Your screen shots should not be clones of the screen
shots from the book and from this assignment. Your application
needs to have the same functionality as the example application
but the content should be your own. Also your pages should have
a different color scheme than in these screen shots.
www.appenginelearn.com