If you do this frequently, your view will likely growing with wastes of script. You should clean it regularly.
On Friday, January 15, 2016 at 4:56:07 PM UTC+2, [email protected] wrote: > > Hi, > > I have a script which is running fine and giving output in the form of > list of lists. I want to use that data in my Django view. I am not getting, > how to run a script in django view. > I created a folder utils inside which, I have put the script. Also, I have > created __init__.py in the utils folder. Then, I am importing it in my > views as "from utils.scriptname import classname". I'm struggling in that > from long and appreciate help. > > Thanks > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e519f1d3-83af-4c9b-946c-caace90aa943%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

