Home | Trees | Index | Help |
---|
Package dataplot :: Module plotmodels :: Class Model |
|
object
--+ |Model
--+ | Model
Bike
,
Game
,
Location
,
Player
,
Ride
,
Score
,
Team
Enables figure autosave with Django-dataplot.
All attributes of this model which are instances of dataplot.GenericPlot will be resaved.Method Summary | |
---|---|
__init__(self,
*args,
**kwargs)
| |
Try to remake plots related to this model's manager. (Class method) | |
Try to remake plots related to this model. | |
Save method which allows for maximum configurability. | |
save_plots(self)
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value |
Class Variable Summary | |
---|---|
type |
__metaclass__ = dataplot.plotmodels.ModelBase |
Manager |
objects = <django.db.models.manager.Manager object at 0x...
|
Instance Method Details |
---|
make_model_plots(self, force=True)Try to remake plots related to this 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 Model.save yourself, depending on when it is appropriate in terms of your data processing.
|
Class Method Details |
---|
make_manager_plots(cls, force=True)Try to remake plots related to this model's manager. |
Class Variable Details |
---|
objects
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Tue Apr 29 23:35:17 2008 | http://epydoc.sf.net |