Fixing up settings reset issue

This is done by not assigning the ActivityStream foreign key.  Which is
almost superflous at this point
This commit is contained in:
Matthew Jones
2016-01-05 14:34:40 -05:00
parent d2f99ad549
commit ae12be9afa
3 changed files with 10 additions and 4 deletions

View File

@@ -161,7 +161,7 @@ class APIView(views.APIView):
'''
ret = super(APIView, self).metadata(request)
added_in_version = '1.2'
for version in ('2.4.0', '2.3.0', '2.2.0', '2.1.0', '2.0.0', '1.4.8', '1.4.5', '1.4', '1.3'):
for version in ('3.0.0', '2.4.0', '2.3.0', '2.2.0', '2.1.0', '2.0.0', '1.4.8', '1.4.5', '1.4', '1.3'):
if getattr(self, 'new_in_%s' % version.replace('.', ''), False):
added_in_version = version
break