streeter / django-db-readonly

Force an entire site to become readonly. In a sort of hackish way.
MIT License
107 stars 21 forks source link

Add a SITE_READ_ONLY context processor. #2

Closed bartek closed 11 years ago

bartek commented 11 years ago

Hi!

Nice little hack. I added this context processor in a cloned copy of it to for our project, and thought it might be beneficial. We used the context processor to display a persistent in-maintenance banner. :)

Cheers

streeter commented 11 years ago

Thanks!