Re: dev server cannot access javascript files in template

2010-03-17 Thread Igor Ganapolsky
I should add that I still have the problem... On Mar 17, 6:24 pm, Igor Ganapolsky wrote: > I have since then moved my javascript file to a site_media/scripts > directory.  My project structure looks like this: > webservice/ >  |-- first/ >     -- site_media/ >

Re: dev server cannot access javascript files in template

2010-03-17 Thread Igor Ganapolsky
request)) 3) In my TopicTree.html template I have a On Mar 17, 6:04 pm, Daniel Roseman wrote: > On Mar 17, 9:30 pm, Igor Ganapolsky wrote: > > > Hi, > > I am running a django dev server.  I have a template where I'm calling > > a javascript function from a a

dev server cannot access javascript files in template

2010-03-17 Thread Igor Ganapolsky
Hi, I am running a django dev server. I have a template where I'm calling a javascript function from a an external .js file (residing in the same directory as the template). However, I get the following error: "ReferenceError: al is not defined". Nevertheless, when I just open this html page wit

Django comments moderation.py not rendering context

2010-02-24 Thread Igor Ganapolsky
I am utilizing django.contrib.comments to create an email message for each comment posted on my site. In moderation.py there is a method - def email(self, comment, content_object, request): """ Send email notification of a new comment to site staff when email notifications