django-mongokit icon indicating copy to clipboard operation
django-mongokit copied to clipboard

How to support django form attrs?

Open shenqihui opened this issue 8 years ago • 2 comments

I create a form, but i can't put some attrs into the form field just like origin django.It take no effect?

How to due with it?

My code is like this:

'type': forms.TextInput(attrs={
  'ng-bind': 'product',
  'sd': 'sdfghn',
}),

Thanks for you help.

shenqihui avatar Oct 26 '15 05:10 shenqihui

It's probably best to tackle this with regular django forms. This project is not maintained.

peterbe avatar Oct 27 '15 15:10 peterbe

ok i see.

shenqihui avatar Oct 28 '15 06:10 shenqihui