Hey guys,
I want to create a custom class with methods I will be able to access everywhere in my Views.
For example a class that add numbers after declaring it somewhere in Django.
MyNumber = new GenNumberClass()
MyNumber.setNumbers(1,2)
result = MyNumber.getAddedResult()
Please point me in the right direction where I can declare classes and reuse them. Any recommendations will be welcome.
Thanks.