import script in django view code example
Example: import external script in django views
from myapp import basics
from myapp.basics import do_stuff
from . import basics
from .basics import do_stuff
# View code ...
from myapp import basics
from myapp.basics import do_stuff
from . import basics
from .basics import do_stuff
# View code ...