Package Camelot :: Package camelot :: Package model :: Module authentication :: Class City
[frames] | no frames]

Class City

source code


Nested Classes
  Admin

Inherited from elixir.entity.Entity: __metaclass__

Instance Methods

Inherited from GeographicBoundary: __unicode__, full_name

Inherited from elixir.entity.Entity: __init__, delete, expire, expunge, flush, from_dict, merge, refresh, save, save_or_update, set, to_dict, update

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods
 
getOrCreate(cls, country, code, name) source code

Inherited from elixir.entity.Entity: get, get_by, update_or_create

Class Variables
  country = ManyToOne('Country', required= True, ondelete= 'casc...
  __elixir_mutators__ = [(<elixir.statements.ClassMutator object...

Inherited from GeographicBoundary: code, mapper, name, table

Properties

Inherited from object: __class__

Class Variable Details

country

Value:
ManyToOne('Country', required= True, ondelete= 'cascade', onupdate= 'c\
ascade')

__elixir_mutators__

Value:
[(<elixir.statements.ClassMutator object at 0x9804e0c>,
  (),
  {'inheritance': 'multi', 'tablename': 'geographic_boundary_city'})]