When writing functions for views, should they be placed within the specific views, outside of the views within views.py or inside a separate script such as viewsfunctions.py?
Is there any advantage/requirement for any of these options?
As an example, if we were writing a function to convert units of weight from one to another for unified measurement, where should this function be written?