Code

Ticket #19101: forms.py

File forms.py, 205 bytes (added by kristall, 21 months ago)

The used form

Line 
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3
4from django import forms
5
6class TestForm(forms.Form):
7   
8    Text = forms.CharField(widget=forms.Textarea(attrs={'rows': 10, 'cols': 100}), required=False)