Commit b1e7e29d authored by ∞'s avatar 💻

Update last article

parent 474567c5
Pipeline #7912 passed with stages
in 40 seconds
......@@ -22,8 +22,10 @@ form.media }}` and `{% csrf_token %}`.
For example, Django would need to have a base.html that can display a
`View.title` attribute, exactly like in all CMS and frameworks that exist on
top of Django, and that Iommi solves with a **beautiful python API for
generating HTML**, because of the problem with templates.
top of Django, and that [Iommi](https://docs.iommi.rocks) solves with a
**beautiful python API for generating HTML**, because of the problem with
templates (see below), or [Ryzom](https://yourlabs.io/oss/ryzom) which also
provide data-binding with django-channels.
## 3. No menus ?
......@@ -87,6 +89,8 @@ standard **refactor of the code in-between Models and Views**.
## MVC
This part of the article is proven by [CRUDLFA+](https://yourlabs.io/oss/crudlfap).
### Example Controller
To sit in between our view classes and our model, we make a Controller which is the same as a ModelAdmin, DRF ViewSet or a django SmartView. It should centralize the base queryset filter code for all the views of this controller and register just like a ModelAdmin:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment