writing django custom backend
I want to write django custom backend for search functionality of my site (using mysql match against query / fulltext search), so where should I write it? Should I write it in model of a new separate app. ? Or should I write it in some existing app. or should write it in some existing apps' model?
I am not much experienced in django and have never write any backend before. I know it can be done anyway, but I want to know what is recommended way.I assume it will be usable in other projects or apps also.
Just put it in your app that requires your middleware. Or create a django app that holds all your middlewares.