Try this
def foreginexchange_view(request):
t = loader.get_template("template.html")
test=ball.objects.filter(request="checked").count()
return HttpResponse(t.render({'test': test}))
On Tuesday, January 26, 2016 at 4:45:52 AM UTC+2, suabiut wrote:
>
> Thanks James,
> here is my
Which version of Django do you using?
вторник, 26 января 2016 г., 23:14:03 UTC+2 пользователь suabiut написал:
>
> When i did that i got the error:
>
> 'dict' object has no attribute 'render_context'
>
>
>
> On Tue, Jan 26, 2016 at 7:25 PM, > wrote:
>
>> Try this
>> def foreginexchange_view(reques
from django.http import HttpResponse
from django.template import loader, RequestContext
def foreginexchange_view(request):
t = loader.get_template("template.html")
test=ball.objects.filter(request="checked").count()
c = RequestContext(request, {'test': test})
return HttpResponse(t
In your browser enable "network inspector" and reload page, you will see
where is icon must locate.
For example:
On Friday, March 4, 2016 at 3:16:37 PM UTC+2, David Hou wrote:
>
> Hi all,
>
>
> I'm really new to Django and am just working through the tutorials right
> now. I noticed that my a
I'm using nginx + upload_progress module
On the HTML page for progress bar I'm using iframe + ajax
u can find a result here http://fex.cc
On Thursday, March 3, 2016 at 9:23:53 PM UTC+2, clarkso...@gmail.com wrote:
>
> Hoping that this network can help me out even though this is not strictly
5 matches
Mail list logo