You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as we know if the tablename is not mentioned in the Meta class, the default table name will be class.__name__.lower()+'s'
but if the class name is in CamelCase, it will create a total mess in the database. apparently, there is no way to automize this process (converting CamelCase into snake_case) in the Meta class, and table names should be hard coded for each class.
The text was updated successfully, but these errors were encountered:
as we know if the
tablename
is not mentioned in theMeta
class, the default table name will beclass.__name__.lower()+'s'
but if the class name is in CamelCase, it will create a total mess in the database. apparently, there is no way to automize this process (converting CamelCase into snake_case) in the
Meta
class, and table names should be hard coded for each class.The text was updated successfully, but these errors were encountered: