Как заставить Django получать текст после запятой для редактирования?
моя форма перед нажатием кнопки редактирования
моя форма после нажатия кнопки редактирования ввода не показывает все строки после запятой
``` def UpdateMainCategory(request, slug):
maincat = MainCategories.objects.get(slug=slug)
if request.method == 'POST':
if len(request.FILES) != 0:
if len(maincat.icon) > 0:
os.remove(maincat.icon.path)
maincat.icon = request.FILES['iconimage']
maincat.name = request.POST.get('maincat')
maincat.status = request.POST.get('catstatus')
maincat.meta_title = request.POST.get('metatitle')
maincat.meta_keywords = request.POST.get('metakeywords')
maincat.meta_description = request.POST.get('metadescription')
maincat.save()
messages.success(request, "Main Category Updated Successfully.")
return redirect('/products/categories/')```
my .html code sample
``` <input type="text" name="maincat" class="form-control" placeholder="Baby Products..., Electronics..." maxlength="100" value={{ maincat.name }} required
data-validation-required-message="This field is required" />```