Ajout des templates et correction de leurs chemins

This commit is contained in:
Jérôme Schneider 2015-02-04 11:34:10 +01:00
parent fa200b17ac
commit f76de67f93
2 changed files with 9 additions and 2 deletions

7
MANIFEST.in Normal file
View File

@ -0,0 +1,7 @@
recursive-include eo_gestion/templates *
recursive-include eo_gestion/eo_banque/templates *
recursive-include eo_gestion/eo_facture/static *
recursive-include eo_gestion/eo_facture/templates *
include MANIFEST.in
include VERSION

View File

@ -16,7 +16,7 @@ ALLOWED_HOSTS = []
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': os.path.join(os.path.dirname(__file__), '..', 'facture.db'), # Or path to database file if using sqlite3.
'NAME': os.path.join(os.path.dirname(__file__), 'facture.db'), # Or path to database file if using sqlite3.
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
@ -85,7 +85,7 @@ TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
os.path.join(os.path.dirname(__file__), '..', 'templates'),
os.path.join(os.path.dirname(__file__), 'templates'),
)
INSTALLED_APPS = (