Workout With Friends Stay fit with a little motivation

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Properties
Public Member Functions | Public Attributes | List of all members
wowf.lib.validators.FileType Class Reference

Makes sure a file is of the proper type. More...

Collaboration diagram for wowf.lib.validators.FileType:

## Public Member Functions
def | __init__
def | __call__

## Public Attributes
| allowed
| message

## Detailed Description

Makes sure a file is of the proper type.

Definition at line 95 of file validators.py.

## Constructor & Destructor Documentation

def wowf.lib.validators.FileType.__init__ | ( |  | self,
|  |  | allowed,
|  |  | message = `None`
| ) |  |

Definition at line 97 of file validators.py.

## Member Function Documentation

def wowf.lib.validators.FileType.__call__ | ( |  | self,
|  |  | form,
|  |  | field
| ) |  |

Definition at line 101 of file validators.py.

## Member Data Documentation

wowf.lib.validators.FileType.allowed

Definition at line 98 of file validators.py.

wowf.lib.validators.FileType.message

Definition at line 99 of file validators.py.

The documentation for this class was generated from the following file:

- wowf/lib/validators.py