log/tags etc...
My solution (the one in the patch in ticket 3402 is fully backward
compatible, will only affect the views that *need* the stem, and is
not affected by how many levels of includes there are. And imho I
think it solves the problem in a simple non-obtrusive way.
So, I would like you guys t
Well, I went ahead and created a patch for this. It is in ticket 3402
(http://code.djangoproject.com/ticket/3402)
--
Thanks,
Medhat
On Jan 26, 12:18 pm, "medhat" <[EMAIL PROTECTED]> wrote:
> the url should behttp://www.example.com/categories/x/
>
> --
> Medhat
>
atches, one for each URLResolver?
>
> On Jan 27, 7:12 am, "medhat" <[EMAIL PROTECTED]> wrote:
>
> > Here is even a better idea...
>
> > in your urls.py when you "from django.conf.urls.defaults import *" this
> > will import 'stem' in add
the url should be http://www.example.com/categories/x/
--
Medhat
On Jan 26, 12:12 pm, "medhat" <[EMAIL PROTECTED]> wrote:
> Here is even a better idea...
>
> in your urls.py when you "from django.conf.urls.defaults import *" this
> will import 'stem
views.tag_list and pass it the request object and two keyword
parameters: tag = 'x' and stem = /categories/
I already have a patch that does this. I don't have unit tests or
documentation yet. But if this looks like a patch that would be
accepted, I can definitely work on the tests and
as much, but will be backwards
compatible is to add "stem" to the request object (even though I
understand this is not really a request property)
So, I would like to hear what you guys think.
--
Thanks!
Medhat
--~--~-~--~~~---~--~~
You received this message
idea.
Another alternative, which I don't like as much, but will be backwards
compatible is
to add "stem" to the request object (even though I understand this is
not really a
request property)
So, I would like to hear what you guys think.
--
Thanks!
Medhat
--~--~-~--~~---
So many times I send messages to the group, but my message does not
appear at all, or it might appear a day or two after I actually send
it, which of course makes it appear down on the list, and nobody really
sees it.
--
Thanks,
Medhat
--~--~-~--~~~---~--~~
You
g and directing people for
where they should spend their time.
Just my 2 cents :-)
--
Thanks,
Medhat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send
a
foreign key.
I can see this also to be useful with middleware, if you want to test a
specific middleware with other ones present or absent.
Does that make sense, or am I missing something?!
--
Thanks,
Medhat
--~--~-~--~~~---~--~~
You received this message b
Is there any update on including this into trunk?! I have been checking
the ticket daily :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To post to this group, send email to django-de
s):
obj_list = klass._default_manager.filter(*args, **kwargs)
if obj_list.count() == 0:
raise Http404
return obj_list
---
--
Thanks,
Medhat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
d
like:
{#
{% if x %}
blah blah blah
{% endif %}
#}
will not be commented out. And I think this is a far more common
scenario.
--
Medhat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
developers"
the uploaded files in FileField-derived fields are saved.
Should the post_save signal be moved to after the files are saved, or
can we have another signal that is fired then?
--
Thanks,
Medhat
--~--~-~--~~~---~--~~
You received this message because you are
added the {% eblock ... %} tag that does not require an
end tag.
And here is the patch. I am posting it here to see if people think this
is a good idea... if it is, I will create a ticket.
--
Thanks a lot,
Medhat
Index: loader_tags.py
ust wanted more people to look at it first, since I still
consider myself new with django, and I wanted to make sure that I did
not miss something, or if people will planning on using this
differently.
--
Thanks!
> --
> Adrian Holovaty
> holovaty.com | djangoproject.com
>
Hi,
Is there any reason this is not added to the repository?
--
Thanks!
Medhat
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django d
[EMAIL PROTECTED] wrote:
> Joseph Kocherhans wrote:
> > The current trunk and magic-removal docs say this about OneToOneField:
>
> [snip]
>
> No feedback, so I've commited a patch. OneToOneField now behaves like
> ForeignKey for adding objects in the admin system, and is displayed as
> a read onl
18 matches
Mail list logo