moved generics into django-core