are you referring to ? *modelname*._meta.db_table
On 16/08/2006, at 12:57 PM, Julio César Carrascal Urquijo wrote: > > I'm using a cursor inside the _pre_save() method for one of my models > and figured it would be wise to use the table name gerated by Django > instead of just hard-coding the name. > > Is it possible to access the table name of a model from one of it's > methods? > > Thanks. > > > (I'm using Django 0.95, btw) > -- Ian Holsman [EMAIL PROTECTED] join http://gypsyjobs.com the marketplace for django developers --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---