New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
“Programming Error” with /admin/generator DB content when deployed on Heroku #66
Comments
Hey @enoren5,
That's All ! Best Regards, |
Thanks, @UmarGit for the reply. Yes, I realize that the tables are not yet created. Below are the commands you suggested along with their output. The missing tables remains a problem when trying to add content in the Admin Dashboard. I tried your commands both locally and remotely. For example, I used Here it is:
Here is me logging in remotely and then executing the same commands you recommended:
|
Hey @enoren5,
Now the app is healthy and perfectly working. That's all I had done ! |
Hi @UmarGit! Thank you for fixing it but I can't tell the difference between the commands you entered compared to the commands I entered. Would you be able to tell me what you did differently? Also: I am desperately trying to make sense of your commands which is almost impossible for me because your shell is not color coded. So could you please share your code in a pastebin for me to inspect further? |
Basically the difference is very simple, I forgot the command to migrate apps: We can migrate an app step by step as:
So as a shortcut to execute commands on heroku we can call bash as Best Regards, |
And migrating apps to heroku throwing error as:
|
But @UmarGit: As you can see I already executed those commands. To reiterate what I said earlier, I already logged in via bash and exectued your commands. To quote my self from earlier: I invoked |
You suggest using |
I just realized the difference. This is what you recommended: This is what I did: I was using 'migrate' while you were using 'makemigrations' I will mark this issue as solved and closed. Thank you @UmarGit for your patience with the oversight on my part. :) |
I just realized that in your very first post in this, you had recommended: |
|
The only thing is the
|
Yes all confusion was created from my side, Sorry for it ! |
I’m experimenting with swapping different PostreSQL DB instances in and out on Heroku. I’ve got one instance for Lorem Ipsum content and the other instance for meaningful, quality blog content. The first DB was provisioned by a previous freelancer which works well. It is populated with placeholder content.
Now I am trying to spawn a fresh DB from scratch and reconfigure. I’ve got it mostly set up but Django is throwing a Programming Error and I have no clue why. Here is the full error. Here is the main description of the error:
So far I’ve used Heroku’s official doc explaining how to set up a PostreSQL DB (specifically the provisioning section). I also read “Managing Add-ons”.
To experiment with this new DB instance today, I also leveraged the console log provided by the previous freelancer for the prior Issue (#57). Here it is.
Here are all the terminal commands I used in sequence in a pastebin. As you can see in there, I made a deliberate effort to migrate and make migrations (twice).
What am I missing?
edit: grammar correction
The text was updated successfully, but these errors were encountered: