peterbe / django-mongokit

Bridging Django to MongoDB with the MongoKit ODM (Object Document Mapper)
Other
122 stars 20 forks source link

How to support django form attrs? #24

Open shenqihui opened 9 years ago

shenqihui commented 9 years ago

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.

peterbe commented 9 years ago

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

shenqihui commented 9 years ago

ok i see.