James Bennett wrote:
> Which I've never understood. Subclassing User, even when model
> inheritance works again, will be probably the most difficult, least
> efficient and least rewarding way of extending User...
But nobody knows this beforehand. The feature is called "subclassing"
and looks lik
Yes, you could do that, but it's not what you would want.It will become visible slower when the offset increases because you have to iterate through the previous rows.The nice Python syntax hides this detail but the driver has do it.
This is because the cursor is a forward cursor and you have to i
On 7/21/06, monkeynut <[EMAIL PROTECTED]> wrote:
> OK, patch mark 2 is up.. the only problem (and it might be a biggie) is that
> this effectively breaks things for people who're using the arguments in
> their intended way (eg. getting tomorrow and yesterday, etc.)?
>
> Pete.
I think the two poss
OK, patch mark 2 is up.. the only problem (and it might be a biggie) is that this effectively breaks things for people who're using the arguments in their intended way (eg. getting tomorrow and yesterday, etc.)?Pete.
On 7/21/06, Pete Crosier <[EMAIL PROTECTED]> wrote:
Tyson, Jacob - I've put up a p
On 7/21/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> comes up 4-5 times a day at least on IRC, most common desire is to
> extend auth.User
Which I've never understood. Subclassing User, even when model
inheritance works again, will be probably the most difficult, least
efficient and least r
It would also be nice to get a status report on all of the "Heads
up"/SoC django projects. I'm particularly interested in the status of
Model Inheritance, Row Level Permissions, and Schema Evolution.
With "status" being the current state of the project and its projected
completion.
Bryan
Malco
Tyson, Jacob - I've put up a patch for this, let me know if it's what you were looking for, or just plain stoopid.Cheers, Pete.On 7/21/06, Jacob Kaplan-Moss
<[EMAIL PROTECTED]> wrote:
On Jul 20, 2006, at 10:53 PM, Tyson Tate wrote:> On Jul 20, 2006, at 8:41 PM, James Bennett wrote: 10. Navigat
On Jul 21, 2006, at 11:46 AM, adurdin wrote:
> I'm trying to create a new database field type, and am not sure what
> method of models.Field I need to override to convert the value
> returned
> from the database to the appropriate Python type and vice-versa -- if
> indeed it should be done in mo
I'm trying to create a new database field type, and am not sure what
method of models.Field I need to override to convert the value returned
from the database to the appropriate Python type and vice-versa -- if
indeed it should be done in models.Field.
For the sake of example, assume I want to st
> > On Thu, 2006-07-20 at 17:34 -0400, Dan Hristodorescu wrote:
> > >
> > > and for SQL 2000 should look like this:
> > >
> > > SELECT fields FROM table
> > > WHERE primary key IN
> > > (SELECT TOP limit primary_key FROM table
> > > WHERE primary_key NOT IN
> >
Tim Shaffer wrote:
> Douglas Campos wrote:
> > now i'm on my django site
> >
> > https://example.org/
> >
> > if I type https://example.org/admin it redirects to
> > http://example.org/admin/
> > (note the change from https to http)
> > is this an expected behaviour?
> >
> > Thanx
>
> Yes, this
Douglas Campos wrote:
> now i'm on my django site
>
> https://example.org/
>
> if I type https://example.org/admin it redirects to http://example.org/admin/
> (note the change from https to http)
> is this an expected behaviour?
>
> Thanx
Yes, this is the expected behavior. There is a setting ca
On Fri, 2006-07-21 at 18:33 +0400, Ivan Sagalaev wrote:
> Adrian Holovaty wrote:
> > Most -- all? -- of the magic-removal stuff has settled down
>
> What about model inheritance? This is one feature that was before MR and
> never recovered after. I remember some people in django-users were
> fo
On 21-Jul-06, at 8:03 PM, Ivan Sagalaev wrote:
>> Most -- all? -- of the magic-removal stuff has settled down
>
> What about model inheritance? This is one feature that was before
> MR and
> never recovered after. I remember some people in django-users were
> forced to stay with pre-MR syntax
Adrian Holovaty wrote:
> Most -- all? -- of the magic-removal stuff has settled down
What about model inheritance? This is one feature that was before MR and
never recovered after. I remember some people in django-users were
forced to stay with pre-MR syntax because of it.
I also remember that
On Jul 20, 2006, at 10:53 PM, Tyson Tate wrote:
> On Jul 20, 2006, at 8:41 PM, James Bennett wrote:
>
>>> 10. Navigate to /blog/2006/jul/
>>> PROBLEM: Last month is listed as a previous month even though there
>>> are no objects created last month. Yes, this is documented behavior.
>>> But why? W
On 7/21/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2006-07-21 at 15:00 +0800, limodou wrote:
> > I know there is a create method in model manager class, I can use a
> > dict parameter to create an object and auto save the object. And I
> > want to know if there is a similar meth
On Fri, 2006-07-21 at 15:00 +0800, limodou wrote:
> I know there is a create method in model manager class, I can use a
> dict parameter to create an object and auto save the object. And I
> want to know if there is a similar method "update", which can update
> an object according dict parameters,
I know there is a create method in model manager class, I can use a
dict parameter to create an object and auto save the object. And I
want to know if there is a similar method "update", which can update
an object according dict parameters, just like:
Model.objects.update(object_id, **params)
bu
19 matches
Mail list logo