I think the problem might be that you need a leading slash in your href (I don't think that a relative url works in the context of static media)
instead of "static/abc.css", try "/static/abc.css" On Sep 1, 11:08 am, salehin <nsale...@gmail.com> wrote: > Hi! > > I am new in appengine development. > > Having problem to include javascript files. > > my app.yaml code as follows: > > handlers: > - url: /main > script: main.html > > - url: /static > static_dir: static > > - url: /.* > script: demo.py > > Now in dejango main template if include access ass follows: > > <link type="text/css" rel="stylesheet" href="static/abc.css" /> > > If works, but If I add javascript file as follows: > > <script type="text/javascript" src="static/abc.js"></script> > > It can not add the file (error: 404) > > To avoid confusion, both files in same static/ folder. > > Can any body reply ASAP? > > Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.