On Feb 26, 7:10 pm, seamusjr wrote:
> > But what is points? Where is it coming from? As the traceback shows
> > you, you haven't set the points variable anywhere. Where are you
> > expecting it to come from?
> > --
> > DR.
>
> I want to iterate thru the points property of the Song object, from
>
> But what is points? Where is it coming from? As the traceback shows
> you, you haven't set the points variable anywhere. Where are you
> expecting it to come from?
> --
> DR.
I want to iterate thru the points property of the Song object, from
models.py, how can I output that from the views to
> But what is points? Where is it coming from? As the traceback shows
> you, you haven't set the points variable anywhere. Where are you
> expecting it to come from?
> --
> DR.
I want to iterate thru the points property of the Song object, from
models.py, how can I output that from the views to
> But what is points? Where is it coming from? As the traceback shows
> you, you haven't set the points variable anywhere. Where are you
> expecting it to come from?
> --
> DR.
I want to iterate thru the points property of the Song object, from
models.py, how can I output that from the views to
On Feb 26, 5:10 pm, seamusjr wrote:
> Ok, I got rid of the pointx variables, replaced them with the
> following and restarted the server.
>
> selected_song_set.points = points
> selected_song_set.save()
>
> Here is the traceback:
>
> Environment:
>
> Request Method: POST
> Request URL:http://127.
Ok, I got rid of the pointx variables, replaced them with the
following and restarted the server.
selected_song_set.points = points
selected_song_set.save()
Here is the traceback:
Environment:
Request Method: POST
Request URL: http://127.0.0.1:8000/polls/1/vote/
Django Version: 1.1 pre-alpha S
On Feb 26, 3:41 am, seamusjr wrote:
> I am trying to modify the polls example from djangoproject.com to take
> a integer point value for each of the 1 thru 5 poll items instead of
> having a radio button where u select one. However, I am having
> problems with the views.py syntax. I changed the
I am trying to modify the polls example from djangoproject.com to take
a integer point value for each of the 1 thru 5 poll items instead of
having a radio button where u select one. However, I am having
problems with the views.py syntax. I changed the Choice obejct to be
a Song object and change
8 matches
Mail list logo