Entries is a helper Django app with CRUD functions based on htmx.
Project description
Entries
Overview
Entries is a Django app that has basic create-read-update-delete (CRUD) functionality for an Entry
model with title
, excerpt
,content
and author
fields. The base template makes use of light css and javascript.
CSS
starter.css
stylesheetpylon
0.1.1 for<hstack>
and<vstack>
layouts
JS
htmx
1.6.1 for html-over-the-wire functionalityhyperscript
0.9 for client-side reactivitysimplemde
a simple markdown editor
Quickstart
Install in your virtual environment:
.venv> pip3 install django-entries # poetry add django-entries
Include package in main project settings file:
# in project_folder/settings.py
INSTALLED_APPS = [
...,
'crispy_forms', # add crispy_forms at least > v1.13, if not yet added
'entries' # this is the new django-entries folder
]
# in project_folder/urls.py
from django.urls import path, include # new
urlpatterns = [
...,
path('entry/', include('entries.urls')) # new
]
Add to database:
.venv> python manage.py migrate # adds the `Entry` model to the database.
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-entries-0.1.8.tar.gz
(45.0 kB
view hashes)
Built Distribution
Close
Hashes for django_entries-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ab7950a49c211442e84be095228e16098754fc34e6d31f26f86672401b0c68 |
|
MD5 | 6968cd967b8c017a341c56ca66c2b310 |
|
BLAKE2b-256 | 6d47a5815377007ce7e93101f089790690df1c6b86c6768c6b25d10fe7c9e995 |