from london.apps.themes.registration import register_template register_template("home", mirroring="home.html") register_template("result", mirroring="result.html")
import os from london.apps.themes.registration import register_template register_template("articles_base", mirroring="articles/base.html") register_template("post_list", mirroring="articles/post_list.html") register_template("post_view", mirroring="articles/post_view.html") register_template("post_edit", mirroring="articles/post_edit.html") from london.apps.ajax import site site.register_scripts_dir('articles', os.path.join( os.path.dirname(__file__), 'scripts'))
import os from london.apps.themes.registration import register_template from london.apps.ajax import site register_template("comments", mirroring="comments/comments.html") register_template("comment", mirroring="comments/comment.html") site.register_scripts_dir('comments', os.path.join(os.path.dirname(__file__), 'scripts'))
import os from london.apps.themes.registration import register_template register_template("page_view", mirroring="pages/page_view.html") register_template("page_list", mirroring="pages/page_list.html") REQUIRED_PACKAGES = ['markdown2']
""" This application has debug-related functions and views. It is responsible for the error handling middleware and templates, for example errors 404 and 500. Traceback reports sent by e-mail are also a function of this application """ # Registered templates from london.apps.themes.registration import register_template register_template("error_404", mirroring="debug/error_404.html") register_template("error_500", mirroring="debug/error_500.html") register_template("error_other", mirroring="debug/error_other.html") register_template("default_error_404", mirroring="debug/default_error_404.html") register_template("default_error_500", mirroring="debug/default_error_500.html")