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):

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

Project details


Download files

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

Files for django-unicorn, version 0.9.4
Filename, size File type Python version Upload date Hashes
Filename, size django_unicorn-0.9.4-py3-none-any.whl (52.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-unicorn-0.9.4.tar.gz (44.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page