This is due to compatibility issues between older versions of Python and Django when handling function signatures.. for example, related_lookup_fields is Deprecated in Django Admin such that the part related_lookup_fields = { 'fk': ['article'], }
should be replaced by autocomplete_fields = ["article"]
or just remove it entirely. So in a nutshell this will fix only THAT part and you'd have to go over each section of the code i.e. just move over to newer version