Hello: Just installed Django and worked through the example app with no problems.
I am attempting to create a new app and having some issues creating a model. I have a simple model: RATE_FUNCTIONS = ( ('LINEAR', 'LINEAR'), ) # # List of rate functions # class RateFunction(meta.Model): name = meta.CharField(maxlength=20, choices=RATE_FUNCTIONS) def __repr__(self): return self.name class META: admin = meta.Admin() module_name = "RateFunction" Everything looks ok in the database. When I go to the python interpreter - it does not see the get_list() method: >>> from django.models.foundation import RateFunction >>> RateFunction.get_list() Traceback (most recent call last): File "<console>", line 1, in ? AttributeError: type object 'RateFunction' has no attribute 'get_list' >>> print RateFunction.__dict__ {'__ne__': <function _curried at 0xb7b5fa74>, '__module__': 'django.models.foundation', 'get_name_display': <function _curried at 0xb7b5fcdc>, 'get_rate_count': <function _curried at 0xb7b1009c>, '__eq__': <function _curried at 0xb7b5fa3c>, '__init__': <function _curried at 0xb7b5fa04>, '_meta': <Options for RateFunction>, 'get_rate_list': <function _curried at 0xb7b100d4>, 'get_rate': <function _curried at 0xb7b10064>, '__repr__': <function __repr__ at 0xb7b5ffb4>, 'add_rate': <function _curried at 0xb7b1010c>, 'save': <function _curried at 0xb7b5faac>, '__doc__': 'RateFunction.RateFunction(id, name)', 'delete': <function _curried at 0xb7b5fae4>} Any ideas appreciated. Thanks -James