Commits

ben...@localhost.my.domain  committed 855da6f

prod change

  • Participants
  • Parent commits 34d9add

Comments (0)

Files changed (2)

File couchit/settings.py

 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+import platform
 import os
 
 DEBUG = True
 
 SERVER_NAME = 'couchit.net'
-if DEBUG:
+    
+if platform.node() != "tombstone":
     SERVER_NAME = 'couch.test:5000'
 
 

File maintenance.html

-<!DOCTYPE html>
-
-<html lang="en">
-
-<head>
-    <meta charset="utf-8" />
-    <title>couchit.net maintenance</title>
-    <link rel="icon" type="image/png" href="/static/img/favicon.png" />
-    
-
-    <link rel="stylesheet" href="/static/css/screen.css" type="text/css" media="screen, projection" />
-    <link rel="stylesheet" href="/static/css/theme.css" type="text/css" media="screen, projection" />
-    <link rel="stylesheet" href="/static/css/print.css" type="text/css" media="print" /> 
-    <!--[if IE]>
-      <link rel="stylesheet" href="/static/css/ie.css" type="text/css" media="screen, projection" />
-    <![endif]-->
-  
-</head>
-<body>
-  
-
-    
-    <div id="container">
-
-         <header id="site_header">
-             
-         </header>   
-
-        
-        
-        <div id="page_wrapper">
-            <section id="pgeneric">
-            <h1>Maintenance</h1>
-           <p>2008-09-21 - 18:40 (CEST)</p>
-           <p>We are updating couchit. Will be back in 5 minutes.</p>
-           </section>
-        </div>
-        
-        <footer class="footer_wrapper">
-
-            
-            <p class="powered">Powered by <a href="http://couchit.net">CouchIt</a>.</p>
-        </footer>
-        
-
-        
-    </div>
-</body>
-</html>