dataplot::plotmodels::Model Class Reference

Inheritance diagram for dataplot::plotmodels::Model:

dataplot::bike::models::Bike dataplot::bike::models::Location dataplot::bike::models::Ride dataplot::soccer::models::Game dataplot::soccer::models::Player dataplot::soccer::models::Score dataplot::soccer::models::Team models::Player models::Player models::Player models::Score models::Score List of all members.

Public Member Functions

def __init__
def save
def save_plots
def make_model_plots
def make_manager_plots

Detailed Description

Enables figure autosave with Django-dataplot.

All attributes of this model which are instances of
dataplot.GenericPlot will be resaved.

Definition at line 89 of file

Member Function Documentation

def dataplot::plotmodels::Model::__init__   self,

Definition at line 93 of file

def dataplot::plotmodels::Model::make_manager_plots   cls,
  force = True

Try to remake plots related to this model's manager.

Definition at line 127 of file

def dataplot::plotmodels::Model::make_model_plots   self,
  force = True

Try to remake plots related to this model.

Definition at line 120 of file

def dataplot::plotmodels::Model::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 yourself, depending on when it is
appropriate in terms of your data processing.

Reimplemented in dataplot::soccer::models::Team.

Definition at line 100 of file

def dataplot::plotmodels::Model::save_plots   self  ) 

Definition at line 115 of file

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