开发者

How can I include custom modules in a Django app

开发者 https://www.devze.com 2022-12-25 20:56 出处:网络
I\'m really new to Python and Django. I created a class in Python that I would like to use in a Django application. It doesn\'t seem like it belongs in it\'s own application, how can I incl开发者_Stac

I'm really new to Python and Django. I created a class in Python that I would like to use in a Django application. It doesn't seem like it belongs in it's own application, how can I incl开发者_StackOverflowude it in my django app?

Thank you!


Put it in a module somewhere and import it.

0

精彩评论

暂无评论...
验证码 换一张
取 消