; To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@**
> googlegroups.com .
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en<http://groups.googl
Heretofore, I had always believed that Http404 did not cause Middleware
process_exception() to be run. Am I right in this thinking?
I have a get_object_or_404 that, when the object in question isn't found,
is running process_exception.
--
Justin Holmes
Head Instructor, SlashRoot Colle
ink though that I simply hadn't raised Http404 since implementing this
middleware. It makes perfect sense that it behaves the way it does.
On Tue, Mar 27, 2012 at 11:29 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
>
> On 28/03/2012, at 6:31 AM, Justin Holmes wro
necessary at all, as the Http404 page makes it clear
that it's an exception.
On Wed, Mar 28, 2012 at 7:22 PM, Russell Keith-Magee
wrote:
>
>
> On 29/03/2012, at 12:10 AM, Justin Holmes wrote:
>
> > Russell,
> >
> > Thanks for the reply.
> >
> > T
I am having a problem with contrib.sessions.tests.test_valid_key (line
159). It's a mixin which in the failure case is mixed with
CacheDBSessionTests.
The test raises:
"AttributeError: 'bool' object has no attribute 'get'"
The error is actually raised by session.save() on 164.
Stepping inward
s)
specified in the TEMPLATE_DIRS setting.
The same code is executed just fine in production.
--
Justin Holmes
Head Instructor, SlashRoot Collective
SlashRoot: Coffee House and Tech Dojo
60 Main Street
New Paltz, NY 12561
845.633.8330
--
You received this message because you are subscribe
elcome growth
in this direction.
http://groups.google.com/group/django-deeper
--
Justin Holmes
Head Instructor, SlashRoot Collective
SlashRoot: Coffee House and Tech Dojo
60 Main Street
New Paltz, NY 12561
845.633.8330
--
You received this message because you are subscribed to the Google Groups
"Djang
might be able to use annotate:
LlamaHerd.annotate(largest_llama=Max('llama__size')).order_by('largest_llama__dob')
...but the annotate here creates fields with float values, not with the
model instances.
--
Justin Holmes
Chief Chocobo Breeder, slashRoot
slashRoot: Coffee Hou
Tue, Apr 1, 2014 at 6:09 PM, Bill Freeman wrote:
> Aren't you missing a ForeignKey relationship to tell which LlamaHerd a
> Llama belongs to?
>
> Then you would use the reverse relation manager in LlamaHerd to build up
> your annotation.
>
>
> On Tue, Apr 1, 2014 at 5:
You say "use the reverse relation manager in LlamaHerd to build up your
annotation," but that answer the question.
How can I sort LlamaHerd objects by the DOB of their largest llama?
On Tue, Apr 1, 2014 at 6:13 PM, Justin Holmes wrote:
> Yes, absolutely - my bad. I have updated t
is fixed, your original
> annotate might work.
>
>
> On Tue, Apr 1, 2014 at 6:20 PM, Justin Holmes wrote:
>
>> You say "use the reverse relation manager in LlamaHerd to build up your
>> annotation," but that answer the question.
>>
>> How can I sort LlamaH
It's called LlamaHerd.
>>>
>>> 2. I was misinterpreting what you wanted (couldn't get past the lack of
>>> a relationship while reading0. Once the relationship is fixed, your
>>> original annotate might work.
>>>
>>>
>>> On T
12 matches
Mail list logo