Skip to main content

Django-Script is a Python package that automates the setup and configuration of Django applications.

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-script-1.0.1.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file django-script-1.0.1.tar.gz.

File metadata

  • Download URL: django-script-1.0.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.0b5

File hashes

Hashes for django-script-1.0.1.tar.gz
Algorithm Hash digest
SHA256 bc79d27ad39a42601a0a753e65907bd601e5f1df5ba3e71226d248ec28120f37
MD5 055547e2cd14d9d49a199c68553c7ac2
BLAKE2b-256 92d88547f468b83c0a46505a9d72db2d9daf3961e54336818cb2014a7340d5fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page