On Tue, Nov 17, 2015 at 7:08 PM, Bob Aalsma <overhaalsgang_24_...@me.com> wrote: > Sorry, can't seem to find what's wrong here, please help: what am I > missing??? > > I'm seeing > > NoReverseMatch at /zoekopdrachten/4/resultaat/ > > Reverse for 'resultaat' with arguments '('',)' and keyword arguments '{}' > not found. 1 pattern(s) tried: > [u'zoekopdrachten/(?P<zoekvraag_id>[0-9]+)/resultaat/$']
The pattern asked for an argument, but no arguments were passed to reverse() / {% url %} > <snip> > and vraag.html: > <h1>Zoekvraag "{{ vraag.zoekvraag_id }}"</h1> > > {% if error_message %} > <p><strong>{{ error_message }}</strong></p> > </br> > {% endif %} > > <h2>Verzamelen resultaten</h2> > <form action="{% url 'zoekopdrachten:resultaat' vraag.zoekvraag_id %}" > method="post"> and therefore the argument you are trying to pass here does not exist. Debug your template context to determine why. Cheers Tom -- 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 post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFHbX1JTfWteyz%3DXVCLzmstSGL9XHzsuqnCpBu1soW1uYcO4PQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.