Depending on your setup, if your database is pointing to 
production(Heroku) then the local migrate would be make changes to the  
Heroku database.
If not, you would need to follow best practice below:

Django Migrations - Heroku Help 
<https://help.heroku.com/GDQ74SU2/django-migrations>

On Wednesday, June 16, 2021 at 1:59:32 PM UTC-4 rhythm...@gmail.com wrote:

> Hey Thanks for your reply.
> I forgot to add the database url in the settings.py file. I added that and 
> it worked.
>
> But I've got a doubt, now I would be working on local host and if I update 
> the models and execute the 
> "python manage.py  migrate" command, would the changes be reflected in the 
> database and heroku app or do I need to run the command "heroku ..... 
> python manage.py migrate"  ?
>
>
>
> On Wed, Jun 16, 2021, 11:21 PM Krish M <kman...@agnima.com> wrote:
>
>> Rhythm,
>>
>> The settings must be in uppercase - try changing it to 'PASSWORD'
>>
>> Without seeing your setting.py (without your credential of course) there 
>> is no way to debug.
>>
>>
>>
>>
>> On Wednesday, June 16, 2021 at 1:01:52 PM UTC-4 rhythm...@gmail.com 
>> wrote:
>>
>>> I created a django website and deployed it on heroku and have used aws 
>>> s3 and amazon RDS Postgres database.
>>> Now when i try to run python manage.py runserver in my cmd it gives 
>>> error - 
>>> psycopg2.OperationalError: fe_sendauth: no password supplied
>>> I have set os.environ.get to name, user, password and host variables in 
>>> the database section in settings.py.
>>> What should i do to resolve this? Please someone help.
>>>
>> -- 
>> 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 django-users...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/a98496c5-e2a5-493d-b7a7-e8a05f51838an%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/a98496c5-e2a5-493d-b7a7-e8a05f51838an%40googlegroups.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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/66af5d1d-20c5-4e15-836b-60bd73ac1542n%40googlegroups.com.

Reply via email to