I’m new to django and read through the great tutorial and some other parts of the documentation. My question might be redudant and I’m pretty sure that lots of documentation exists on that topic, but obviously I’m using the wrong buzzwords because I didn’t find anything in the documentation, in this forum and on google.
In the views.py file I created a View showing a form for uploading a CSV-file. Reading the data from the file works quite good. Now I would like to write a re-usable class for manipulating the data which I can use in other views of the same app too.
The really simple question:
Following good programming practice, where / in which folder and file do I create a class that shall be utilized by several views? (I know that I can probably create such a class at many places, but is there a “right” place?)
It would be very appreciated if you could give me a broad hint on that. A link to the documentation or just a buzzword would be totally fine for me.