On Oct 29, 2012, at 5:06 PM, Lachlan Musicman wrote:
> Your solution made it work, and I'm a doofus.
Let he who is without having spent the entire day looking for a punctuation
error in code cast the first stone. :)
--
-- Christophe Pettus
x...@thebuild.com
--
You received this message bec
On Tue, Oct 30, 2012 at 1:03 PM, Christophe Pettus wrote:
>
> On Oct 29, 2012, at 4:52 PM, Lachlan Musicman wrote:
>> Could you please expand on your answer for a beginner?
GAH! Thanks. I've been thinking that there's got to be an easier way
to get and generate these reports, so I've been thinkin
On Oct 29, 2012, at 4:52 PM, Lachlan Musicman wrote:
> Could you please expand on your answer for a beginner?
student-reports in the reverse call vs student_reports in the url() definition?
--
-- Christophe Pettus
x...@thebuild.com
--
You received this message because you are subscribed to t
On Tue, Oct 30, 2012 at 12:44 PM, Christophe Pettus wrote:
> - vs _ ?
>
I'm sorry, I'm not experienced enough or sufficiently knowledgeable
about python or django to understand your response.
I understand that _ has some relevance as an indicator of global vars
and functions in some way.
Could
- vs _ ?
On Oct 29, 2012, at 4:38 PM, Lachlan Musicman wrote:
> On Tue, Oct 30, 2012 at 11:14 AM, Nikolas Stevenson-Molnar
> wrote:
>> You're close. Your reverse calls should be:
>>
>> return redirect(reverse('student-reports', kwargs={'year': year}))
>
> Thanks - that makes sense. I might hav
On Tue, Oct 30, 2012 at 11:14 AM, Nikolas Stevenson-Molnar
wrote:
> You're close. Your reverse calls should be:
>
> return redirect(reverse('student-reports', kwargs={'year': year}))
Thanks - that makes sense. I might have even done that previously, but
I am still getting errors - I must have mis
On Mon, Oct 29, 2012 at 8:11 PM, Lachlan Musicman wrote:
> Hi,
>
> I'm struggling to get the syntax right for a url reverse function.
>
> I have a form that asks for a Model type (ChoiceField with strings)
> and a year (CharField).
>
> The logic then if/elifs the ChoiceField and then redirects to
You're close. Your reverse calls should be:
return redirect(reverse('student-reports', kwargs={'year': year}))
_Nik
On 10/29/2012 4:11 PM, Lachlan Musicman wrote:
> Hi,
>
> I'm struggling to get the syntax right for a url reverse function.
>
> I have a form that asks for a Model type (ChoiceFie
Hi,
I'm struggling to get the syntax right for a url reverse function.
I have a form that asks for a Model type (ChoiceField with strings)
and a year (CharField).
The logic then if/elifs the ChoiceField and then redirects to the
appropriate report page (for statistics on the Model type), with an
9 matches
Mail list logo