website. At the moment I'm just setup on my local machine using the
development server and it is working OK for straightforward html pages
and the XBAP program works OK if I just click on the XBAP file.
However when I want to run the XBAP from django I just end up with the
xml contents of the XBAP file onscreen.
I was trying to use a view function like this:
def current_XABP(request):
s=open('C:/Python26/Lib/site-packages/django/myproject/
WpfBrowserApplication1.xbap')
xml=s.read()
s.close()
return HttpResponse(xml, mimetype="application/x-ms-xbap")
Any ideas what I'm doing wrong?
Thanks, stegzzz
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment