Django-Script automates the setup and configuration of Django applications. This streamlines the development process, allowing developers to focus on building application features.
## Initial Commands
**startproject**
```
django-script startproject <project_name>
```
It is the initial setup process for creating a new Django project, allowing you to quickly get started with development.
**startapp**
```
django-script startapp <app_name>
```
It is used to create a new Django application within an existing Django project.
**Features**
- Automatically add app name to installed apps in settings.py
- If your current directory has only a Django project, you can use commands even if you are outside the project directory.
## Static Command
```
django-script addstatic
```
This command creates all the default folders for frontend in Django.
**Features**
- Generates template, static, and media folders.
- Adds configurations to settings.py and urls.py.
## React Command
```
django-script addreact
```
This command setup Django project with rest framework.
**Features**
- Add django restframework and corsheaders configurations
- Generate React folder and install all necessary basic packages with django. **(In development)**
## Scheduler Command
```
django-script addscheduler
```
This command sets up Django for executing scheduled jobs in the background automatically.
**Features**
- Adds Django APScheduler configurations to settings.py.
- Creates the project with a job store for execution of tasks.
- Generates scheduler.py and Job.py.
- Detailed code explanation for [**scheduler**](https://github.com/santhoshparthiban2002/Django-scheduler)
## Multi User Command
```
django-script addmultiuser userType1 userType2 userType3
```
This command sets up Django with a multiuser service.
**Features**
- Sets up Django multiuser data models.
- Allows you to create an unlimited number of different categories of users, such as students, teachers, employees, etc.
- Automatically migrates the data models to the database.
Raw data
{
"_id": null,
"home_page": "https://pypi.org/project/django-script",
"name": "django-script",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Django,script,setup,configuration,automation",
"author": "Santhosh Parthiban",
"author_email": "santhoshparthiban2002@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/92/d8/8547f468b83c0a46505a9d72db2d9daf3961e54336818cb2014a7340d5fd/django-script-1.0.1.tar.gz",
"platform": null,
"description": "Django-Script automates the setup and configuration of Django applications. This streamlines the development process, allowing developers to focus on building application features.\r\n\r\n## Initial Commands\r\n\r\n\r\n\r\n **startproject**\r\n\r\n```\r\n django-script startproject <project_name>\r\n\r\n```\r\nIt is the initial setup process for creating a new Django project, allowing you to quickly get started with development.\r\n\r\n **startapp**\r\n```\r\n django-script startapp <app_name>\r\n```\r\nIt is used to create a new Django application within an existing Django project.\r\n\r\n**Features**\r\n- Automatically add app name to installed apps in settings.py\r\n- If your current directory has only a Django project, you can use commands even if you are outside the project directory.\r\n\r\n\r\n\r\n## Static Command\r\n\r\n```\r\n django-script addstatic\r\n\r\n```\r\nThis command creates all the default folders for frontend in Django.\r\n\r\n**Features**\r\n- Generates template, static, and media folders.\r\n- Adds configurations to settings.py and urls.py.\r\n\r\n## React Command\r\n```\r\n django-script addreact\r\n\r\n```\r\nThis command setup Django project with rest framework.\r\n\r\n**Features**\r\n- Add django restframework and corsheaders configurations\r\n- Generate React folder and install all necessary basic packages with django. **(In development)**\r\n\r\n\r\n## Scheduler Command\r\n```\r\n django-script addscheduler\r\n\r\n```\r\nThis command sets up Django for executing scheduled jobs in the background automatically.\r\n\r\n**Features**\r\n\r\n- Adds Django APScheduler configurations to settings.py.\r\n- Creates the project with a job store for execution of tasks.\r\n- Generates scheduler.py and Job.py.\r\n- Detailed code explanation for [**scheduler**](https://github.com/santhoshparthiban2002/Django-scheduler)\r\n\r\n## Multi User Command\r\n```\r\n django-script addmultiuser userType1 userType2 userType3\r\n\r\n```\r\nThis command sets up Django with a multiuser service.\r\n\r\n**Features**\r\n\r\n- Sets up Django multiuser data models.\r\n- Allows you to create an unlimited number of different categories of users, such as students, teachers, employees, etc.\r\n- Automatically migrates the data models to the database.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Django-Script is a Python package that automates the setup and configuration of Django applications.",
"version": "1.0.1",
"project_urls": {
"Bug Tracker": "https://github.com/santhoshparthiban2002/Django-Script/issues",
"Homepage": "https://pypi.org/project/django-script"
},
"split_keywords": [
"django",
"script",
"setup",
"configuration",
"automation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "92d88547f468b83c0a46505a9d72db2d9daf3961e54336818cb2014a7340d5fd",
"md5": "055547e2cd14d9d49a199c68553c7ac2",
"sha256": "bc79d27ad39a42601a0a753e65907bd601e5f1df5ba3e71226d248ec28120f37"
},
"downloads": -1,
"filename": "django-script-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "055547e2cd14d9d49a199c68553c7ac2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7306,
"upload_time": "2023-07-09T12:58:48",
"upload_time_iso_8601": "2023-07-09T12:58:48.855442Z",
"url": "https://files.pythonhosted.org/packages/92/d8/8547f468b83c0a46505a9d72db2d9daf3961e54336818cb2014a7340d5fd/django-script-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-09 12:58:48",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "santhoshparthiban2002",
"github_project": "Django-Script",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "django-script"
}