Add notes

This commit is contained in:
RemiZOffAlex
2020-02-16 22:58:39 +03:00
parent c4f4295dcc
commit 0c190878c3
12 changed files with 818 additions and 1 deletions

18
myapp/ns_note/__init__.py Normal file
View File

@@ -0,0 +1,18 @@
__author__ = 'RemiZOffAlex'
__copyright__ = '(c) RemiZOffAlex'
__license__ = 'MIT'
__email__ = 'remizoffalex@mail.ru'
__url__ = 'https://remizoffalex.ru'
import os
import jinja2
from . import views
from .. import app
my_loader = jinja2.ChoiceLoader([
app.jinja_loader,
jinja2.FileSystemLoader(os.path.dirname(os.path.abspath(__file__)) + "/templates"),
])
app.jinja_loader = my_loader