mirror of https://github.com/interlegis/sigi.git
Guilherme Gondim
15 years ago
3 changed files with 0 additions and 12 deletions
@ -1,9 +0,0 @@ |
|||||
try: |
|
||||
# try use maintenancemode middleware from django-maintenancemode project |
|
||||
import maintenancemode.middleware |
|
||||
class MaintenanceModeMiddleware(maintenancemode.middleware.MaintenanceModeMiddleware): |
|
||||
pass |
|
||||
except ImportError: |
|
||||
# otherwise, a thin wrapper for middleware |
|
||||
class MaintenanceModeMiddleware(object): |
|
||||
pass |
|
Loading…
Reference in new issue