External IPB authentication via Django

2010-10-12 Thread Grigoriy Petukhov
I am trying to implement external authentication in Invision Power Board Forum. They have converge which as I understand could do such things but I don't understand it yet. Maybe somebody could share his experience of using IPB/converge with Django? -- You received this message because you are su

Reinitializing of db connection

2008-02-02 Thread Grigoriy Petukhov
Hi, all. I use django ORM in multiprocessed parser. I use processing module: http://pyprocessing.berlios.de/doc/ Each process is a fork of main process and I need to work with DB in each process. It is not recommended to use one db connection from all forked processes, so I want to reinitialize co

Reinitializing of db connection

2008-02-02 Thread Grigoriy Petukhov
Hi, all. I use django ORM in multiprocessed parser. I use processing module: http://pyprocessing.berlios.de/doc/ Each process is a fork of main process and I need to work with DB in each process. It is not recommended to use one db connection from all forked processes, so I want to reinitialize co

Re: Is it really this hard?

2007-05-16 Thread Grigoriy Petukhov
John M wrote: > I have checked the forum, and still can't believe I can't find a > solution to what I perceive as a simple problem: > > I have two models: > > Customer >Name >phone > > Order >Customer (foreign key to Customer) >date >product > > When I put up the form for o

Re: Using Django Models outside of Django

2007-05-16 Thread Grigoriy Petukhov
johnny wrote: > Doing the following: > > from os import environ > environ['DJANGO_SETTINGS_MODULE'] = 'settings' > from settings import * > > Only works at the parent folder level. What if you have script in sub > folder level? I tried it at sub folder level and got error: > > from os import

Re: South - when to start?

2011-02-18 Thread Grigoriy Petukhov
I have found nice way to do quick development on 1st and 2nd steps you have mentioned. I've put following instructions in reset.sh: * Drop database * Create new database * Run ./manage.py syncdb * Generate sample data When I change some model then I just run reset.sh. That works even for seve