sankalp 7f99d55252 feat(templates): add defer to external scripts and improve button cursor styling
Add defer to external script tags for better async loading and add CSS rule to set cursor to pointer for enabled buttons.

- New Features:
  - None
- Enhancements:
  - Added `defer` attribute to htmx, SortableJS, Chart.js, easymde, and Quill scripts.
  - Added `button:not(:disabled) { cursor: pointer; }` CSS rule.
- Bug Fixes:
  - None
2026-05-28 00:53:46 +05:45

config

A Django project folder structure is generated with djinitx/djinit/dj.

Features

  • Modern project structure with environment-specific settings
  • Pre-configured REST API with JWT authentication
  • Essential dependencies and utilities
  • Production-ready configuration

Setup

  1. Set environment variables in .env file

  2. Run setup (installs dependencies, runs migrations, creates superuser):

    just setup
    
  3. Start development server:

    just dev
    

Traditional Method

  1. Install dependencies:

    pip install -r requirements.txt
    
  2. Set environment variables in .env file

  3. Run migrations:

    python manage.py migrate
    
  4. Create superuser:

    python manage.py createsuperuser
    
  5. Start development server:

    python manage.py runserver
    

Available Commands

Run just to see all available commands, including:

  • just dev - Run development server
  • just migrate - Run migrations
  • just makemigrations - Create migrations
  • just createsuperuser - Create superuser
  • just test - Run tests
  • just lint - Lint code
  • just format - Format code
  • just shell - Django shell
  • just clean - Clean cache files
  • just install <package> - Install package
  • just remove <package> - Remove package
  • just server - Run production server
  • just ci - Run all linting and checks
  • just test-coverage - Run tests with coverage

Project Structure

config/
├── config/
│   ├── settings/
│   │   ├── base.py
│   │   ├── development.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
│   └── asgi.py
├── manage.py
├── requirements.txt
├── pyproject.toml
├── uv.lock
├── .env.sample
└── 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

When running in development mode, API documentation is available at:

S
Description
A full-featured, open-source project management system built with Django
Readme
828 KiB
0 Stars 1 Watchers 0 Forks
Languages
HTML 66.1%
Python 33.1%
Just 0.6%
JavaScript 0.1%
Dockerfile 0.1%