This project is a fork
- Django
- Python Imaging Library
If you do not get PIL to work (pillow is a replacement package that works with virtulalenvs), use FileField instead of ImageField in fileupload/models.py as commented in the file.
- pip install -r requirements.txt (will install django and pillow)
- python manage.py syncdb
- python manage.py runserver
- go to localhost:8000/upload/new/ and upload some files
$ docker run -ti --name uploaderdevel -p 8000:8000 -v /workdir/django_uploader:/devel python:2.7.18 bash
$ pip install -r requirements.txt
$ export DJANGO_SETTINGS_MODULE=settings_dev
$ python manage.py runserver 0.0.0.0:8000
From existing DB $ python manage.py schemamigration fileupload --initial $ python manage.py migrate --fake
Generate migration and apply $ python manage.py schemamigration fileupload --auto $ python manage.py migrate fileupload
MIT, as the original project. See LICENSE.txt.