See More

""" =========== learnpython =========== Web-site for `Learn Python `_ courses built on top of `Flask `_ micro-framework. Python ====== As site built on top of Flask it main element is ``app`` module, where all necessary definitions and configuration happened. Settings are stored in ``settings`` module and could be rewrite with local ones from ``settings_local`` module. Views and all code required for views stored in ``views``, ``forms`` and ``utils`` modules. But view registration done in ``app`` using lazy-add technique. And finally, several different tests are stored in ``tests`` package. Data ==== For data storage site using plain files, which placed in ``data/`` directory, later these files processed using ``Flask-FlatPages`` extension. Configuration ============= ALLOW_SUBSCRIBERS ----------------- Indicates allow new subscribers or not. By default: ``True``. You could overwrite this setting in local settings and for Heroku environment. For Heroku environment, please use ``0`` for ``False`` and ``1`` for ``True``. MAIL_RECIPIENTS --------------- Indicates who will receive messages which sent by contacts and subscribe forms. By default: ``'[email protected]'``. You could overwrite this setting in local settings and for Heroku environment. For Heroku environment, please use comma as emails delimeter. """