Update views.py

Update to use instance, compatible with new shopify api changes
Merge pull request #10 from caoimhghin/master

Update call to change_permission_url