DRF APP Generator
VSCode extension for quickly generating Django REST Framework (DRF) applications with best practices and common patterns.
Features
- Quickly generate a new DRF application structure
- Includes common DRF patterns and best practices
- Generates basic CRUD endpoints
- Creates serializers, views, and URLs automatically
- Supports model-based and API view generation
Installation
- Open VSCode
- Go to Extensions (Ctrl+Shift+X or Cmd+Shift+X on macOS)
- Search for "DRF APP Generator"
- Click Install
Usage
There are several ways to generate a new DRF application:
Command Palette:
- Press
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS)
- Type "Generate DRF APP" and select the command
Keyboard Shortcut:
- Press
Ctrl+Alt+K (Windows/Linux) or Cmd+Shift+K (macOS)
Context Menu:
- Right-click in the explorer
- Select "Generate DRF APP" from the context menu
Extension Settings
This extension contributes the following settings:
Known Issues
Release Notes
1.0.0
Initial release of DRF APP Generator:
- Basic DRF application generation
- CRUD endpoint generation
- Model and serializer creation
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This extension is licensed under the MIT License.
| |