Re: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
在 2018年11月10日星期六 UTC+8下午9:56:22,Han Joe写道: > > I want to use the django with vue, but there is an error"Uncaught > SyntaxError: Unexpected token <" > So I make a test. I make a index.html and a test.js.This is my directory > > [image: 1.png] > > The index.html and test.js are very simple. > [im

答复: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
The code just is alert(111); Thank you! 发送自 Windows 10 版邮件应用 发件人: Jason 发送时间: 2018年11月10日 22:15 收件人: Django users 主题: Re: Django Uncaught SyntaxError: Unexpected token < the error is in your javascript, not html. -- You received this message because you are subscribed to the Google Gro

答复: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
The code just is alert(111); Thank you! 发送自 Windows 10 版邮件应用 发件人: Vishvajit Pathak 发送时间: 2018年11月11日 3:39 收件人: Django users 主题: Re: Django Uncaught SyntaxError: Unexpected token < Please share js file On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: I  want to use the dja

答复: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
The code just is alert(111); Thank you! 发送自 Windows 10 版邮件应用 发件人: Vishvajit Pathak 发送时间: 2018年11月11日 3:39 收件人: Django users 主题: Re: Django Uncaught SyntaxError: Unexpected token < Please share js file On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: I  want to use the dja

Re: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Vishvajit Pathak
Could you also share yourjs file please ? On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: > > I want to use the django with vue, but there is an error"Uncaught > SyntaxError: Unexpected token <" > So I make a test. I make a index.html and a test.js.This is my directory > > [image

Re: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Vishvajit Pathak
Please share js file On Saturday, 10 November 2018 19:26:22 UTC+5:30, Han Joe wrote: > > I want to use the django with vue, but there is an error"Uncaught > SyntaxError: Unexpected token <" > So I make a test. I make a index.html and a test.js.This is my directory > > [image: 1.png] > > The inde

Re: Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Jason
the error is in your javascript, not html. -- 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 django-users+unsubscr...@googlegroups.com. To post to this group, send

Django Uncaught SyntaxError: Unexpected token

2018-11-10 Thread Han Joe
I want to use the django with vue, but there is an error"Uncaught SyntaxError: Unexpected token <" So I make a test. I make a index.html and a test.js.This is my directory [image: 1.png] The index.html and test.js are very simple. [image: 2.png] This is my code in settings.py TEMPLATES = [