About 20 models in 1 django app

前端 未结 6 851
太阳男子
太阳男子 2021-01-30 07:05

I have started work on a local app for myself that runs through the browser. Having recently gone through the django tutorial I\'m thinking that it might be better to use django

6条回答
  •  不要未来只要你来
    2021-01-30 07:36

    The models are all related so I cant's simply make them into separate apps can I?

    You can separate them into separate apps. To use a model in one app from another app you just import it in the same way you would import django.contrib apps.

提交回复
热议问题