Metadata-Version: 2.4
Name: django-charm
Version: 0.2.1
Summary: Easily create a Django project and app with a single command in seconds.
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: django>=4.2
Requires-Dist: requests>=2.31
Dynamic: license-file

# Django Charm

Welcome to **Django Charm**! This is a handy package that can save your time so you can focus on building what truly matters in your Django project.

## Features
- Users no longer need to install Django. 
- No need to manually create and configure a Django project and app separately.
- Automatically handles the `urls.py` and `settings.py` setup.
- Instantly creates `index.html` with a starter template — ready to go.

---

## django-charm

This package allows you to create a Django project and app by executing a single command (including generating `views.py`, `urls.py`, and a basic `index.html` template).

## Table of Contents
- [Installation](#installation)
- [Features](#features)
- [Examples](#examples)
- [License](#license)


## Installation

```bash
pip install django-charm
```





# Examples:

  #####  Create the whole project:


- Activate your virtual environment.<br>

- Use the --createproject flag to specify the project name.<br>

- Use -a to specify the app name.



```bash

django-charm --createproject myproject -a myapp

```
  ##### Create  new app inside an existing project:

- Make sure your Django project already exists.<br>

- Use the --createapp flag to specify the new app name.<br>

- Use -p to specify the parent project name (where manage.py is located).

```bash

django-charm  --createapp myapp -p parentpackage

```
## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

