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 le
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*,
No, it wasn't about that, but thanks anyway.
On 31 mayo, 21:08, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
> If you're talking about changing the display name in the
> administrative interface, there is the option of setting "verbose
> name" - seehttp://www.djangoproject.com/documentation/model-api
If you're talking about changing the display name in the
administrative interface, there is the option of setting "verbose
name" - see http://www.djangoproject.com/documentation/model-api/#table-names
for more information. You can also change the database table name
associated with the model objec
4 matches
Mail list logo