Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I believe you can do this quite easily with Django request processors, though I've never tried it.

This could work: https://gist.github.com/4066816






Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: