Re: no such column: jobs_job.mainloc

2012-04-13 Thread alex3627
Finally that worked! Thanks a lot! Alex On Friday, April 13, 2012 4:01:11 PM UTC-5, Daniel Roseman wrote: > > On Friday, 13 April 2012 21:25:06 UTC+1, alex3627 wrote: >> >> Hi, >> >> before even thinking to use 'South', I want to get it to work quick and >> quick. I don't care about existing

Re: no such column: jobs_job.mainloc

2012-04-13 Thread Daniel Roseman
On Friday, 13 April 2012 21:25:06 UTC+1, alex3627 wrote: > > Hi, > > before even thinking to use 'South', I want to get it to work quick and > quick. I don't care about existing databases, I have no information in the > database anyway. Is there a way to just recreate a new, empty database from

Re: no such column: jobs_job.mainloc

2012-04-13 Thread alex3627
Hi, before even thinking to use 'South', I want to get it to work quick and quick. I don't care about existing databases, I have no information in the database anyway. Is there a way to just recreate a new, empty database from scratch? Really, remove the old database and create a new database

Re: no such column: jobs_job.mainloc

2012-04-13 Thread Daniel Roseman
On Friday, 13 April 2012 19:33:07 UTC+1, alex3627 wrote: > > Here is a repetition of what exactly I have done: > > 1. Add this field in my models.py > > 2. Run " python manage.py sql jobs" (jobs is the name of the directory); > in this step the field in question is explicitly written to stdout >

Re: no such column: jobs_job.mainloc

2012-04-13 Thread alex3627
ows: >>> >>> mainloc = models.CharField(max_length=1, choices = MAINLOC) >>> >>> and MAINLOC is a list of 2-tuples, with the first element a 1-character >>> expression (like 'B', 'M'...). I have updated the database (the name >>> mainloc is

Re: no such column: jobs_job.mainloc

2012-04-13 Thread Timothy Makobu
the screen output), I have sync'd the >> database and restarted the server. But still, when I want to display the >> (empty) list on my browser, I get the message >> >>no such column: jobs_job.mainloc >> >> >> Any idea or advice I could try to do? >> &

Re: no such column: jobs_job.mainloc

2012-04-13 Thread alex3627
d in the screen output), I have sync'd the > database and restarted the server. But still, when I want to display the > (empty) list on my browser, I get the message > >no such column: jobs_job.mainloc > > > Any idea or advice I could try to do? > > Thanks >Al

Re: no such column: jobs_job.mainloc

2012-04-13 Thread Timothy Makobu
irst element a 1-character > expression (like 'B', 'M'...). I have updated the database (the name > mainloc is explicitly mentioned in the screen output), I have sync'd the > database and restarted the server. But still, when I want to display the > (empty) list on my browser, I get

no such column: jobs_job.mainloc

2012-04-13 Thread alex3627
) list on my browser, I get the message no such column: jobs_job.mainloc Any idea or advice I could try to do? Thanks Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web vi