Commits

Anonymous committed e01104d

uploads configuration

Comments (0)

Files changed (2)

newsmeme/__init__.py

 CACHE_TYPE = "simple"
 CACHE_DEFAULT_TIMEOUT = 300
 
-UPLOADED_FILES_DEST = 'uploads'
 UPLOADS_DEFAULT_DEST = 'uploads'
 
 def configure_logging(app):

tests/__init__.py

     CSRF_ENABLED = False
     SQLALCHEMY_DATABASE_URI = "sqlite://"
     SQLALCHEMY_ECHO = False
+    UPLOADS_DEFAULT_DEST = "test_uploads"
 
     def create_app(self):
         return create_app(self)