Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
do not load .env in manage.py on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
monty5811 committed Dec 24, 2015
1 parent 083f1fd commit ab5fa4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion manage.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env python
import os
import sys

from apostello.loaddotenv import loaddotenv

loaddotenv()
if os.environ.get('DYNO_RAM') is None:
loaddotenv()

if __name__ == "__main__":
from django.core.management import execute_from_command_line
Expand Down

0 comments on commit ab5fa4b

Please sign in to comment.