Skip to main content

The Django Project Initializer is a Python script that automates the setup of a new Django project.

Project description

Django Project Initializer

Author: AdrianJames27

Overview

The Django Project Initializer is a Python script that automates the setup of a new Django project. It performs the following tasks:

  1. Prompts the user for a project name.
  2. Clones a base Django template repository from GitHub.
  3. Removes the .git directory from the cloned repository to eliminate version control history.
  4. Renames the project directory to the specified project name.

Requirements

  • Python 3.12: Ensure Python is installed on your system.

Error Handling

  • The script includes basic error handling for common interruptions:
  • KeyboardInterrupt: Handles manual interruption (e.g., pressing Ctrl+C).
  • EOFError: Handles unexpected end of input.
  • General Exceptions: Catches other unforeseen errors and provides an error message.

Install Script (pip)

pip install django_project_initializer

Create a Django Project

django-init

License

  • This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_project_initializer-1.0.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file django_project_initializer-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_project_initializer-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d084b07da8192941d60ab34fa085df1e1e1a031c2b9c4390980db9a4f4669c4b
MD5 0b6d138cea74927aad94f00a01233f8f
BLAKE2b-256 77829cfd54d3c46ceb0ee75587ff6556b750fe3e90da190592677c470c6c46fe

See more details on using hashes here.

Supported by

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