Postgres DB

I finally got around it using django-extension

django-extension packages helps one to run python scripts in django
environment
*AJAYI Sunday *
(+234) 806 771 5394
*[email protected] <[email protected]>*



On Thu, Jul 9, 2020 at 7:12 PM dr neyx de godlove <[email protected]>
wrote:

> which database are you using
>
> On Thu, Jul 9, 2020 at 5:35 PM Sunday Iyanu Ajayi <[email protected]>
> wrote:
>
>> Hi guys
>>
>> Please I need help with my code.
>>
>> I am trying to run a python script in my django environment and  that
>> makes use of the django database. I get this error
>>
>> ModuleNotFoundError: No module named  project.settings
>>
>> But if I run manage.py runserver, it runs without error
>>
>> *AJAYI Sunday *
>> (+234) 806 771 5394
>> *[email protected] <[email protected]>*
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKYSAw2cRzCkF0%2BOFCe%2BGXpEzc0HZhA6mdyk%3DaLZ70xgmH2_%2BQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAKYSAw2cRzCkF0%2BOFCe%2BGXpEzc0HZhA6mdyk%3DaLZ70xgmH2_%2BQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJofND7rmJQdJgdQSox%2BJECrPYORO_Q4QxCm%2BBT9qWqgFdpZoQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJofND7rmJQdJgdQSox%2BJECrPYORO_Q4QxCm%2BBT9qWqgFdpZoQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKYSAw2dRokHT364PEbmCS7Dp6xfTyPmrbbpfdcss9q6u%2BgGUA%40mail.gmail.com.

Reply via email to