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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_project_initializer-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e0a109da652848f3481d11e0ac8fb1ec8ba99a2a6647440295b74a762c30f4fc
MD5 d8c41bc36b43a21218438cfc09fb5048
BLAKE2b-256 0381b8459a26fcfd5ddc6baebf4dfa9c15133d6c66df299bd6d3e9433dc4a2ab

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