mplish the above with a highly inefficient nested
loop:
Template code:
==
{% for item in list1 %}
{{ item }}:
{% for item2 in list2 %}
{% ifequal forloop.counter0 forloop.parentloop.counter0 %}
{{ item2 }}
{% endifequal %}
{% endfor %}
{% endfor %}
=
g these quite extensively within
my current project, I will be able to do code tweaking and testing, as
well as some actual documentation, before submitting these to the Django
upstream for inclusion.
As noted previously, I think there would be a great benefit to allowing
the easy addi
I had
the following Model, I could use something to the effect of
Netblock.objects.filter(inet__cidrct="1.2.3.4") and get back a Netblock
entry of "1.2.3.0/24", for example:
class Netblock(BaseModel):
inet = InetField()
Thanks,
Jay
--
Jay Deiman
\033:wq!
--~--~-
Alex Gaynor wrote:
>
>
> On Tue, Feb 24, 2009 at 2:10 PM, Jay Deiman <mailto:j...@splitstreams.com>> wrote:
>
>
> Jay Deiman wrote:
> > The example of the "Comparison" Model in the second link is, at first
> > glance, *exactl
Jay Deiman wrote:
> The example of the "Comparison" Model in the second link is, at first
> glance, *exactly* what I am looking to do. I think I'm going to dig in
> tomorrow and experiment with this configuration, but it looks like this
> will be perfect for my need
hase posted, I think it's
exactly what I'm looking for.
Thanks,
Jay
--
Jay Deiman
\033:wq!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
cases to see if those have been resolved...most likely they have.
The example of the "Comparison" Model in the second link is, at first
glance, *exactly* what I am looking to do. I think I'm going to dig in
tomorrow and experiment with this configuration, but it looks like this
wil
xtend the Manager class?
I'm wondering what people with more experience would do for this situation.
If the above is not clear, please let me know where I need to clarify.
Thank you.
--
Jay Deiman
\033:wq!
--~--~-~--~~~---~--~~
You received this message bec
8 matches
Mail list logo