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
Static Public Attributes | Static Private Attributes | List of all members
wowf.models.pivot_tables.UserGroup Class Reference

Pivot table between users and the groups they belong to. More...

Inheritance diagram for wowf.models.pivot_tables.UserGroup:
Collaboration diagram for wowf.models.pivot_tables.UserGroup:

## Static Public Attributes
tuple | user_id
tuple | group_id
Static Public Attributes inherited from wowf.models.meta.Base
tuple | query = DBSession.query_property()
Static Public Attributes inherited from wowf.lib.fulltext.FulltextBase
list | index_fields = []

## Static Private Attributes
string | __tablename__ = 'users_groups'

## Additional Inherited Members
Public Member Functions inherited from wowf.models.meta.Base
def | __str__
def | __repr__
def | __unicode__
def | get_by_id
def | create
def | delete

## Detailed Description

Pivot table between users and the groups they belong to.

Definition at line 79 of file pivot_tables.py.

## Member Data Documentation

string wowf.models.pivot_tables.UserGroup.__tablename__ = 'users_groups'
| static private

Definition at line 81 of file pivot_tables.py.

tuple wowf.models.pivot_tables.UserGroup.group_id
| static

Initial value:
Column(
Integer(unsigned=True), ForeignKey('groups.id', ondelete='cascade'),
primary_key=True, autoincrement=False)

Definition at line 85 of file pivot_tables.py.

tuple wowf.models.pivot_tables.UserGroup.user_id
| static

Initial value:
Column(
Integer(unsigned=True), ForeignKey('users.id', ondelete='cascade'),
primary_key=True, autoincrement=False)

Definition at line 82 of file pivot_tables.py.

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

- wowf/models/pivot_tables.py