On 1/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> 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()

Hey James,

You'll want to do this:

    >>> from django.models.foundation import ratefunctions
    >>> ratefunctions.get_list()

In this case, ratefunctions is a "magic module" which is created by
Django automatically. I know this is a bit confusing, but the next
version of Django is going to remove this confusion.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to