Note

You are reading an old version of the Evennia documentation. The latest version is here

.

# Source code for evennia.web.api.root

    """
    Set a more useful description on the Api root.

    """

    from rest_framework import routers

    class EvenniaAPIRoot(routers.APIRootView):
        """
        Root of the Evennia API tree.

        """

        pass

    class APIRootRouter(routers.DefaultRouter):
        APIRootView = EvenniaAPIRoot

Note

You are reading an old version of the Evennia documentation. The latest version is here

.