def AddCategory(request, category_name): newCategory = Category() newCategory.name = category_name newCategory.save() return HttpResponseRedirect('/manage/')
def AddCategory(request,category_name): newCategory = Category() newCategory.name=category_name newCategory.save() return HttpResponseRedirect('/manage/')