Second function has ident mistakes .2last lines have additional space.
27 січ. 2015 09:31, користувач "Stephen J. Butler"
написав:
> Not all your lines have the same indent level in your profile method. Line
> 52.
>
> On Tue, Jan 27, 2015 at 1:03 AM, Mosharof sabu
> wrote:
> > my view
> >
> >
>
Not all your lines have the same indent level in your profile method. Line 52.
On Tue, Jan 27, 2015 at 1:03 AM, Mosharof sabu wrote:
> my view
>
>
> def index(request):
> category_list = Status.objects.filter(comment__startswith="d")
> context_dict = {'categories': category_list}
> re
my view
def index(request):
category_list = Status.objects.filter(comment__startswith="d")
context_dict = {'categories': category_list}
return render(request, 'idesk/index.html', context_dict)
it shows result in index.html page
but when i try to show query in profile.html page like
3 matches
Mail list logo