Skip to content

Upgrading django 1.9 #4

@XaviP

Description

@XaviP

As pointed here, maybe it's necessary to upgrade django earlier in order to benefit from the new features of 1.9 version in the refactoring (Abstract Base Classes include Foreign Keys, and maybe others).

Workflow (can be easily converted into a script), to check upgradings:

cd [install dir]
git clone https://github.com/django-rea/nrp.git
virtualenv env
cd nrp
source ../env/bin/activate
pip install --upgrade pip setuptools
vim requirements.txt # edit to the desired django version
pip install -r requirements.txt --trusted-host dist.pinaxproject.com
pip install Image
python manage.py check
python manage.py makemigrations
python manage.py migrate
python manage.py test django_rea.valueaccounting.tests
python manage.py createsuperuser
python manage.py runserver

In python manage.py check the errors arise. Studing them and correcting code to finally migrate and pass the tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions