here is my code.
from app import models
from models import *
def reload1():
from app import models
reload(models)
from app.models import *
def x():
//do some changes in models
reload1()
The above code is showing a syntax warning.Please help me fixing this issue. How can i effectively reload models?