Django conditional statement in Model.py and returning 'str' not callable

please guys I need your help on this issue. the detail of my problem is stated in the link above

If you’d like help here, please post the issue here, including the appropriate code snippets.

When posting code, don’t post images of the code, post the actual lines of text between lines consisting only of three backtick (`) characters. Be sure to use the backtick and not the apostrophe (’).
example:

# The previous line consists only of ```
def function(self):
    return self
# The next line consists only of ```

Also post the full traceback of the error, and any other messages received from the error.

Ken

Okay Ken I’ll work on that when I returned home. I got an emergency