mirror of
https://github.com/Django-LiveView/docs.git
synced 2025-12-14 06:34:36 +01:00
Improve documentation clarity and security
Some checks failed
Gitea Actions Deploy / deploy (push) Has been cancelled
Some checks failed
Gitea Actions Deploy / deploy (push) Has been cancelled
- Enhanced grammar and punctuation throughout documentation - Added security warning about room ID enumeration attacks - Introduced liveview_room_uuid template tag for secure random room IDs - Clarified attribute naming conversion (camelCase to snake_case) - Improved formatting with colons instead of em dashes for better readability - Added comprehensive error handling, testing, and deployment sections - Removed draft.org file (no longer needed) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
66
draft.org
66
draft.org
@@ -1,66 +0,0 @@
|
||||
* Tutorials
|
||||
:PROPERTIES:
|
||||
:ONE: one-custom-default-page
|
||||
:CUSTOM_ID: /tutorials/
|
||||
:TITLE: Tutorials
|
||||
:DESCRIPTION: List of all tutorials.
|
||||
:END:
|
||||
|
||||
- [[#/tutorials/make-a-blog/][Make a blog]]
|
||||
- [[#/tutorials/add-a-commentary-system/][Add a commentary system]]
|
||||
|
||||
* Make a blog
|
||||
:PROPERTIES:
|
||||
:ONE: one-custom-default-page
|
||||
:CUSTOM_ID: /tutorials/make-a-blog/
|
||||
:TITLE: Make a blog
|
||||
:DESCRIPTION: Create a blog using Django LiveView.
|
||||
:END:
|
||||
|
||||
Below we will make a simple blog with classic features:
|
||||
|
||||
- A list with posts
|
||||
- Single page post
|
||||
- Controls to navegate between list posts and singles
|
||||
- Pagination
|
||||
- Search
|
||||
|
||||
If you want to include a system commentary, read the next tutorial.
|
||||
|
||||
** Creating models
|
||||
|
||||
Before starting, we will create the models that we will use in the blog.
|
||||
|
||||
** Adding fake data
|
||||
|
||||
** Preparing views (SSR)
|
||||
|
||||
** Making templates
|
||||
|
||||
** Including actions
|
||||
|
||||
** Adding the feature: infinite scroll
|
||||
|
||||
** Adding the feature: search
|
||||
|
||||
* Add a commentary system
|
||||
:PROPERTIES:
|
||||
:ONE: one-custom-default-page
|
||||
:CUSTOM_ID: /tutorials/add-a-commentary-system/
|
||||
:TITLE: Make a blog
|
||||
:DESCRIPTION: Create a commentary system using Django LiveView.
|
||||
:END:
|
||||
|
||||
** Creating models
|
||||
|
||||
** Adding fake data
|
||||
|
||||
** Preparing views (SSR)
|
||||
|
||||
** Making templates
|
||||
|
||||
** Including actions
|
||||
|
||||
** Getting data
|
||||
|
||||
** Showing
|
||||
2
onerc.el
2
onerc.el
@@ -154,7 +154,7 @@
|
||||
(:div.container
|
||||
(:hgroup.hero__hgroup
|
||||
(:h1.hero__title "Django LiveView")
|
||||
(:h2.hero__subtitle "Build real-time, reactive interfaces with Django using WebSockets — write Python, not JavaScript")
|
||||
(:h2.hero__subtitle "Build real-time, reactive interfaces with Django using WebSockets: write Python, not JavaScript")
|
||||
(:img.image.hero__logo (@ :alt "pet" :src "img/pet.webp")))))
|
||||
(:section.home
|
||||
(:div.container ,content)))))))
|
||||
|
||||
Reference in New Issue
Block a user