Skip to main content

Ziyodev Django

Production-ready Django starter template with authentication system, REST API support, deployment configuration, and scalable project structure.

This template is designed for quickly building modern Django applications with clean architecture and reusable components.


Features

  • Django REST Framework
  • Authentication system
  • Login / Register
  • Forget password
  • Change password
  • Change email
  • OTP verification
  • SMTP email integration
  • Environment variables support
  • Jazzmin admin panel
  • Gunicorn configuration
  • Nginx deployment config
  • Modular architecture
  • Ready for production

Project Structure

project/
│
├── deployment/
│   ├── gunicorn.service
│   ├── gunicorn.socket
│   └── nginx.conf
│
├── src/
│   ├── api/
│   ├── apps/
│   ├── config/
│   ├── images/
│   ├── requirements/
│   ├── static/
│   ├── templates/
│   ├── .env
│   ├── .env.example
│   ├── db.sqlite3
│   └── manage.py
│
├── venv/
├── .gitignore
└── README.md

Installation

1. Install package

pip install ziyodev-django

Create New Project

Initialize new Django project:

ziyodev-django init .

Virtual Environment if not exists

Linux / macOS

Create venv:

python3 -m venv venv

Activate:

source venv/bin/activate

Windows

Create venv:

python -m venv venv

Activate:

venv\Scripts\activate

Install Requirements

pip install -r src/requirements/dev.txt

Run migrations:

cd src
python manage.py migrate

Create superuser:

python manage.py createsuperuser

Run Development Server

python manage.py runserver

Server:

http://127.0.0.1:8000/

Authentication System

Included authentication features:

  • User registration
  • Login
  • Logout
  • Forget password
  • Change password
  • Change email
  • OTP verification
  • Email verification
  • SMTP integration

Deployment

Deployment configurations included:

deployment/

Contains:

  • gunicorn.service
  • gunicorn.socket
  • nginx.conf

Suitable for:

  • Ubuntu Server
  • Nginx
  • Gunicorn
  • Systemd

Admin Panel

Jazzmin admin panel included.

Admin URL:

/admin/

API Support

Django REST Framework preconfigured.

Create APIs inside:

src/api/

Static & Media Files

Static files:

src/static/

Images:

src/images/

Templates:

src/templates/

Installed Packages

Main packages included:

  • Django
  • Django REST Framework
  • Django Environ
  • Django Jazzmin
  • Gunicorn

Production

Install production requirements:

pip install -r src/requirements/prod.txt

Collect static files:

python manage.py collectstatic

License

MIT License


Author

Ziyodullo Aliyev

GitHub: https://github.com/Ziyodullodev


Happy coding 🚀

Metadata

Release files for ziyodev-django 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ziyodev-django 0.3.4
File Size Uploaded Provenance Actions
ziyodev_django-0.3.4.tar.gz 1.2 MB Without provenance Details for ziyodev_django-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ziyodev-django 0.3.4
File Interpreter ABI Platform Actions
ziyodev_django-0.3.4-py3-none-any.whl Python 3 none any Details for ziyodev_django-0.3.4-py3-none-any.whl

Total release size: 2.4 MB

Release files / ziyodev_django-0.3.4.tar.gz

Download URL ziyodev_django-0.3.4.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
e3db6624754bdd0b5c6395f1b557eb114c19efe8fd028e35b32745c681ffc9d1
BLAKE2b-256 checksum
How to use checksums
c42a10983dc00dc81fb93d90335c9159228cd7ef1d68ff426eed20fa146da984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / ziyodev_django-0.3.4-py3-none-any.whl

Download URL ziyodev_django-0.3.4-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0cb3e7fc5251a3cff4ab9baf133d7a416f33920deb84e6abbf86af79604754d6
BLAKE2b-256 checksum
How to use checksums
cc5cb965ac8650e4936a4d6482bb5206b789a41df99abe126d0ef5a1ddc9de6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for ziyodev-django 0.3.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page