chore(root): renameproject to config and update configuration files

Enhancements:
- Rename project name from "." to "config" in .djinit and .env.sample
- Update DJANGO_SETTINGS_MODULE references from core to config
- Adjust Procfile, justfile, manage.py, and pyproject.toml to reference config
- Refactor README to reflect new folder layout under config/
- Remove LICENSE file
This commit is contained in:
sankalp committed 2026-05-27 23:18:17 +05:45
1 parent 7196c4a299
commit eedb1f1ab6
8 files changed
+39 -74

No files matched your search

+22 -29
View File
@@ -1,4 +1,4 @@
# .
# config
A Django project folder structure is generated with [djinitx/djinit/dj](https://github.com/S4NKALP/djinit).
@@ -71,45 +71,38 @@ Run `just` to see all available commands, including:
## Project Structure
```
./
├── apps/
│ ├── admin/
│ │ └── __init__.py
│ ├── api/
│ │ ├── __init__.py
│ │ ├── urls.py
│ │ └── v1/
│ │ ├── __init__.py
│ │ └── urls.py
│ ├── models/
│ │ └── __init__.py
│ ├── serializers/
│ │ └── __init__.py
│ ├── tests/
│ │ └── __init__.py
│ ├── urls/
│ │ └── __init__.py
│ └── views/
│ └── __init__.py
├── core/
│ ├── asgi.py
│ ├── __init__.py
config/
├── config/
│ ├── settings/
│ │ ├── base.py
│ │ ├── development.py
│ │ ├── __init__.py
│ │ └── production.py
│ ├── admin/
│ ├── api/ # API endpoints organized by model
│ │ ├── user/ # Example: if you have a User model
│ │ │ ├── views.py
│ │ │ ├── serializers.py
│ │ │ └── urls.py
│ │ └── urls.py
│ ├── models/ # Django models
│ ├── tests/
│ ├── urls.py
│ └── wsgi.py
│ ├── wsgi.py
│ └── asgi.py
├── manage.py
├── requirements.txt
├── pyproject.toml
├── uv.lock
├── .env.sample
├── justfile
├── Procfile
├── runtime.txt
└── README.md
**Note:** For the single folder layout, organize your API endpoints by model name under the `api/` directory.
For example, if you have a `User` model in `models/user.py`, create:
- `api/user/views.py` - API views for User
- `api/user/serializers.py` - Serializers for User
- `api/user/urls.py` - URL patterns for User endpoints
See the README files in `api/` and `models/` directories for more details.
```
## API Documentation