About JetBrains Scope from article which I can use
If I want to search Python application code in Django projects, excluding unit tests, database migrations and Django admin site code. Here is the custom scope:file:.py&&!file:/tests//&&!file:/migrations//&&!file:/admin.py
Only models files in Django:file:/models.py||file:/models/*.py