bndr / bndr/pycycle

Not catching cycles in Django project

Open
#3 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
363
Forks
24
PR merge metrics
No merged PRs in 30d

Description

I tested in a Django project with a pretty common circular import situation and it couldn't catch it:
`myapp/models.py`
```
from .managers import MyModelManager
class MyModel(models.Model):
....
```
`myapp/managers.py`
```
from .models import MyModel
class MyModelManager(models.ModelManager):
...
```

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.