Re: Multi Client Django System

2013-02-23 Thread Bino Oetomo
On Saturday, February 23, 2013 11:03:20 PM UTC+7, Gabriel - Iulian Dumbrava wrote: > > As far as I remember there is already a package out called django-saas or > something like that. > > Let me know how you solve it. > Gabriel > > I think I'll take : 1.

CommonMiddleware doubt

2013-02-23 Thread Odagi
Hello, according to https://docs.djangoproject.com/en/dev/ref/settings/#append-slash, using CommonMiddleware and APPEND_SLASH=True, if the request URL does not match any of the patterns in the

Re: Best practices for 1.5 configurable user model and profiles

2013-02-23 Thread Russell Keith-Magee
Hi Doug, Obviously, it's still early days, so "best practice" hasn't really evolved yet. However, based on what I've done with custom user models so far, my advice would be to only put on the User model those things that are part of identifying the User, and maintain a profile for any

Re: Easiest Way to Deploy Django?

2013-02-23 Thread Peter
Thanks Russell for your answer. I've been playing with Postgres and it's not nearly as complicated as I thought. I'll have to figure out how to deploy postgres in production, wish me luck. Best, Peter On Thursday, February 21, 2013 4:25:00 PM UTC-8, Russell Keith-Magee wrote: > > > On Fri,

Re: Saving browser output as pdf

2013-02-23 Thread Evan Brumley
Have a look at wkhtmltopdf for easy server side generation of PDFs. It's not perfect, but it seems to be the best option out there at the moment. I'm also hearing good things about PhantomJS, though I haven't tried it out myself. Both options are essentially headless versions of Webkit - they

Re: Multi Client Django System

2013-02-23 Thread Bino Oetomo
Dear Gabriel Sir. I really appreciate your response On Saturday, February 23, 2013 11:00:10 PM UTC+7, Gabriel - Iulian Dumbrava wrote: > > How I would do it would be to have a special column (foreign key) in each > table (model) called Company (company_id) Yes , thats the plan > and change

Re: Saving browser output as pdf

2013-02-23 Thread Mike Dewhirst
On 24/02/2013 4:04am, Satinderpal Singh wrote: How do i save the output from the browser as pdf. Is there any tool availabel with the django which can save the browser output to as pdf file. Chrome can save output as pdf all by itself. Other browsers (with plugins) might be able to do that

Re: strange DatabaseError by ForeignKey

2013-02-23 Thread Shawn Milochik
You probably need to run syncdb, or migrate if you're using South. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To

Re: charField null=false not enforced for table creation in oracle

2013-02-23 Thread Ian
On Friday, February 22, 2013 11:27:59 PM UTC-7, Skylar Saveland wrote: > > This is still a good question :) > The answer is that there is no way to instruct Django that you really, truly want this CharField to be NOT NULL even on Oracle, and that is unlikely to change. Part of the philosophy

Multi Client Django System

2013-02-23 Thread Gabriel - Iulian Dumbrava
As far as I remember there is already a package out called django-saas or something like that. Let me know how you solve it. Gabriel -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Multi Client Django System

2013-02-23 Thread Gabriel - Iulian Dumbrava
How I would do it would be to have a special column (foreign key) in each table (model) called Company (company_id) and change all default managers to filter on company_id = logged_in_user.company_id. In this way you are sure tha users only see what belongs to their company. You would have

Re: [ImportError] cannot import name `feed`

2013-02-23 Thread Binith Babu
Hi there I have the same problem, I am using django 1.4.5 and pinax project "pinax-project-account" Is there a fix now , anybody ? thanks, -binith On Monday, 5 March 2012 18:22:21 UTC-8, Alec Taylor wrote: > > I keep getting an ImportError saying "cannot import name `feed`". > (pinax-admin

Re: Easiest Way to Deploy Django?

2013-02-23 Thread Sam Walters
Hi Helping people get started at work with PostgreSQL ad the most common problem coming from MySQL users is they have trouble connecting to the database: setting up hg_hba.conf and some of the basic operations are different to MySQL which confuses them. I dont think there is an easiest way.