Commit d4d9af51 authored by sim's avatar sim

Cleaner code thanks to pipenv

parent 69863cb8
......@@ -4,15 +4,10 @@ from sqlalchemy import engine_from_config, pool
from logging.config import fileConfig
import re
# Add projet root directory in path and setup Django...
import os
# Setup django to be able to import gargantext
import django
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'gargantext.settings')
django.setup()
# ...to be able to import gargantext.
from django.conf import settings
from gargantext import models
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment