views:

19

answers:

2

When using 'db_table' to explicitly set the database table name, how can you preserve the naming convention of "app_table_name"? The app name is removed.

+1  A: 

You can't. Add the app to the table name yourself.

Ignacio Vazquez-Abrams
+1  A: 

As far as I know the db_table option will get precedence over the existing convention of app name + model name. If you set it explicitly you will have to prefix the app name yourself.

Manoj Govindan