Skip to main content

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 functionality for a model that Entry consisting of the following fields: title, excerpt,content and author.

The templates/base.html provides a light set of tools:

  1. starter.css stylesheet for some defaults
  2. pylon 0.1.1 for <hstack> and <vstack> layouts
  3. htmx 1.6.1 for html-over-the-wire functionality
  4. hyperscript 0.9 for client-side reactivity
  5. simplemde a simple text editor that accepts markdown

Quickstart

# in project_folder/settings.py
INSTALLED_APPS = [
    ...,
    'crispy_forms',  # crispy_forms at least > v1.13
    'entries' # new
]

# 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 # enter virtual environment

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-entries-0.1.6.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

django_entries-0.1.6-py3-none-any.whl (17.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page