Hi,
you have to add name attribute in html file and use same name
attribute in request dictionary to get value
On Fri, Dec 2, 2016 at 8:21 AM, Jordan W wrote:
> Daniel, you nailed it! I didn't have the name specified. Adding that makes
> it propagate through!
>
> On
Daniel, you nailed it! I didn't have the name specified. Adding that makes
it propagate through!
On Monday, November 28, 2016 at 6:34:19 PM UTC-6, Jordan W wrote:
>
> Hi,
>
> I have been working on a small project for myself and some friends, and I
> seem to have hit a hitch in getting it to
The problem is in your html. Browsers can only send data for inputs with a
`name` attribute, which Django then uses as the key in the querydict, whereas
the `value` attribute becomes the value for that key.
None of your inputs have names. It also doesn't make sense to add the id to the
form or
Hey Jordan,
Please share your views.py as well.
On Tuesday, November 29, 2016 at 6:04:19 AM UTC+5:30, Jordan W wrote:
>
> Hi,
>
> I have been working on a small project for myself and some friends, and I
> seem to have hit a hitch in getting it to work as expected.
>
> In my detail view, I
Hi,
I have been working on a small project for myself and some friends, and I
seem to have hit a hitch in getting it to work as expected.
In my detail view, I have a small simple form:
{% csrf_token %}
Prepare
My main list view and detail view are class based views, with
5 matches
Mail list logo