Transactions

2009-11-02 Thread Ben Ford
put into an existing infrastructure and there isn't the freedom at this point to change it. Even with this being the case, I think this could quite easily bite others, and it's pretty trivial to fix. -- Regards, Ben Ford ben.for...@gmail.com +447540722690 Joan Crawford - "I, Joan Crawfo

Re: Buildbot failure

2009-10-28 Thread Ben Ford
e job just keeping the damn thing running. > > I've more or less given up and am working on pony-build instead. Watch > this space. > > Jacob > > > > -- Regards, Ben Ford ben.for...@gmail.com +447540722690 Charles de Gaulle - "The better I get to know men,

Re: django doc improvement suggestion

2009-07-09 Thread Ben Ford
Merging - no. Cross linking, yes, in conjunction with relevant > additional content: > > - The HowTo should have a step-by-step walkthrough of the process of > building a specific custom field, with a link to the topic guide and > reference. > - The topic guide should hav

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-27 Thread Ben Ford
to make sure that the elaborate charade we play (conning windmill > to play with us) is reliable for 3rd party applications as well. > > The branch isn't really ready for testing yet, but it has been known to > work. And Eric has kindly thrown up a coverage report! > > http://med

Re: Model validation

2009-03-10 Thread Ben Ford
; > http://code.djangoproject.com/ticket/6845 is. > > > > Is the github code useable for production? Is there anything I can do > > to help with it? Is there a recommended workaround for model > > validation in the meantime? > > > > Thanks, > > > >

Re: Declarative fixtures for django

2009-03-08 Thread Ben Ford
an upstream app already had tests and was using fixture, then you could use those fixtures to provide the data where your models are referring to the existing ones. Thanks for your time on this Malcolm, it's certainly given me an idea of what to look at next and where I might be reinventing the

Declarative fixtures for django

2009-03-06 Thread Ben Ford
3. At the moment you can only specify a relationship from the direction that the field is defined. i.e as we have Book -> fk -> Author you can't write a dataset the does: class app__Author(DataSet): class auth1: ... books = [app__Book.book1, ...] I made it work this way to simplif

Re: Python 2.6 abstract base classes

2008-10-02 Thread Ben Ford
eally in favor of using or not using them, but I'd just like > to know if they're in the plan, in case I should add some notes in my > ... documentation. > > -Gul > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~~---~--~

Re: RFC: django.template refactoring (#7806)

2008-09-17 Thread Ben Ford
d @register.tag(token_stream=True) work instead, or am I missing > > something? > > Yes, that would work. > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~~---~--~~ You received this message because you are subscribe

Sprinting

2008-07-22 Thread Ben Ford
django in the Oxford area -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-

Re: Sprinting

2008-07-22 Thread Ben Ford
be good! Ben 2008/7/22 Tom Dyson <[EMAIL PROTECTED]>: > Hi Ben > > Some of us (at Torchbox) would be interested, depending on dates. Are you > planning to coincide it with one of the main Django sprints? > > Cheers > > Tom > > > On 22 Jul 2008, at 09:51, Ben Ford

Re: Sprinting

2008-07-22 Thread Ben Ford
obviously help! Cheers, Ben 2008/7/22 Ben Ford <[EMAIL PROTECTED]>: > Hi all, > > Appologies for being a couple of weeks late with this... I'm currently > working for in a team developing a django site and we'd like to offer our > facilities (office space, wireless, tea making et

Re: Multiple database support

2008-07-08 Thread Ben Ford
> > to a specific server based on some arbitrary logic). > > > > I may have misunderstood the proposal, but I think it's vital that the > > above two use cases are considered. Even if they can't be solved > > outright, providing tools that custom solutions to these cases

Re: Experimental Git repository available

2008-06-19 Thread Ben Ford
Nunez Gomez <[EMAIL PROTECTED]>: > > <http://hg.dpaste.com/django/> > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Re: Experimental Git repository available

2008-06-19 Thread Ben Ford
uot;Django should use > > Git!" thread; if you do I'll just ignore you. We're not switching from > > SVN any time in the foreseeable future. > > > > OK, so the details: > > > > Repository: git://djangoproject.com/django > > Gitweb:http://code.djangopro

Re: Bug in mod_python

2008-06-17 Thread Ben Ford
Thanks Graham, I though that might be the case, I won't bother to raise a ticket then. Ben 2008/6/17 Graham Dumpleton <[EMAIL PROTECTED]>: > > > > On Jun 17, 1:28 am, "Ben Ford" <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I've come across

Re: a new middleware class for django

2008-06-16 Thread Ben Ford
; > i found it vary useful in production in when debugging error that can > not be recreated in the django development server. > > Thanks > > -Mark Zitnik > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~~---~-

Bug in mod_python

2008-06-16 Thread Ben Ford
uraged? (django's documentation would suggest the use of request.path) Cheers, Ben -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers"

Re: Runtime initialisation of db_table from context

2008-05-29 Thread Ben Ford
t > runtime, from which db_table could be determined, i.e. > Product.objects.all(ctx) where ctx.db_table is the name of the product > table I wish to use > > That is a very quick and dirty example, however I hope I have still > made sense and might be able to get some

Re: Multiple database support

2008-05-22 Thread Ben Ford
tickets perhaps the wiki might be a good place to discuss the API? Anyone can clone from the hg repo, give me a shout if you would like push access and I'll sort it out. Cheers, Ben -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~~---~--~~ You

Re: Multiple database support

2008-05-21 Thread Ben Ford
would be to return the connection defined in settings.DATABASE_*. The code to build the declarative DatabaseWrapper is already there, and there a method to build one of these from what's in settings too. This should make it easy to get hold of connection in all of

Re: Multiple database support

2008-05-21 Thread Ben Ford
't, I see if I can at least make enough time to write up the API > > I came up with at PyCon. > > Please do, that would be great. > > -- > Nicola Larosa - http://www.teknico.net/ > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +447792598685 --~--~-~--~~

Re: Is it a good thing to continue using django multi-db-support ?

2008-02-18 Thread Ben Ford
queryset-refactor merge will cause all sorts > of headaches for this branch. > > If you are willing to take on the challenge of handling any bugs that > you find, and managing the merge process for any new features from > trunk that you want, then you will be able to use multi-db. H

Re: S3 file storage

2008-01-16 Thread Ben Ford
well, in case > they're not reading django-developers at the moment. I don't really > care who takes it on, just as long as people aren't waiting on me for > it anymore. > > -Gul > > [1] http://code.djangoproject.com/ticket/6390 > > > > -- Regards, Ben Ford [EM

Re: multi-db branch

2007-10-31 Thread Ben Ford
s dead, and there are patches being > attached to #4747? I'd be willing to pitch in some time to get the > multi-db code up to snuff, if there is a clear road ahead for what > needs to be done. If there isn't I can live with that too :-) > > /

Fwd: Multiple DB-Support at django

2007-10-10 Thread Ben Ford
Sorry for the forward, forgot to add the dev group when I sent the mail! -- Forwarded message -- From: Ben Ford <[EMAIL PROTECTED]> Date: 11 Oct 2007 10:14 Subject: Re: Multiple DB-Support at django To: BIERMANS Koen <[EMAIL PROTECTED]> Cc: "Adam, Mario A

Re: Django + SQL Alchemy

2007-10-06 Thread Ben Ford
s for your thoughts. Hopefully I can introspect all the > relationships and have back references working automatically before I > go home tonight. > > Paul > > On 10/5/07, Ben Ford <[EMAIL PROTECTED]> wrote: > > Hi Paul, > > > > I don't think it would entail t

Re: Django + SQL Alchemy

2007-10-05 Thread Ben Ford
ORM fields with the > > > Model.field syntax (as they would be replaced by SA's). > > > > Could you use the post_init signal to attach a LazySAModel object as > > an SA (or something) property of all newly created Django models? > > > > > > > &

Re: Django + SQL Alchemy

2007-10-04 Thread Ben Ford
If there's enough interest I'll move forward > with filling out the corners. > > Thanks, > Paul Davis > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +6281317958862 --~--~-~--~~~---~--~~ You received this message because you are subs

Re: Oracle slicing and backend refactor

2007-10-03 Thread Ben Ford
Hi Ian, There was some funky code in the branch I'm using and query.py wasn't getting the correct subclass of _QuerySet. Ben On 04/10/2007, Ian Kelly <[EMAIL PROTECTED]> wrote: > > > On 10/3/07, Ben Ford <[EMAIL PROTECTED]> wrote: > > Hi Ian, > > OracleQuerySets

Re: Oracle slicing and backend refactor

2007-10-03 Thread Ben Ford
/base.py to return ''. it seems this is going to be addressed in the queryset refactor coming shortly. Ben On 04/10/2007, Ian Kelly <[EMAIL PROTECTED]> wrote: > > > On 10/3/07, Ben Ford <[EMAIL PROTECTED]> wrote: > > Hi guys, > > Thanks for the reply. So if my only

Re: Oracle slicing and backend refactor

2007-10-03 Thread Ben Ford
t; queryset-refactor branch, please don't hesitate to ask. > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +6281317958862 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&qu

Fwd: Ticket 4747 (multi-db)

2007-09-20 Thread Ben Ford
easier for people to share/use/develop further, which can only be a good thing!! Thanks Ben -- Forwarded message -- From: BIERMANS Koen <[EMAIL PROTECTED]> Date: 14 Sep 2007 21:52 Subject: RE: Ticket 4747 To: Ben Ford <[EMAIL PROTECTED]> Hi Ben, In annexe a diff of

Re: Re The sprint

2007-09-12 Thread Ben Ford
Thanks for the input and the info. I'll have a look at those issues and hopefully get them sorted before the sprint. Ben On 12/09/2007, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 9/12/07, Ben Ford <[EMAIL PROTECTED]> wrote: > > Thanks for the responses

Re: Re The sprint

2007-09-11 Thread Ben Ford
gest some suitable > > candidates. > > I've read the announce. Well - unfortunatetely it IS a friday, what's > a normal working day for me. But maybe there's time at the evening. > I'll see... > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~

Re: Objet Dj'art

2007-08-24 Thread Ben Ford
and leave it otherwise untouched. Which I think would > be pretty sweet. > > I've posted this to developers as I think it requires some in depth > knowledge of how Django does its job. Apologies if it's a bit off > topic. > > Hope this inspires someone. > > Regards, >

Re: db backend refactoring

2007-08-14 Thread Ben Ford
ely doable- it's form right now is > just a left over from how I went about pinning down what ops were > 'standard' for backends. Crap like that will be removed next time I > do a full walk of the changes (this round is basically a "this is the > api I'm proposing, a

Re: Problem inspecting a (django) postgresql table

2007-07-11 Thread Ben Ford
Yes, word for word damnit! Wish I'd seen that before I started messing... Still it taught me a bit more about postgres I guess so it's all good! :-) Cheers, Ben On 12/07/07, Gary Wilson <[EMAIL PROTECTED]> wrote: > > > Ben Ford wrote: > > Peter, > > I ran into this

Re: Patch vs checkin

2007-07-11 Thread Ben Ford
ngo.trunk/. > > Since you're on svn, you might also try svk. > > -Forest > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFGlOZHRO4fQQdv5AwRAspiAJ9D3/FKYTeCw42vQok6M5u6EXnpEQCeMKbL > 6n8oBKPFqBWhjKQxYQt09cI= > =pqb0 > -END PG

Re: Problem inspecting a (django) postgresql table

2007-07-11 Thread Ben Ford
get_relations(cursor, table_name) > > File > "/usr/lib/python2.5/site-packages/django/db/backends/postgresql_psycopg2/introspection.py", > line 35, in get_relations > relations[int(row[0][1:-1]) - 1] = (int(row[1][1:-1]) - 1, row[2]) > TypeError: i

Re: Patch vs checkin

2007-07-11 Thread Ben Ford
ews on updating the svn repo for this branch ? > > k > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers&

Ticket 4747

2007-07-03 Thread Ben Ford
apply it to trunk and have fun with it... There are some problems with the tests on my machine, basically i can't get them to run properly, so if anyone could look into that it would be great, I'm guessing that the tests will be somewhat incomplete! Thanks Ben -- Regards, Ben Ford [EMAIL PRO

Patch vs checkin

2007-06-28 Thread Ben Ford
the django_session table in my test database (running postgres) around about the place where the output says "Request a page that modifies the session ... ok" i'm not sure what's going on and I don't think I know enough about it to find out in a reasonable space of time. Thanks Ben -- Regards, Ben F

Re: multiple-db-support

2007-06-08 Thread Ben Ford
tabase >name with the local model. Essentially, that's what this bit is doing: rel.to._default_manager.connection In muti-db the model's default manager keeps a reference to the db. I'll see if i can have a play with the tests and nail it down a bit better! Ben -- Regards, Ben Ford [

Re: multiple-db-support

2007-06-07 Thread Ben Ford
SELECT * from thisdbmodel WHERE pk_column in (list_of_fk_values); #run on the main db What do you think? -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &

Re: multiple-db-support

2007-06-07 Thread Ben Ford
On 08/06/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 6/8/07, Ben Ford <[EMAIL PROTECTED]> wrote: > > Hi Russ, > > Thanks for the reply. What's the prescribed way to track multiple > patches in > > one working copy? I haven't had much experien

Re: multiple-db-support

2007-06-07 Thread Ben Ford
k it might be a fairly elegant way to solve some problems, and would be interested in getting some feedback... Thanks, Ben On 08/06/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > On 6/8/07, Ben Ford <[EMAIL PROTECTED]> wrote: > > Russ, > > > > Can I

Re: multiple-db-support

2007-06-07 Thread Ben Ford
feature, open one, and keep the > patch up to date. > > Once you demonstrate that you're (1) capable of doing the work, and > (2) are in this for the long haul, we can get you an SVN login for the > branch. > > Yours, > Russ Magee %-) > > > > -- Regards, Ben

multiple-db-support

2007-06-04 Thread Ben Ford
this checked into django so other people can work on it, if there's still any interest... Thanks in advance, Ben -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: Caching querysets

2007-05-14 Thread Ben Ford
()] > else: > pass #not queryset > > def set(self, key, value, timeout=0): > self._fill_qs_cache(value) > > self._cache.set(key, value, timeout or self.default_timeout) > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +6

[sqlalchemy] SQLAlchemy branch questions

2007-05-14 Thread Ben Ford
rate with legacy systems; the number of responses to the 'database connection' thread I mentioned above would appear to bear this out. I'd be very interested to hear peoples' opinions on this subject. Thanks for reading, Ben -- Regards, Ben Ford [EMAIL

Re: Subversion cliff notes

2007-05-09 Thread Ben Ford
search around on the subversion site, but I thought > > > someone might have a link to a good site with a list of common how-to > > > bullets that might be quickeror that someone might just be kind > > > enough to paste the command they use into a reply. > > &g

Re: Disable admin pagination completely: discussion for ticket #4027

2007-04-30 Thread Ben Ford
n before the > merge to trunk, so backwards incompatible changes would hit with one > merge. > > The ticket: http://code.djangoproject.com/ticket/4027 > > So, what do you think about this? I'll be happy to hear your ideas. > > regards, > Marek > > P.S.: I'll try to

Re: Oracle patch is ready

2007-04-19 Thread Ben Ford
recommended > on the "Contributing to Django" page. There are some minor > architectural changes in there, although we've made every effort to > minimize the overall deltas. > > Please review the patch if you're able to and let us know what you > think. > > > > &

Re: Sorry...

2007-03-27 Thread Ben Ford
und, but there are a number of reasonable tutorials and you > can't break *too* much :) > > http://svk.bestpractical.com/view/HomePage > > Rob :) > > -- > One Track Mind Ltd. > PO Box 1604, Shortland St, Auckland, New Zealand > Phone +64-9-966 0433 Mobile +64-2

Sorry...

2007-03-27 Thread Ben Ford
the django-gis directory (where I checked out the gis branch) Once again sorry for the OT-ness of my email. Ben -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Oracle inspectdb

2007-03-25 Thread Ben Ford
in a bit more thoroughly. Any information gratefully received :) Ben -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to