It is ForeignKey (capital K).
In your files you sent you missed the one file it was actually
complaining about :
On 06/05/18 18:09, Avitab Ayan Sarmah wrote:
index.html:
{% if latest_question_list %}
{% for question in latest_question_list %}
{{
question.question_text }}
{%
index.html:
{% if latest_question_list %}
{% for question in latest_question_list %}
{{
question.question_text }}
{% endfor %}
{% else %}
No polls are available.
{% endif %}
admin.py:
from django.contrib import admin
from . models import Question
admin.site.register(Question)
2 matches
Mail list logo