Commits

Anonymous committed 855da6f

prod change

Comments (0)

Files changed (2)

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'
 
 

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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.