Skip to main content

Powering up your Django experience.

Project description

Django Quik

This project aims to provide extra power while developing Django applications such as livereload and tailwindcss support while you modify template, static files .etc

It is a wrapper around Django CLI, and you don't need to modify your existing code or add it in installed apps like other livereload packages.

Installation

pip install django-quik

Make sure to install this package inside the same virtual environment if your project is using. Now open url: http://127.0.0.1:8000

Usage

The main motivation for Django Quik is to provide features without modifying your any code.

django-quik runserver

You can use all the Django commands with django quik.

Setting up tailwindcss

Make sure you have installed npm in your system.

django-quik init tailwindcss

It will create two files: tailwind.config.js and tailwind.mapping after going through your project INSTALLED_APPS and TEMPLATES.

MODIFY tailwind.mapping file based on your needs.

When you run django-quik runserver, it will run with tailwind livereload support.

Does it support WebSocket?

Yes, Django Quik supports HTTP/1.0, HTTP/1.1, and WebSocket protocol. The HTTP/1.1 is overridden to HTTP/1.0.

How Django Quik works?

Django Quik creates the proxy server then starts Django development server internally. It acts as the middleman between the client and the Django server. If the content type is text/html being served, it injects script to reload page which will be triggered from Server Side Event(SSE).

Conclusion

I am planning to add tailwind support soon. Note: I have tested in Linux and it works.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_quik-0.0.7.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_quik-0.0.7-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file django_quik-0.0.7.tar.gz.

File metadata

  • Download URL: django_quik-0.0.7.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for django_quik-0.0.7.tar.gz
Algorithm Hash digest
SHA256 b557a2aaf79623bb849a5079fe1f20038b0dbd16ce303c36d5bd6eb27b101f74
MD5 03fff3d4aacd9926c617db58f5e4993d
BLAKE2b-256 1674199601af2716fe0751cb9c5e42e9cde30b442e64a14bff1038437ba8bdc9

See more details on using hashes here.

File details

Details for the file django_quik-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: django_quik-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.11

File hashes

Hashes for django_quik-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3d6a98804dc7ba568cd5e4c3b1a8866f1bf31b68341975a158adc12287c9897b
MD5 6d0d027e620399c58566438e019860d2
BLAKE2b-256 f0556461323caec70112a8fcedf5087c521758a5f0c04a51df761f9c1fabe710

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