I've coded some classes in pure python, but now I need to use that classes in a django view.
my_custom_classes.py
class RetryException(Exception):
...
...
class Trade():
def __init__(self):
...
...
def some_other(self, id):
...
...
For example I need to make a call to a django model inside the "some_other(self, id)".
What is the best way of organizing this custom classes for using in a Django view?
Best Regards,