dataplot::soccer::models::Team Class Reference

Inheritance diagram for dataplot::soccer::models::Team:

dataplot::plotmodels::Model List of all members.

Public Member Functions

def export
def summary
def scores_ordered
def cache
def other_team
def save
def __str__

Public Attributes

 other

Static Public Attributes

tuple name = models.CharField(max_length=100)
tuple game = models.ForeignKey(Game)
tuple goals = models.IntegerField(blank=True,null=True)
tuple own_goals = models.IntegerField(blank=True,null=True)
tuple points = models.IntegerField(blank=True,null=True)
tuple won = models.BooleanField(blank=True,null=False,default=False)
tuple tied = models.BooleanField(blank=True,null=False,default=False)
tuple players = models.IntegerField(blank=True,null=True)

Classes

class  Admin

Detailed Description

Definition at line 321 of file models.py.


Member Function Documentation

def dataplot::soccer::models::Team::__str__   self  ) 
 

Definition at line 385 of file models.py.

def dataplot::soccer::models::Team::cache   self  ) 
 

Definition at line 350 of file models.py.

def dataplot::soccer::models::Team::export   self  ) 
 

Definition at line 331 of file models.py.

def dataplot::soccer::models::Team::other_team   self  ) 
 

Definition at line 373 of file models.py.

def dataplot::soccer::models::Team::save   self  ) 
 

Save method which allows for maximum configurability.

On a model with no custom save method, we will call django's
save first, then try to make plots for this object.

On a model with a custom save method, you should call
make_plots and Model.save yourself, depending on when it is
appropriate in terms of your data processing.

Reimplemented from dataplot::plotmodels::Model.

Definition at line 379 of file models.py.

def dataplot::soccer::models::Team::scores_ordered   self  ) 
 

Definition at line 342 of file models.py.

def dataplot::soccer::models::Team::summary   self  ) 
 

Definition at line 338 of file models.py.


Member Data Documentation

tuple dataplot::soccer::models::Team::game = models.ForeignKey(Game) [static]
 

Definition at line 323 of file models.py.

tuple dataplot::soccer::models::Team::goals = models.IntegerField(blank=True,null=True) [static]
 

Definition at line 324 of file models.py.

tuple dataplot::soccer::models::Team::name = models.CharField(max_length=100) [static]
 

Definition at line 322 of file models.py.

dataplot::soccer::models::Team::other
 

Definition at line 352 of file models.py.

tuple dataplot::soccer::models::Team::own_goals = models.IntegerField(blank=True,null=True) [static]
 

Definition at line 325 of file models.py.

tuple dataplot::soccer::models::Team::players = models.IntegerField(blank=True,null=True) [static]
 

Definition at line 329 of file models.py.

tuple dataplot::soccer::models::Team::points = models.IntegerField(blank=True,null=True) [static]
 

Definition at line 326 of file models.py.

tuple dataplot::soccer::models::Team::tied = models.BooleanField(blank=True,null=False,default=False) [static]
 

Definition at line 328 of file models.py.

tuple dataplot::soccer::models::Team::won = models.BooleanField(blank=True,null=False,default=False) [static]
 

Definition at line 327 of file models.py.


The documentation for this class was generated from the following file:
Generated on Tue Apr 22 23:16:24 2008 for django-dataplot by  doxygen 1.4.6