Re: Please wait page trouble
On Sep 8, 5:56 pm, Bradley Hintze <bradle...@aggiemail.usu.edu> wrote:
> This is what I have in my please_wait.html
>
> <script type="text/javascript"
> src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js">
> $.getJSON('{% url run_DHM %}')});
>
> </script>
I don't think that is right, is it? At least I've never seen it done
that way. I think you need two script tags:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript">
// Your javascript goes here...
</script>
>
> This is the django error
>
> Caught NoReverseMatch while rendering: Reverse for 'run_DHM' with
> arguments '()' and keyword arguments '{}' not found.
>
> run_DHM takes 'request' as an argument. How do I pass it the argument??
>
All views take request as a first argument. But that isn't the
problem. Please post your urls.py that has your run_DHM view in it.
Regards,
BN
--
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