CodeForAfrica / CodeForAfrica/sensors.AFRICA-api

Sensors app views issues

Open
#131 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
18
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Accessing views throws "object not callable" error on Django v4 upgrade from v1.

E.g. accessing this v1/data endpoint on a development instance will through this error; raised when calling a bool as a function `is_authenticated()` . Of course, removing the brackets works as expected. What baffles me is that this works in the production instance running on Django v1. @thepsalmist would you know anything about this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.