Package dataplot :: Package soccer :: Module models :: Class GameManager
[show private | hide private]
[frames | no frames]

Type GameManager

object --+    
         |    
   Manager --+
             |
            GameManager


Method Summary
  create_from_file(self, filename)
Create new bike rides based on records in a text file.
  create_from_line(self, line)
Create one game based on line of text datafile.
  export_games_to_file(self, filename)
Export data to a text file.
  get_export_text(self)
Text for exported data file.
  get_latest(self)
    Inherited from Manager
  __init__(self)
  all(self)
  complex_filter(self, *args, **kwargs)
  contribute_to_class(self, model, name)
  count(self)
  create(self, **kwargs)
  dates(self, *args, **kwargs)
  distinct(self, *args, **kwargs)
  exclude(self, *args, **kwargs)
  extra(self, *args, **kwargs)
  filter(self, *args, **kwargs)
  get(self, *args, **kwargs)
  get_empty_query_set(self)
  get_or_create(self, **kwargs)
  get_query_set(self)
Returns a new QuerySet object.
  in_bulk(self, *args, **kwargs)
  iterator(self, *args, **kwargs)
  latest(self, *args, **kwargs)
  none(self)
  order_by(self, *args, **kwargs)
  select_related(self, *args, **kwargs)
  values(self, *args, **kwargs)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
list __slotnames__ = []
str DEFAULT_DATAFILE = '/usr/local/lib/python2.4/site-packag...
tuple TUPKEYS = ('name', 'goals', 'own_goals')
    Inherited from Manager
int creation_counter = 9                                                                     

Method Details

create_from_file(self, filename=None)

Create new bike rides based on records in a text file.

create_from_line(self, line)

Create one game based on line of text datafile.

export_games_to_file(self, filename=None)

Export data to a text file.

get_export_text(self)

Text for exported data file.

Class Variable Details

__slotnames__

Type:
list
Value:
[]                                                                     

DEFAULT_DATAFILE

Type:
str
Value:
'/usr/local/lib/python2.4/site-packages/dataplot/soccer/games.txt'     

TUPKEYS

Type:
tuple
Value:
('name', 'goals', 'own_goals')                                         

Generated by Epydoc 2.1 on Tue Apr 29 23:35:16 2008 http://epydoc.sf.net