On Thu, Jul 16, 2009 at 9:27 PM, The Danny Bos wrote:
>
> So, I'm guessing this is impossible.
I'm guessing you need to have a little patience. This is a volunteer
list. Sometimes, when you don't get an answer, it's because the people
who are in a position to answer your question are busy. It's a
So, I'm guessing this is impossible.
Any ideas would be great ...
d
On Jul 16, 11:52 am, The Danny Bos wrote:
> Hopefully my last question on this,
> How do I get back to the page with the form, perhaps with a "Thank
> You" message, without having the POST still available if you hit
> refres
Hopefully my last question on this,
How do I get back to the page with the form, perhaps with a "Thank
You" message, without having the POST still available if you hit
refresh.
I figured I'd use 'reverse' but not quite sure why it isn't
working ...
Here's where I am now:
#views.py
def record_de
Russ, this makes a lot of sense, thanks so much.
I'll give it a go now ...
d
On Jul 16, 10:49 am, Russell Keith-Magee
wrote:
> On Thu, Jul 16, 2009 at 8:36 AM, The Danny Bos wrote:
>
> > Any ideas on this one guys?
>
> > I gave up on it last night.
> > I feel way off ...
>
> Ok - some back
On Thu, Jul 16, 2009 at 8:36 AM, The Danny Bos wrote:
>
> Any ideas on this one guys?
>
> I gave up on it last night.
> I feel way off ...
Ok - some back tracking.
Your first approach (no forms) should have worked. The reason you
didn't get any errors is that your code is explicitly ignoring _al
Any ideas on this one guys?
I gave up on it last night.
I feel way off ...
d
On Jul 15, 11:33 pm, The Danny Bos wrote:
> Agreed, I should get used to using Forms.
> So I gave it a go, the new problem I have is out of my three fields,
> two need to be hidden and have values automatically ass
Agreed, I should get used to using Forms.
So I gave it a go, the new problem I have is out of my three fields,
two need to be hidden and have values automatically assigned from the
page they're on. This is freaking me out.
Now I have:
# forms.py
class RatingForm(forms.Form):
record = for
On Tue, Jul 14, 2009 at 12:15 PM, The Danny Bos wrote:
>
> Heya, am trying to simply save 3 values to a database, without using
> Forms.
>
> In the Template:
>
>
>
>
>Rate This: {% for n in numbers %} value="{{ n }}">{{ n }}{% endfor %}
>
>
>
> In the View:
>
> f
> It runs OK (no errors) but doesn't save a single thing
It has to run without errors because you have enclosed the whole thing
in try.
You have to coerce the record_id and user_id into int before assigning
to the model fields, for it to save.
On Tue, Jul 14, 2009 at 9:45 PM, The Danny
Heya, am trying to simply save 3 values to a database, without using
Forms.
In the Template:
Rate This: {% for n in numbers %}{{ n }}{% endfor %}
In the View:
from mysite.rating.models import Rating
def critics_rating(request):
try:
10 matches
Mail list logo