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
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
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
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
>
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
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?
>>
&
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
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
) 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
9 matches
Mail list logo