Alexander Lamas
2018-08-21 07:09:52 UTC
Hi All,
I'm not sure if this is a discussion for this group.
I wonder if there is a way to stop django/python from adding the prefix
"myapp" for all tables it creates when migrating.
I managed to use db_column='ColumnName' and now my tables have the column
name I want, but, using db_table inside of my Meta class doesn't help
anything.
I still want to keep Django to manage everything, but, not the table
naming. :)
Thanks in advance!
Alex
I'm not sure if this is a discussion for this group.
I wonder if there is a way to stop django/python from adding the prefix
"myapp" for all tables it creates when migrating.
I managed to use db_column='ColumnName' and now my tables have the column
name I want, but, using db_table inside of my Meta class doesn't help
anything.
I still want to keep Django to manage everything, but, not the table
naming. :)
Thanks in advance!
Alex
--
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.