Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

no such table: fileupload_picture #62

Closed
muminoff opened this issue Jun 10, 2016 · 2 comments
Closed

no such table: fileupload_picture #62

muminoff opened this issue Jun 10, 2016 · 2 comments

Comments

@muminoff
Copy link

muminoff commented Jun 10, 2016

Can't upload a picture file.
Error message:

...
File "/Users/sardor/.virtualenvs/fileupload/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/Users/sardor/.virtualenvs/fileupload/lib/python3.5/site-packages/django/db/backends/sqlite3/base.py", line 323, in execute
    return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: fileupload_picture

Steps to reproduce:

1. git clone https://github.com/sigurdga/django-jquery-file-upload
2. pip install -r requirements.txt
3. ./manage.py migrate
4. ./manage.py runserver

Environment:

$ python --version
Python 3.5.1
$ python -c 'import django;print(django.get_version())'
1.9.7
@muminoff
Copy link
Author

muminoff commented Jun 10, 2016

Never mind. Needed to make migration for fileupload app myself. And, migrated, worked. But, other issues left with static files. Soon, will send PR if you're okay. This seems because of some Django 1.9 settings which were deprecated.

@sigurdga
Copy link
Owner

@muminoff I'm happy to receive pull requests. I may have forgotten something when I upgraded this a few days back.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants