I'm refering to that the model name -not the db name- is created by: app_label + '.' + model_class_name (in lowercase).
So, of a class as: class FooBar(...): ... The model name is: 'application.foobar' And I would to get a 'model_class_name' separed by underscores -when there is anything letter in uppercase- : foo_bar On 1 jun, 04:40, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > Are you maybe talking about changing the underlying database table name? > > http://www.djangoproject.com/documentation/model-api/#table-names > > On Jun 1, 2008, at 2:45 AM, Kless wrote: > > > > > Is possible to change the model name? > > > From a class as *class FooBar* > > it's got a model called *foobar*, > > but I would to get a model called 'foo_bar', without change the class > > name to 'Foo_Bar'. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---