Re: is it possible to use REST API with HTML within Django?

2013-08-15 Thread evh
rowser, I recommend > you check out: > http://www.dajaxproject.com > > There are other tools, but it makes life easier. > > Brian Schott > bfsc...@gmail.com > > > > On Aug 15, 2013, at 12:27 PM, evh > wrote: > > Hi, > > I am having trouble getting REST to

is it possible to use REST API with HTML within Django?

2013-08-15 Thread evh
Hi, I am having trouble getting REST to work within Django. Has anyone succeeded in doing this? How do I embed REST API calls within the HTML that runs my webpage? I am trying to send "commands" to a device that is connected to my webpage and can do this outside of Django manually in a Powe

Re: new user having trouble displaying images stored on local disk drive

2013-07-17 Thread evh
r, > but when you go just to /static/, you will not see anything, it will not > list the files, you need to specify exact name of the file. > > Django help: > https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/ > > If this didn't help, try stackowerflow &

trouble displaying images stored on disk drive

2013-07-16 Thread evh
go.contrib.staticfiles', # Uncomment the next line to enable the admin: # 'django.contrib.admin', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', ) Thanks for any advice or help in tracking down what my problem m

new user having trouble displaying images stored on local disk drive

2013-07-16 Thread evh
Working in a Windows environment without a production server - everything on one machine for ease of development (or so I thought). Can display images pulled from the web, but not any stored on local hard drive. Some of the relevant items in my settings.py looks like this: MEDIA_ROOT = 'C:/djc