Commit f3203a2a authored by sde's avatar sde
Browse files

Merge branch 'master' of

parents cff56a93 aa7a91b9
......@@ -6,5 +6,4 @@ def get_quote(request):
quote = Quote.get_random()
if quote:
return {'quote': quote.text, 'quote_prof':}
return {'quote': None}
return {'quote': None}
......@@ -76,7 +76,7 @@ def del_prof(request, pid):
return redirect('quotes:manage_prof')
def approve_prof(request, pid):
prof = get_object_or_404(Prof, id=pid)
prof.approved = True
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment