You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
:You'll need a manual checking because of other possible imports/removes needed, but the main work is done.
FreedomCoop/valuenetwork@7efb5cc
FreedomCoop/valuenetwork@0ee56b0
FreedomCoop/valuenetwork@1cd8f5e
FreedomCoop/valuenetwork@71972ff
FreedomCoop/valuenetwork@d7adf25
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-31793506
Just 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: FreedomCoop/valuenetwork@9753232
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: Remove quantity field from all EconomicResource forms FreedomCoop/valuenetwork#258
render_to_response() got an unexpected keyword argument 'context_instance'
.See: render() instead of render_to_response() in views.py FreedomCoop/valuenetwork#276
Could not parse the remainder: '=' from '='
Search single = and replace with double ==:
The text was updated successfully, but these errors were encountered: