Removing RemovedInDjango110Warning still in dj1.9:
About RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10:
Include the import needed in each urls.py file and remove simple quotations in view argument:
vim valuenetwork/valueaccounting/urls.py # add at the top: import valuenetwork.valueaccounting.views
sed -Ei "s/'(valuenetwork\.valueaccounting\.views\.[^']*)'/\1/g" valuenetwork/valueaccounting/urls.py
You'll need a manual checking because of other possible imports/removes needed, but the main work is done.
About: RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.:
urls.py files cannot use patterns() anymore, it must be in the form:
urlpatterns = [
url(...),
url(...),
]
Remove patterns from all from django.conf.urls import patterns, url
About: RemovedInDjango110Warning: You haven't defined a TEMPLATES setting. You must do so before upgrading to Django 1.10. Otherwise Django will be unable to load templates.
django.core.exceptions.FieldError: 'quantity' cannot be specified for EconomicResource model form as it is a non-editable field in valuenetwork/valueaccounting/forms.py:250 (or ./valuenetwork/valueaccounting/models.py:4374)
See: https://github.com/FreedomCoop/valuenetwork/issues/258
Removing RemovedInDjango110Warning still in dj1.9:
About
RemovedInDjango110Warning: Support for string view arguments to url() is deprecated and will be removed in Django 1.10
:Include the import needed in each urls.py file and remove simple quotations in view argument:
You'll need a manual checking because of other possible imports/removes needed, but the main work is done.
This must be done in any urls.py file shown in:
There's one RemovedInDjango110Warning of this kind that points to django-notification package. We need to change django-notification to pinax-notifications. See these changes: https://github.com/FreedomCoop/valuenetwork/commit/7efb5cc36f011966b7d5c1850155a0baf7a6f51f https://github.com/FreedomCoop/valuenetwork/commit/0ee56b0c29b68386be1687ed53ff1a85f148ef91 https://github.com/FreedomCoop/valuenetwork/commit/1cd8f5ef1d634688e5c44ce4b45030dac99b9bc8 https://github.com/FreedomCoop/valuenetwork/commit/71972ff37d94dfd88008cb5fccb7caac89c02664 https://github.com/FreedomCoop/valuenetwork/commit/d7adf2570f82f26b6231e42c602a7088d44efe78
See too: https://pinax-notifications.readthedocs.io/en/latest/usage/
About:
RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.
:patterns
from allfrom django.conf.urls import patterns, url
About:
RemovedInDjango110Warning: SubfieldBase has been deprecated. Use Field.from_db_value instead.
in account/fields.py, see: http://stackoverflow.com/questions/31793259/in-a-django-custom-field-what-does-the-subfieldbase-metaclass-do#answer-31793506Just remove metaclass line from account/fields.py
About:
RemovedInDjango110Warning: You haven't defined a TEMPLATES setting. You must do so before upgrading to Django 1.10. Otherwise Django will be unable to load templates.
See: https://github.com/FreedomCoop/valuenetwork/commit/97532324c51b1c97312746535bf7b94cd95beb1a
Changes with django 1.10
django.core.exceptions.FieldError: 'quantity' cannot be specified for EconomicResource model form as it is a non-editable field
in valuenetwork/valueaccounting/forms.py:250 (or ./valuenetwork/valueaccounting/models.py:4374) See: https://github.com/FreedomCoop/valuenetwork/issues/258render_to_response() got an unexpected keyword argument 'context_instance'
. See: https://github.com/FreedomCoop/valuenetwork/issues/276Could not parse the remainder: '=' from '='
Search single = and replace with double ==: