https://github.com/thehamdiz/django-man
DjangoMan VS Code Extension
https://github.com/thehamdiz/django-man
django django-admin django-application django-framework django-project django-rest-framework djangorestframework extension extensions vscode vscode-extension vscode-extension-pack vscode-plugin
Last synced: 18 days ago
JSON representation
DjangoMan VS Code Extension
- Host: GitHub
- URL: https://github.com/thehamdiz/django-man
- Owner: theHamdiz
- License: mit
- Created: 2023-09-09T22:26:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-10T03:08:57.000Z (over 1 year ago)
- Last Synced: 2025-02-14T08:37:26.441Z (2 months ago)
- Topics: django, django-admin, django-application, django-framework, django-project, django-rest-framework, djangorestframework, extension, extensions, vscode, vscode-extension, vscode-extension-pack, vscode-plugin
- Language: TypeScript
- Homepage: https://hamdiz.me
- Size: 1.99 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Django Management Extension for VS Code

### Version: 0.0.3
This **VS Code** extension provides easy access to **Django's management commands** right from the command center, enhancing the developer experience for Django projects.
🔥 Works with both **Django 4.x** and **Django 3.x**
🏋🏻 It's `django` management but on *steroids*.
## Features & Usage
### 🚀 Django > Start/Create/New Project
Initiate a new Django project.
- Shortcut: `Ctrl+Shift+P` > "Django > Start/Create/New Project"
- Note: You can't be inside a project if you want to use this command.
- Note: This will create a django project and automatically `cd` into it within the same VS Code window.### 📦 Django > Start/Create/New App
Begin a new app within your Django project.
- Shortcut: `Ctrl+Shift+P` > "Django > Start/Create/New App"
- Note: You must be inside the project folder to use this command.### 🛠 Django > Check Project
Checks the entire Django project for potential problems.
- Shortcut: `Ctrl+Shift+P` > "Django > Check Project"
### 👤 Django > Create/Add Superuser
Creates a superuser account (a user with all permissions).
- Shortcut: `Ctrl+Shift+P` > "Django > Create/Add Superuser"
- Note: This action operates using a custom injected command.
- Note: This action assumes [email protected] email format.### 🌐 Django > Run/Start Server
Launch the Django development server.
- Shortcut: `Ctrl+Shift+P` > "Django > Run/Start Server"
- Note: this action will try to launch the server on the following ports in order **[8000, 8080, 8001, 8002, 8003, 8004]**### 🛑 Django > Stop/Kill Running Server
Terminate the running Django development server.
- Shortcut: `Ctrl+Shift+P` > "Django > Stop/Kill Running Server"
- Note: Only kills the process spawned by this extension.### 🔀 Django > Make Migrations
Generate new migrations based on changes detected.
- Shortcut: `Ctrl+Shift+P` > "Django > Make Migrations"
### 📥 Django > Migrate
Apply migrations to sync the database schema.
- Shortcut: `Ctrl+Shift+P` > "Django > Migrate"
### 📜 Django > Show Migrations
Display a project's migrations and their status.
- Shortcut: `Ctrl+Shift+P` > "Django > Show Migrations"
### 💾 Django > Dump Data
Outputs the contents of the database to a file.
- Shortcut: `Ctrl+Shift+P` > "Django > Dump Data"
- Note: Supported exports are `(json, xml, yaml)`### 🔄 Django > Load Data
Populate the database with data from a file.
- Shortcut: `Ctrl+Shift+P` > "Django > Load Data"
### 🗑 Django > Flush Database
Reset the database by removing all data and recreating tables.
- Shortcut: `Ctrl+Shift+P` > "Django > Flush Database"
- Note: This action required confirmation.### 🖥 Django > Open Database Shell (dbshell)
Start the database shell.
- Shortcut: `Ctrl+Shift+P` > "Django > Open Database Shell (dbshell)"
### 🐚 Django > Open Django Shell
Begin the Python interactive interpreter with Django settings imported.
- Shortcut: `Ctrl+Shift+P` > "Django > Open Django Shell"
### 📧 Django > Send Test Email
Dispatch a test email to specified email addresses.
- Shortcut: `Ctrl+Shift+P` > "Django > Send Test Email"
- Note: You might need to set up SMTP server settings first.### 🗂 Django > Collect Static Files
Amass all static files in your apps to a central location.
- Shortcut: `Ctrl+Shift+P` > "Django > Collect Static Files"
- Note: You might need to set up Static Files first.### ⌛ Django > Clear Expired Sessions
Clear out expired user sessions.
- Shortcut: `Ctrl+Shift+P` > "Django > Clear Expired Sessions"
### 🔑 Django > Change User Password
Update a user's password.
- Shortcut: `Ctrl+Shift+P` > "Django > Change User Password"
### 📋 Django > Adminify Models
Automatically register all models of a Django app in the admin dashboard.
- Shortcut: `Ctrl+Shift+P` > "Django > Adminify Models"
- Note: You must choose an app first.
- Note: If you already have an admin.py file it will be automatically backed-up before creating the new one.---

---
## Feedback and ContributionsFeedback, bug reports, and pull requests are welcome. Feel free to contribute and enhance the features of this extension.
Contact me at: [email protected]