From 98b8b126cf24d64165a6eb78b6d16acf5a252e3c Mon Sep 17 00:00:00 2001
From: asacramento <sacramentoa@nic.ar>
Date: Fri, 15 Mar 2019 10:37:53 -0300
Subject: [PATCH] Se ajusta el APP_ROOT y los ignore para desarrollo y demas
 ambientes

---
 .gitignore         | 1 +
 TsaApi/settings.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 391626d..22af018 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@
 .idea/**/workspace.xml
 .idea/**/tasks.xml
 .idea/dictionaries
+logs
 
 # Sensitive or high-churn files:
 .idea/**/dataSources/
diff --git a/TsaApi/settings.py b/TsaApi/settings.py
index 7acbce7..e41efe6 100644
--- a/TsaApi/settings.py
+++ b/TsaApi/settings.py
@@ -159,7 +159,7 @@ REST_FRAMEWORK = {
     ),
 }
 
-APP_ROOT = '/var/www/tsaapi.prod.bfa.local/'
+APP_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + '/'
 
 SENTRY_URL = 'http://2ec54beaab3b4459a1e5afadea070f98:92aee3f5d91e4e66996a3e0792985541@172.17.30.21:9000/54'
 
-- 
GitLab