Adding deprecation warnings

Also updating New in/Added in text
This commit is contained in:
Matthew Jones
2017-01-04 14:23:22 -05:00
parent f5c0f846e2
commit f9d9196270
3 changed files with 9 additions and 5 deletions

View File

@@ -156,6 +156,7 @@ class APIView(views.APIView):
'new_in_240': getattr(self, 'new_in_240', False),
'new_in_300': getattr(self, 'new_in_300', False),
'new_in_310': getattr(self, 'new_in_310', False),
'deprecated': getattr(self, 'deprecated', False),
}
def get_description(self, html=False):