Lo he solucionado, adjunto el código:
Código Python:
Ver originaldef Item_create(request):
context = {'next': '/Item/create/'}
form = context['form'] = ItemForm(request.POST or None)
if not form.is_valid():
return render(request, 'Item-edit.html', context)
Item_name = request.POST['Item_name']
if Item.objects.filter(Item_name=Item_name).exists():
context['messages'] = "Item '{}' already exists".format(item)
return render(request, 'Item-edit.html', context)
item = form.save(commit=False)
item.test = datetime.datetime.now()
item.save()
# Item(**form.cleaned_data).save()
return HttpResponseRedirect("/Item/list/")