Wednesday, August 14, 2019

Re: operational error no such column: accounts_businessownercreate.id

Hi,

Thanks for the help, it is making progress I think.
Since deleting and recreating, I now have a different error.

Please see below:

OperationalError at /admin/accounts/businessownercreate/

no such table: accounts_businessownercreate
Request Method:GET
Request URL:http://127.0.0.1:8000/admin/accounts/businessownercreate/
Django Version:2.2.4
Exception Type:OperationalError
Exception Value:
no such table: accounts_businessownercreate
Exception Location:/Users/ProductionEnv/Desktop/prj1/project/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py in execute, line 383
Python Executable:/Users/ProductionEnv/Desktop/prj1/project/bin/python3
Python Version:3.7.4

So when trying to access the table, I get the above error messages.

Is there another step for me to undertake to resolve?

Best,

K

On 14 Aug 2019, at 19:53, Kean <keanld1@gmail.com> wrote:

Hi,

closed down instance django running
deleted db.sqlite3
run python3 manage.py makemigrations
run python3 manage.py migrate

all exceptions were handled and migrate file created.
 
checked in admin on 'myowndbase'…error still appears.

Best,


On 14 Aug 2019, at 19:35, Tosin Ayoola <tosinayoola0@gmail.com> wrote:

 delete my sqlite.db file


No comments:

Post a Comment