Django-specific AI features
Only available in: PyCharm
AI Assistant provides Django-specific support in PyCharm, offering context-aware code generation and suggestions for models, views, and other framework components to speed up Django development.
Suggest Django intentions
Select a code fragment and right-click it to open the context menu.
Alternatively, select a code fragment and press Alt+Enter.
Select AI Actions and choose the Django intention.

- Create Django View For Model
AI Assistant suggests the code of a class-based view for the selected model along with the steps required to implement it in your project.
This action is available only for Django models.
- Custom Django Intention
AI Assistant provides the possible actions for the selected entity.

- Create Django Admin For Model
AI Assistant suggests the code required to register the selected model in the Django admin interface along with other necessary steps.
- Create Django Serializer For Model
AI Assistant suggests the code of a
Serializerclass along with other necessary steps.- Custom Django Smart Chat Intention
AI Assistant provides the possible actions for the selected entity taking into account the context of your project provided as attached elements in the chat.
