A magical full-stack framework for Django.
Project description
django-unicorn
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
git clone git@github.com:adamghill/django-unicorn.gitpoetry installpoetry run python example/manage.py migratepoetry run python example/manage.py runserver localhost:8000- Go to
localhost:8000in your browser - To install in another project
pip install -e ../django-unicorn
Run unittests
poetry run pytestnpm run test
Minify Javascript
npm installnpm run build
Bump version
npm run buildpoetry version major|minor|patch- Commit/tag/push version bump
poetry publish --build -r test- Make sure test package can be installed as expected (https://test.pypi.org/project/django-unicorn/)
poetry publish- 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 💻 |
Yaser Al-Najjar 💻 |
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-unicorn-0.11.2.tar.gz.
File metadata
- Download URL: django-unicorn-0.11.2.tar.gz
- Upload date:
- Size: 48.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b69b71d874fbcb0c6201232840c37495d17e367daa3a67e4ca8de831c510c42b
|
|
| MD5 |
1e20184f257b6a35210ef43ed6d7a580
|
|
| BLAKE2b-256 |
136ceec829bcdb0065bc7203a25cbe513d59d091cf73440b14ffa24baa1b0b8c
|
File details
Details for the file django_unicorn-0.11.2-py3-none-any.whl.
File metadata
- Download URL: django_unicorn-0.11.2-py3-none-any.whl
- Upload date:
- Size: 56.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Darwin/19.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b09b22e2ce23b79f621711b2cede726c44a54e8fda93e8badcbd6220e331ddd
|
|
| MD5 |
0fb57234a1dfe2663e9fd0bfed15f7b7
|
|
| BLAKE2b-256 |
ad51a651b93b08519b3bd428b290f22a74959ed6f3edb9c2ccb8a7379c2597f4
|