Re: syncdb not creating columns in postgresql database

2012-05-15 Thread Michael Ackerman
Thanks for all the advice, I appreciate it. On Tue, May 15, 2012 at 3:22 AM, doniyor wrote: > sorry for bad advice.. i thought i could work,, > > Am Dienstag, 15. Mai 2012 08:52:35 UTC+2 schrieb lawgon: > >> On Mon, 2012-05-14 at 09:06 -0700, doniyor wrote: >> >

Re: syncdb not creating columns in postgresql database

2012-05-15 Thread doniyor
sorry for bad advice.. i thought i could work,, Am Dienstag, 15. Mai 2012 08:52:35 UTC+2 schrieb lawgon: > > On Mon, 2012-05-14 at 09:06 -0700, doniyor wrote: > > delete your app from INSTALLED_APPS and syncdb, AND list it again in > > INSTALLED_APPS and syncdb again.. > > > > if it doesnot

Re: syncdb not creating columns in postgresql database

2012-05-15 Thread Timothy Makobu
You might want to look into using South http://south.aeracode.org/ At first i thought it was cool, then I needed to alter a table with important data on it, and that's when I saw it's usefulness. On Tue, May 15, 2012 at 9:52 AM, kenneth gonsalves wrote: > On Mon,

Re: syncdb not creating columns in postgresql database

2012-05-15 Thread kenneth gonsalves
On Mon, 2012-05-14 at 09:06 -0700, doniyor wrote: > delete your app from INSTALLED_APPS and syncdb, AND list it again in > INSTALLED_APPS and syncdb again.. > > if it doesnot work, do this: > > delete your db, then syncdb, then list your app in INSTALLED_APPS and > syncdb again. this is

Re: syncdb not creating columns in postgresql database

2012-05-14 Thread doniyor
delete your app from INSTALLED_APPS and syncdb, AND list it again in INSTALLED_APPS and syncdb again.. if it doesnot work, do this: delete your db, then syncdb, then list your app in INSTALLED_APPS and syncdb again. Am Montag, 14. Mai 2012 17:54:35 UTC+2 schrieb Mac: > > Every time I

syncdb not creating columns in postgresql database

2012-05-14 Thread Michael Ackerman
Every time I edit a model and run syncdb, I get a database error telling me that the column doesn't exist. *#Error Message:* Environment: Request Method: GET Request URL: http://127.0.0.1:8000/tickets/2/ Django Version: 1.4 Python Version: 2.7.3 Installed Applications: ('django.contrib.auth',