1

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.

2 Answers 2

2

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.

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.