I want to get a common library from several files. In order to reduce the amount of code, I want to create and manage a separate file for import. Will it be possible?
import_lib.py
from django.shortcuts import render, get_object_or_404
other_1.py
import import_lib
render()
get_object_or_404()
other_2.py
import import_lib
render()
get_object_or_404()