concentricsky / django-tastypie-swagger

An adapter to use swagger-ui with django-tastypie.
Other
132 stars 144 forks source link

The ALL and ALL_WITH_RELATIONS filters should only create filter inputs relevant to the field type. #55

Open johnraz opened 10 years ago

johnraz commented 10 years ago

eg: For a CharField we shouldn't see the __day filter...

It seems to be allowed/tolerated by both django and tastypie ... So I don't know if we should address this or not.

Would like to hear from you guyz ;-)

pablodiazgutierrez commented 3 years ago

I'm way late to the party, but we're running into this issue right now, with an integer field that's showing suffixes like __day, etc. Our new developer was very confused about this when reviewing our interactive documentation.