python-decouple Questions

9

Solved

I'm trying to run this project locally but when i try manage.py makemigrations i keep getting the following error: ImportError: cannot import name 'config' from 'decouple' Here are my steps: Clon...
Selfassured asked 25/6, 2020 at 16:41

7

Solved

I was trying to deploy my django project on heroku from heroku cli. So I created an app and then I ran git push heroku master from the project directory. Then I got the errors: remote: -----> $ ...
Greylag asked 28/3, 2018 at 18:6

3

Solved

I'm forced to keep my .env file in a non-standard path outside the root of my project (in a separate directory altogether). Let's say I have my Django project in /var/projects/my_project, though I...
Samuelson asked 23/4, 2017 at 11:56

1

Solved

I am trying to download a Django project from github and one of the requirements is:"As the project uses python-decouple you will need to create a file named .env on the root of the project with th...
Outlast asked 14/4, 2017 at 17:8
1

© 2022 - 2024 — McMap. All rights reserved.