Re: How To Display Non-Modal Popup From Resulting Asynchronous Javascript Request
your error's got nothing to do with AJAX. As the very helpful error
message you're getting, there's no URL that matches your requested
path:
> Request URL:
>
> http://127.0.0.1:8000/mediahelp/mediaHelpPopup.html
>
> Using the URLconf defined in streamingmedia.urls, Django tried these URL
> patterns, in this order:
> 1.^mymedia/
> 2.^mediaadmin/
> 3.^mediahelp/ ^$
> 4.^mediahelp/ ^comphelp/$
> 5.^admin/
I don't know where did you get the 'mediaHelpPopup.html' part of your
URL, but it's quite clear it doesn't match any of those urls you've
got set up.
So if you give us some more details on your idea for this popup, where
does the data come from, and why do you feel the need to make a call
to some phantom html file
(https://docs.djangoproject.com/en/1.4/topics/http/urls/, and
especially http://www.w3.org/Provider/Style/URI).
Basically, you need to have a view that renders your popup's HTML, and
that view needs to be linked to an URL.
--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde
|_|0|_|
|_|_|0|
|0|0|0|
(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home