You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Flag heavy AI/ML imports at module level (langchain_*, openai, anthropic, google, boto3, pandas, numpy). These should be lazy-loaded inside methods to keep Django startup fast.
- path: "**/migrations/*.py"
instructions: |
* Ensure that Django migrations are backwards compatible with the previous code to prevent errors during rollout.
* Flag any new fields that have default values set. This can cause problems during deployment if the table has a lot of data.