I’m confused about this; instead of writing tweepy codes like-
auth=tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
api=tweepy.API(auth)
In a new python file (IDLE). Can’t we write it in our views.py in django? Or we should create a new file in django app for the codes?