Re: Store base64 data in database with imagefield ?

2012-05-15 Thread Hutch
are you sure this is actually a good idea? in almost all cases serving the image via the actual web server, whose job it is to serve images, is the best idea. either way, you wouldn't use an image field to store base64 data. that's for references to actual files in a filesystem. first you'd ne

Re: Sidebars

2011-06-28 Thread Hutch
isn't this what block tags are for? or custom template tags? On Jun 28, 10:48 am, garagefan wrote: > This sounds like too much work, every time you want a new option in > the sidebar you're adding another if, right? > > I'm planning on building a template tag to handle side content like > that. I

Re: incrementing non primary keys.

2010-12-15 Thread Hutch
UUID for the primary key, do you really need an integer? > > We had a similar multi-tenant need and didn't want to leak usage information > to the users, so we used UUID instead of auto incrementing integers. > > On Dec 15, 2010, at 9:23 AM, Hutch wrote: > > > > &

incrementing non primary keys.

2010-12-15 Thread Hutch
Hi, I'm porting an old php app and have run into a bit of an issue. The main problem is that we this app will need to be used by multiple different companies. While I could just setup discreet instances, I'm thinking that making the app multi-tenant would be a much wiser idea and easier on resourc