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.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_project_initializer-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e6bead3e51833f2edfb85364a27103176600db9949a719e773b702c9621492a
MD5 7e4296c47160202740f4550b39fed0c4
BLAKE2b-256 182e58bc1a3154c89e4f55d3c5574afac3c6ec7b647d179ec35c1d6b933a8d6e

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