On Sunday 22 January 2006 20:36, [EMAIL PROTECTED] wrote:
> class RateFunction(meta.Model):
...
> >>> from django.models.foundation import RateFunction


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

Note that the Django magic (case change, pluralization, and much more) will be 
going away when the 'magic removal' branch is merged into the svn trunk.  But 
for now, change to lower case and pluralize.

<http://code.djangoproject.com/wiki/RemovingTheMagic>

<http://www.djangoproject.com/documentation/db_api/>

Reply via email to