jmcarp / jmcarp/nplusone

Issue with basic django admin and "LogEntry"

Open
#27 4 comments 2 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Accessing the Django2.2.1 admin on a rather simple project, with nplusone 1.0.0, raises this error :

"Potential unnecessary eager load detected on `LogEntry.user`"

I don't get what this means, since LogEntry.user is a ForeignKey, how could it lead to a heavy loading ? What kind of problem does nplusone report in this case, is it with the User model or with the LogEntry model ?

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.