Important Considerations

Model Names

The CDA uses the table names of the managed models when allowing users to select which model to pull data from. because of this, it is advised that you specifiy a custom table name for the model if it contains more than one word.

This is due to the automatic case change that occurs when the default table names are generated, ie:

dailySummary becomes dailysummary

simply camel-case the intended table name as usual:

class Meta:
    db_table = "dailySummary"

This will return the following : Daily Summary.

If the model is a single word this is not required.

Usability

Because the front-end user is presented with the exact table name that was initally given to the model, it is best to avoid complex table names, or, if they are required, to provide a more easily legible alternative in the db_table option.