views.py

About this file

The route definitions are in views.py. The routes defined here are:
@admin.route('/') @admin.route('/')

Code Check Report


app/admin/views.py:98:35: E712 comparison to True should be 'if cond is True:' or 'if cond:'
                        

Documentation drawn from source code


...module:: admin.views.

:synopsis: Endpoints for Agency Adminstrator Interface


main(agency_ein=None):

add_user():
Adds a user to the users and agency_users tables.

Returns:
Template with context.

Source code