Revert "Use nodes.generated for nodeclass and innernodeclass of DjangoAdminXRefRole"

This reverts commit 2359643c3564a42cfd80763762383e4648adabb8.