Re: issues with generic relation item lookup

2008-02-16 Thread Malcolm Tredinnick
On Sat, 2008-02-16 at 15:45 -0800, Chris Drackett wrote: > I am having two issue with generic relations. [...] > any ideas on how to fix this. I think this bug might be > related, but I can't tell: > > http://code.djangoproject.com/ticket/6051#preview There are a couple of bugs like this with

Re: Django ORM performance patch. Fixes #5420, #5768

2008-02-16 Thread David Cramer
Per my patches and what I believe Malcom has done with qsrf, the syntax for related fields was field__related__name, and yes, you would repeat this over and over, but it keeps it consistant. I would like a values-like method to return partial objects, and then requesting any field thats not "fill

Re: Bug saving NUL character?

2008-02-16 Thread Alexandre Martani
Should I create a ticket on trac for this? Alexandre Martani On 11 fev, 19:20, Robert Gravsjö <[EMAIL PROTECTED]> wrote: > Patryk Zawadzki wrote: > > --- 8< --- > > > What kind of injection? It did not terminate the SQL query, just the > > contents of one field. SQL termination in the middle of

issues with generic relation item lookup

2008-02-16 Thread Chris Drackett
I am having two issue with generic relations. I have the following models: - category (has just an owner that links to the User model) - tag (has a FK link to category) - posts, links (models for posts and links that are linked to the tag model with a generic relation) the problem I am having

Re: New field lookups

2008-02-16 Thread Justin Bronn
Julian, The django-developers mailing list for discussing the development of Django itself; django-users is the appropriate forum for this type of question. There are no lookups for hour, minute, second because this functionality may be accomplished by utilizing a `range` lookup with Python `dat

New field lookups

2008-02-16 Thread Julian
Hi there, writing a statistic-software i do need field lookups like day, year but more specific: hour, minute, second. what about those? can i modify my django-app to add them? regards julian --~--~-~--~~~---~--~~ You received this message because you are subscri

Ticket #6548 - django behind apache ssl proxy

2008-02-16 Thread Lauréline GUERIN
Hi, I've posted a ticket about http module, but as requested by Simon Greenhill, I also post the ticket description here (it is probably subject to discussions ;) ). I've seen some code in http/__init__.py:get_host function to handle X- FORWARDED-HOST that could be added by an apa