Reputation: 1
I am getting the below error on Herokuapp site, while the local version of my Django app works just fine.
Any help or guidance would be appreciated.
Note:
settings.py
file)Exception Value:column home_article.Influencers1_id does not exist
Request Method: GET
Request URL: http://www.manishrathee.com/Article
Django Version: 3.1.13
Exception Type: ProgrammingError
Exception Value:
column home_article.Influencers1_id does not exist
LINE 1: ...ome_article"."tag2_id", "home_article"."tag3_id", "home_arti...
^
Exception Location: /app/.heroku/python/lib/python3.9/site-packages/django/db/backends/utils.py, line 84, in _execute
Python Executable: /app/.heroku/python/bin/python
Python Version: 3.9.6
Python Path:
['/app/rathee',
'/app/.heroku/python/bin',
'/app',
'/app/.heroku/python/lib/python39.zip',
'/app/.heroku/python/lib/python3.9',
'/app/.heroku/python/lib/python3.9/lib-dynload',
'/app/.heroku/python/lib/python3.9/site-packages',
'/app/.heroku/python/lib/python3.9/site-packages/odf',
'/app/.heroku/python/lib/python3.9/site-packages/odf',
'/app/.heroku/python/lib/python3.9/site-packages/odf',
'/app/.heroku/python/lib/python3.9/site-packages/odf',
'/app/.heroku/python/lib/python3.9/site-packages/odf',
'/app/.heroku/python/lib/python3.9/site-packages/odf',
'/app/.heroku/python/lib/python3.9/site-packages/odf',```
The error can be viewed here – http://www.manishrathee.com/Article.
** ADDED **
I also receive this error in the Admin area –
Error during template rendering
In template /app/.heroku/python/lib/python3.9/site-packages/django/contrib/admin/templates/admin/includes/fieldset.html, error at line 19 cursor "_django_curs_140244460422336_sync_1" does not exist 9 {% for field in line %} 10 <div{% if not line.fields|length_is:'1' %} class="fieldBox{% if field.field.name %} field-{{ field.field.name }}{% endif %}{% if not field.is_readonly and field.errors %} errors{% endif %}{% if field.field.is_hidden %} hidden{% endif %}"{% elif field.is_checkbox %} class="checkbox-row"{% endif %}> {% if not line.fields|length_is:'1' and not field.is_readonly %}{{ field.errors }}{% endif %} {% if field.is_checkbox %} {{ field.field }}{{ field.label_tag }} {% else %} {{ field.label_tag }} {% if field.is_readonly %} {{ field.contents }} {% else %} {{ field.field }} {% endif %} {% endif %} {% if field.field.help_text %} {{ field.field.help_text|safe }} {% endif %} {% endfor %} {% endfor %}
Many thanks!
Upvotes: 0
Views: 300
Reputation: 1
Heroku git repositories are separate & distinct from Git Hub. You would need to delete your Heroku App and reestablish it for it to work again.
Upvotes: 0