Skip to main content

A magical full-stack framework for Django.

Project description

django-unicorn

PyPI

GitHub Release Date

All Contributors

The magical fullstack framework for Django. ✨

django-unicorn provides a way to use backend Django code and regular Django templates to create interactive experiences without investing in a separate frontend framework.

Why?

Building server-side sites in Django with the ORM and template engine is so pleasant, but once you need more interactivity on the frontend, there is a lot more ambiguity. Should you build out an entire API in Django REST framework? Should you use React or Vue.js (or some) other frontend framework?

It seems like there should be an easier way to create interactive experiences.

A note

django-unicorn is still beta and the API will likely change on the way to version 1.0.0. All efforts will be made to include an easy upgrade path. 1.0.0 will signify that the public API won't change until the next major release.

Detailed documentation

https://www.django-unicorn.com

Developing

  1. git clone git@github.com:adamghill/django-unicorn.git
  2. poetry install
  3. poetry run example/manage.py migrate
  4. poetry run example/manage.py runserver 0:8000
  5. Go to localhost:8000 in your browser
  6. To install in another project pip install -e ../django-unicorn

Run unittests

  1. poetry run pytest
  2. npm run test

Minify Javascript

  1. npm install
  2. npm run build

Bump version

  1. npm run build
  2. poetry version major|minor|patch
  3. Commit/tag/push version bump
  4. poetry publish --build -r test
  5. Make sure test package can be installed as expected (https://test.pypi.org/project/django-unicorn/)
  6. poetry publish
  7. Make sure live package can be installed as expected (https://pypi.org/project/django-unicorn/)

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Adam Hill

💻 ⚠️

Andres Vargas

💻

Eddy Ernesto del Valle Pino

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

django-unicorn-0.10.0.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

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

django_unicorn-0.10.0-py3-none-any.whl (54.0 kB view details)

Uploaded Python 3

File details

Details for the file django-unicorn-0.10.0.tar.gz.

File metadata

  • Download URL: django-unicorn-0.10.0.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Darwin/19.6.0

File hashes

Hashes for django-unicorn-0.10.0.tar.gz
Algorithm Hash digest
SHA256 1acbd61eeccc6c0a916510a9ebddb20b947481c86980ce51f803da8368cc0851
MD5 a7d86bf0aa0e7afe8645ba7489974b85
BLAKE2b-256 4665d867f858329f8a1149a4d06a339a5100233de981c6c5e8be02e60ff25da9

See more details on using hashes here.

File details

Details for the file django_unicorn-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: django_unicorn-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.7.9 Darwin/19.6.0

File hashes

Hashes for django_unicorn-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 723ef62c4cdc377fba0d633227f9416c0872d42b6df5c2e0f1cacf9322897924
MD5 aa776fc8989a4ba6a0ba417c812c02cc
BLAKE2b-256 2c27e741d4b90e64049cc69bf0466f2eed538e0d25dd2414f0045b2319c12860

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