hi, evryone.
I am new to Extjs4. I generated a MVC app on python framwork django. It didn't work if I placed app.js and index.html file in different folders.
Thanks in advance.
hi, evryone.
I am new to Extjs4. I generated a MVC app on python framwork django. It didn't work if I placed app.js and index.html file in different folders.
Thanks in advance.
I don't know about django. But generally speaking, it is not necessarily to place app.js in same folder where index.html resides. All you have to look after is to map the file with correct path in your index.html files.
for example if you have placed the app.js in a sub folder 'ex', and this folder ex is placed in the same folder as index.html, you can map your app.js as
I hope this helps.Code:<script type="text/javascript" src="ex/app.js"></script>
Regards,
Premkumar. A
I found the problem. I deploy extjs4 on django, so I must change appFolder.