Re: Do any financial firms use a Django framework?

2011-05-05 Thread Jason Beaudoin
On Tue, May 3, 2011 at 10:53 AM, rpt...@reportlab.com wrote: > Does anyone know of any financial firms which use a Django framework? Yep. I build advanced payment services for a prominent, offshore payment service provider, using django, python and nginx/uwsgi at the core. ~JB -- You received

Re: Model inheritance and simple access

2010-06-08 Thread Jason Beaudoin
sounds like magic, though django usually handles magic well :) On Tue, Jun 8, 2010 at 7:18 PM, John M wrote: > I was hoping to avoid that type of code, but instead have put a field > in the linked parent to indicate what type the child is and then have > a method in the parent as a property whic

Re: design question - forms as meta-data to a model

2010-06-05 Thread Jason Beaudoin
On Fri, Jun 4, 2010 at 2:42 AM, Russell Keith-Magee wrote: > On Fri, Jun 4, 2010 at 12:03 PM, Jason Beaudoin > wrote: >> Silence usually implies some key piece of documentation was missed, or >> was this just lost amongst more interesting posts? :) > > You've miss

Re: design question - forms as meta-data to a model

2010-06-03 Thread Jason Beaudoin
Silence usually implies some key piece of documentation was missed, or was this just lost amongst more interesting posts? :) On Tue, Jun 1, 2010 at 9:54 PM, Jason Beaudoin wrote: > Hi, > > I've a situation where the following functionality is desirable.. > >  - one centr

design question - forms as meta-data to a model

2010-06-01 Thread Jason Beaudoin
Hi, I've a situation where the following functionality is desirable.. - one central model is used and interacted with by users - forms (multiple on multiple sites, pick a number for each.. 5 or 50, doesn't matter) are submitted by anonymous users and associated with this central model.. so thes

Re: Design Question - Extending a model

2010-01-12 Thread Jason Beaudoin
On Mon, Jan 11, 2010 at 12:00 PM, Igor wrote: > Thanks a lot - I didn't know about generic relations, and will > definitely look at them - right now :). I start thinking about extending models (and other DRY mode/db methods) when I see myself repetitively typing out too many fields. ~J -- You r

Re: how do you get recordcount?

2009-12-21 Thread Jason Beaudoin
On Mon, Dec 21, 2009 at 9:02 AM, Bobby Roberts wrote: >    Looking at this code: > >    newsqlcmd="select title,author from booklist" >    cursor=connection.cursor() >    cursor.execute (newsqlcmd) >    tms=cursor.fetchall()  #this is the actual recordset being pushed > back to the template > > >

Re: Interesting code abstraction Challenge

2009-10-25 Thread Jason Beaudoin
Thanks for the thoughts Preston! > I think a base class with subclasses is the best approach. > > Define as much common behavior as possible, set up defaults for those > fields needed by your outbound API Indeed, thanks for the confirmation. I think it's time for experimentation! > How are yo

Re: Interesting code abstraction Challenge

2009-10-24 Thread Jason Beaudoin
Anyone else have thoughts on this, with respect to design considerations, implementing in python versus using some of django's tools.. ? On Fri, Oct 23, 2009 at 8:22 AM, Jason Beaudoin wrote: > 2009/10/23 kmike : >> >> Maybe you don't have enough information to

Re: Interesting code abstraction Challenge

2009-10-23 Thread Jason Beaudoin
2009/10/23 kmike : > > Maybe you don't have enough information to make an abstraction right > now. If so I suggest to actually implement several API's in a dumb > way. After that it'll be clear what are the differences and what are > the common parts so making a good abstraction will be easier. I

Interesting code abstraction Challenge

2009-10-22 Thread Jason Beaudoin
Why hello there, I have been thinking over this system design for quite a while now, and I'm still a bit unsure of the sensible way to properly (and sufficiently) abstract the system - the django-way, so to speak. I am very interested in what other folks have to say - maybe I have been thinking a

Re: PostgreSQL or MySQL, What are the +'s and -'s?

2009-09-09 Thread Jason Beaudoin
> > > @Jason - I think that's the number one reason I'm going to PostgreSQL. I > don't use everything all the time but I really like to have the widest array > of query syntax options. MySQL is just too limiting, especially when > PostgreSQL is available. > > The other issue I have with MySQL is t

Re: PostgreSQL or MySQL, What are the +'s and -'s?

2009-09-07 Thread Jason Beaudoin
On Fri, Sep 4, 2009 at 4:29 PM, Joshua Russo wrote: > I personally don't have any experience with PostgreSQL and I'm generally > working in a mixed MS and Linux environment. I'm interested to hear peoples > views on the pluses and minuses of the two different systems. I'm a bit of a > query geek

Re: Restricting database permissions

2009-09-07 Thread Jason Beaudoin
On Mon, Sep 7, 2009 at 10:09 AM, Thomas Guettler wrote: > > I can speak only for postgres. > > We create the database with a special admin-account and > the owner if the db is the admin-account. Then we grant > insert, update, delete permissions to the django-db-user. > > We have a modified manag

Re: pre-fetch one-to-many and many-to-many relationships

2009-07-20 Thread Jason Beaudoin
Miriam, If you do take this to django-developers, please post a link here, at least.. this would be greatly appreciated. Thanks :) ~Jason On Mon, Jul 20, 2009 at 7:39 PM, Russell Keith-Magee wrote: > > On Mon, Jul 20, 2009 at 11:21 PM, Miriam wrote: > > > > Hi Russ -- > > > > Thanks for your r

Re: IFEQUAL takes two arguments error on Django 0.91

2009-06-11 Thread Jason Beaudoin
On Wed, Jun 10, 2009 at 5:43 PM, Frank Peterson wrote: > > I'm on Django 0.91 (unfortunately we are stuck with that and cannot > upgrade). > I have a really hard time believe you truly are stuck. Migration may not be the simplest in the short-run, but certainly sensible in the long-term. Who want