Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Profiles/Articles Serializers  #61

@paulr2021

Description

@paulr2021

In the Profiles and Articles serializers the parenthesis should be removed on the code below:

if not request.user.is_authenticated():

You are using as a function, according to the docs is_authenticated is an attribute not a method.

if not request.user.is_authenticated:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions