Re: Ticket #5333: add an assertContext method to Django's TestCase

2007-09-04 Thread Gary Wilson
Gary Wilson wrote: > Russell then added the comments: > - > My hesitation here (and the reason I didn't include a 'context assert' in the > first place) is that assertContext does an Equals test, but doesn't provide a > way to do any other assertion - NotEquals?, True, False,

Ticket #5333: add an assertContext method to Django's TestCase

2007-09-04 Thread Gary Wilson
bringing discussion to the list... For testing purposes, I was thinking it would be nice to have a way to assert the value of a context variable used to render a response. So I created ticket #5333 [1], where I proposed add an assertContext method to Django's TestCase class with the following

Re: Creating and using a project-specific database backend?

2007-09-04 Thread Gary Wilson
Russell Keith-Magee wrote: > On 8/30/07, George Vilches <[EMAIL PROTECTED]> wrote: >> Now that the database backend refactoring has landed, and DB >> functionality is really easy to extend, how does everyone feel about the >> possibility of allowing people to specify their own database backends

Re: Creating and using a project-specific database backend?

2007-09-04 Thread George Vilches
Russell Keith-Magee wrote: > On 8/30/07, George Vilches <[EMAIL PROTECTED]> wrote: >> Folks, >> >> Now that the database backend refactoring has landed, and DB >> functionality is really easy to extend, how does everyone feel about the >> possibility of allowing people to specify their own

Re: A question about manage.py validation

2007-09-04 Thread Marty Alchin
On 9/4/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > Model validation isn't something that needs to be run constantly. > Strictly, it only needs to be run once - when syncdb is run - to make > sure that the model isn't broken. Once the model has been validated, > there isn't any need to

Re: A question about manage.py validation

2007-09-04 Thread Russell Keith-Magee
On 9/5/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > > I normally hate to "ping" discussions on mailing lists, but two weeks > have passed, and I was hoping I could get an answer to the biggest > question facing this discussion. Adrian, could you clarify what you > meant by "loaded into memory"

Re: Possible bug in .order by() and/or in .select_related() in trunk

2007-09-04 Thread Ryan
> There's already a ticket about this (but I'm sorry, I don't remember the > ticket > number). But I'm sure there was a patch in the ticket. > > Michael http://code.djangoproject.com/ticket/2874 Ryan --~--~-~--~~~---~--~~ You received this message because you

Re: Possible bug in .order by() and/or in .select_related() in trunk

2007-09-04 Thread Michael Radziej
On Tue, Sep 04, Sebastian Macias wrote: > > The reason I'm summiting this here is because after spending many > hours troubleshooting it I really think is an actual bug. There's already a ticket about this (but I'm sorry, I don't remember the ticket number). But I'm sure there was a patch in

Possible bug in .order by() and/or in .select_related() in trunk

2007-09-04 Thread Sebastian Macias
The reason I'm summiting this here is because after spending many hours troubleshooting it I really think is an actual bug. I have the following model: class Subscriber(models.Model): list = models.ForeignKey(List) user = models.ForeignKey(User) subscribe_date =

Re: get_FIELD_filename() in pluggable FileField backends

2007-09-04 Thread Marty Alchin
On 9/4/07, Marty Alchin <[EMAIL PROTECTED]> wrote: > Some methods that are implemented include get_filename(), > get_absolute_url() and get_filesize(). Before this sparks any confusion, allow me to correct myself. get_filename() is not an available method on the special File object. I had it

Re: A question about manage.py validation

2007-09-04 Thread Marty Alchin
I normally hate to "ping" discussions on mailing lists, but two weeks have passed, and I was hoping I could get an answer to the biggest question facing this discussion. Adrian, could you clarify what you meant by "loaded into memory" means exactly, in this context? Are you referring to loading

get_FIELD_filename() in pluggable FileField backends

2007-09-04 Thread Marty Alchin
I finally have some code to support multiple backends, but I'd like to ask a question and write some documentation before I create a ticket for it. I apologize in advance for such a long email, but there's a bit of backstory necessary to ask the question. I was wondering about the intended use

Looking for a NYC-based Django Developer

2007-09-04 Thread blk74
Tripology.com, a VC-backed online lead generation company for the global travel industry is looking for a talented, intelligent, detail- oriented, hard-working web application developer to work full-time in our NYC-based office. Responsibilities: - Work with application development and product

adding raw flag parameter to post_save & pre_save signals

2007-09-04 Thread Graham Carlyle
Any chance the pre_save & post_save signals sent by the django.db.base.models.Model.save could have the raw flag passed as an additional parameter to them? My app uses theses signals to apply some common post save functionality to a bunch of models. But loading fixtures causes problems as my

Re: Feed URLs

2007-09-04 Thread jorjun
Hi Luke But you can get the querystring easily enough by using the dictionary : request.GET ? Regards Peter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group,