Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I include custom modules in a Django app

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 include it in my django app?

Thank you!

like image 369
jluebbert Avatar asked Feb 28 '23 06:02

jluebbert


1 Answers

Put it in a module somewhere and import it.

like image 63
Ignacio Vazquez-Abrams Avatar answered Mar 08 '23 03:03

Ignacio Vazquez-Abrams