NITDgpOS / festcms

Fest management system using Django
21 stars 30 forks source link

Upgrade to 1.11 #108

Open ghoshbishakh opened 7 years ago

ghoshbishakh commented 7 years ago

@nkprince007 should we upgrade?

The changes required that I am aware of is python-sicual-auth

nkprince007 commented 7 years ago

Perhaps, defusedxml too?

ghoshbishakh commented 7 years ago

@nkprince007 yes that is a necessity

nkprince007 commented 7 years ago

Pillow==4.0.0 seems to be required too. @ghoshbishakh

% ./manage.py makemigrations 
SystemCheckError: System check identified some issues:

ERRORS:
festflow.Event.logo: (fields.E210) Cannot use ImageField because Pillow is not installed.
    HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".
festflow.Keynote.image: (fields.E210) Cannot use ImageField because Pillow is not installed.
    HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".
festflow.organizerMember.avatar_img: (fields.E210) Cannot use ImageField because Pillow is not installed.
    HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".
festflow.sponsor.logo: (fields.E210) Cannot use ImageField because Pillow is not installed.
    HINT: Get Pillow at https://pypi.python.org/pypi/Pillow or run command "pip install Pillow".

% pip freeze | grep Pillow
Pillow==3.3.1
ghoshbishakh commented 7 years ago

@nkprince007 pillow is required for what?

nkprince007 commented 7 years ago

@ghoshbishakh Pillow v4.0(python3.6) is required for ImageField.

ghoshbishakh commented 7 years ago

@nkprince007 is it required for django 1.8 on py 3.6 or django 1.11?

nkprince007 commented 7 years ago

django 1.8 on python3.6 (fresh install of festcms)

ghoshbishakh commented 7 years ago

@nkprince007 okay. So we need to add a test for django migrations in travis

ghoshbishakh commented 7 years ago

@ankan17 can you possibly take up this task?

ankan17 commented 7 years ago

Okk I'll try @ghoshbishakh

ghoshbishakh commented 7 years ago

@ankan17 you will be facing problems with python social auth.

Just migrate that to the new version https://github.com/python-social-auth/social-app-django

ankan17 commented 7 years ago

@ghoshbishakh Thanks for the heads up.. Anyway I'd have needed that for freepl as well.. :)

ghoshbishakh commented 7 years ago

great