This is a migration problem
https://groups.google.com/forum/#!topic/django-users/M-C6cZ8S4r4
https://stackoverflow.com/questions/42613536/django-programming-error-column-does-not-exist-even-after-running-migrations
always run migrations before committing to heroku, but you can also run it
on her
Follow a tutorial.
1) Hide your secret key and everything secretive in an environment
variable. Or use Django-environ
2) Try python manage.py check —deploy
3) Debug is set to True... it should not be True if you’re publishing
(deploying)
On Mon, May 27, 2019 at 3:46 PM omar ahmed wrote:
> i can'
i can't publish my project
On Monday, May 27, 2019 at 8:45:59 PM UTC+2, Jamiu Olashile Salimon wrote:
>
> Hello Omar, what’s the problem?
>
> On Sun, 26 May 2019 at 10:35 PM, omar ahmed > wrote:
>
>> git push heroku master
>> Counting objects: 4, done.
>> Delta compression using up to 4 threads
Hello Omar, what’s the problem?
On Sun, 26 May 2019 at 10:35 PM, omar ahmed wrote:
> git push heroku master
> Counting objects: 4, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (4/4), done.
> Writing objects: 100% (4/4), 414 bytes | 0 bytes/s, done.
> Total 4 (delt
Is there a question here? I will point out what I see wrong in Settings.py.
Allowed_hosts is empty. Need the host domain.
Missing Port number for your database
Did you migrate your models?
Secret key should be stored in environment variable
On Sunday, May 26, 2019 at 4:34:54 PM UTC-5, omar ahme
git push heroku master
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 414 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote
6 matches
Mail list logo