Moved admin templates to admin module

This commit is contained in:
Antonio de la Rosa 2015-12-14 17:21:45 +01:00
parent 00f847a1d6
commit 9dbfc8daeb
6 changed files with 4 additions and 2 deletions

View file

@ -18,7 +18,7 @@ from bottle import redirect
from collections import OrderedDict
from time import time
from hashlib import sha512
from os import urandom
from os import urandom, path
#from citoplasma.login import LoginClass
# Check login
@ -29,7 +29,9 @@ def create_key_encrypt():
key_encrypt=create_key_encrypt()
t=ptemplate('admin')
module_admin=path.dirname(__file__)
t=ptemplate(__file__)
load_lang(['paramecio', 'admin'], ['paramecio', 'common'])