Re: Django after migration UndefinedColumn error in production

2019-10-23 Thread red
Hi, Yes, it connects to the same database. I only have one accessible database in the production environment and the administration interface works fine for the other models I have, it crashes only when I try to access that specific model or when trying to access the website. Red. On 23/10/2019

Re: Django after migration UndefinedColumn error in production

2019-10-22 Thread wd
hi, You may need to check that the database django connect to is the same as you checked that the column is exists? On Tue, Oct 22, 2019 at 8:32 PM red wrote: > Hi everyone, > > > I have a website in production. I have an app, with a model. It contained > a markdown_file attribute: > > markdown

Django after migration UndefinedColumn error in production

2019-10-22 Thread red
Hi everyone, I have a website in production. I have an app, with a model. It contained a markdown_file attribute: |markdown_file=models.FileField(upload_to='/media/')| But since the number of file is limited, I decided to make it a markdown_filename attribute with a choices selection box: |mar