1. Yang Zhang
  2. pillar

Commits

Yang Zhang  committed b77e307

change file

  • Participants
  • Parent commits 0da53af
  • Branches master

Comments (0)

Files changed (4)

File .gitignore

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

File projectname/__init__.py

View file
-# -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
 
 '''stupid file to package the project'''

File projectname/app.py

View file
-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

File projectname/config/conf.py

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