Re: intiial sql and foreign keys

2013-12-14 Thread Larry Martell
On Sat, Dec 14, 2013 at 12:22 PM, Tom Lockhart wrote: > Ah, hadn't used that before. And frankly I wouldn't bother doing that > since it is a one-time operation. I would write a script to do the load > with calls to psql (assuming you are using postgres of course). If order is > not guaranteed the

Re: Error Doing python manage.py syncdb in django pyBB

2013-12-14 Thread Avraham Serour
maybe you forgot to add pybb to INSTALED_APPS ? On Sat, Dec 14, 2013 at 4:15 PM, Alok Nag wrote: > Hello Experts, > > I am newbie to Django/Python. I am trying to setup a forum app using pyBB > and after following steps mentioned at their website, I am getting > following error when I am runnin

Re: for updating table

2013-12-14 Thread carlos
Hi manually use alter table http://dev.mysql.com/doc/refman/5.0/es/alter-table.html or http://www.postgresql.org/docs/9.1/static/sql-altertable.html Cheers On Sat, Dec 14, 2013 at 4:11 AM, Abhishek ranjan < abhishek.ranjan0...@gmail.com> wrote: > Any new concept to update the table other than

Re: intiial sql and foreign keys

2013-12-14 Thread Tom Lockhart
Ah, hadn't used that before. And frankly I wouldn't bother doing that since it is a one-time operation. I would write a script to do the load with calls to psql (assuming you are using postgres of course). If order is not guaranteed then even if things work for you now using "initial sql" may ju

Error Doing python manage.py syncdb in django pyBB

2013-12-14 Thread Alok Nag
Hello Experts, I am newbie to Django/Python. I am trying to setup a forum app using pyBB and after following steps mentioned at their website, I am getting following error when I am running python manage.py syncdb [aloknag-mbp15:~/Desktop/forum] aloknag% ./manage.py syncdb /Library/Python/2.7/

Get command error when trying to syncdb in django pyBB

2013-12-14 Thread Alok Nag
Hello Experts! I am trying to setup a forum app using pyBB. I followed steps mentioned in their website and finally getting below error when I try to run: python manage.py syncdb [aloknag-mbp15:~/Desktop/forum] aloknag% ./manage.py syncdb /Library/Python/2.7/site-packages/django_common-0.1.51-p

for updating table

2013-12-14 Thread Abhishek ranjan
Any new concept to update the table other than 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 post to this

Re: intiial sql and foreign keys

2013-12-14 Thread Larry Martell
On Fri, Dec 13, 2013 at 8:08 PM, Tom Lockhart wrote: > > On 2013-12-13, at 1:48 PM, Larry Martell wrote: > > I have 2 tables that I need to initialize with some initial sql files. > One table has a foreign key reference into the other. The docs say > "Note that if you have multiple SQL data files