Commits

Yang Zhang committed b77e307

change file

Comments (0)

Files changed (4)

 .webassets-cache
 dist/
 local_conf.py
+*.nja

projectname/__init__.py

-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
 
 '''stupid file to package the project'''
-import os
-
-import flask as f
-from flask import Flask
-import flask.ext.assets as fassets
-
-import config.conf as conf
-
-app = Flask(__name__)
-
-app.config.from_object("projectname.config.conf")
-
-assets = fassets.Environment(app)
-assets.versions = 'hash:32'
-
-@app.before_request
-def something_before_request():
-    pass
-
+import os
+
+import flask as f
+from flask import Flask
+import flask.ext.assets as fassets
+
+import config.conf as conf
+
+app = Flask(__name__)
+
+app.config.from_object("projectname.config.conf")
+
+assets = fassets.Environment(app)
+assets.versions = 'hash:32'
+
+@app.before_request
+def something_before_request():
+    pass
+
 import controllers

projectname/config/conf.py

-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
 
 import logging
 import datetime as dt