[Python] Can't import rest_framework in Django

Discussão em 'Python' iniciado por Stack, Maio 7, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to stand up a Django site and I am attempting to setup Report_builder with that. I just got the front end of report builder to work but it is not returning any data. I suspect the problem is with my rest framework. The settings did not auto create and now when I try to import it to create a serializer restframework is not recognized at all.

    Here is my settings page:

    REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': (
    'rest_framework.authentication.SessionAuthentication',
    ),


    }


    Did I possibly install rest framework in the wrong place or??
    I have the latest version.

    Continue reading...

Compartilhe esta Página