Use only some parts of Django?

后端 未结 8 1870
北海茫月
北海茫月 2020-11-28 02:39

I like Django, but for a particular application I would like to use only parts of it, but I\'m not familiar enough with how Django works on the inside, so maybe someone can

8条回答
  •  情书的邮戳
    2020-11-28 03:07

    I've created a template Django project that allows you to do just that.

    https://github.com/dancaron/Django-ORM

    Just follow the instructions and you can write standalone python files that utilize Django's database functionality, without having to use urlconf, views, etc.

提交回复
热议问题