mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-12-18 14:32:19 +00:00
docm
This commit is contained in:
parent
f560cce348
commit
d8ab17217f
@ -21,6 +21,21 @@ Notes to self, as I try to work out what the hell is going on:
|
|||||||
Note that HTMLarea invokes a widget which sets a CSS class which calls javascript in
|
Note that HTMLarea invokes a widget which sets a CSS class which calls javascript in
|
||||||
templates/html_editor_scripts_css.html - which imports jquery and codemirror directly, without
|
templates/html_editor_scripts_css.html - which imports jquery and codemirror directly, without
|
||||||
declaring it anywhere or locally installing it. (!)
|
declaring it anywhere or locally installing it. (!)
|
||||||
|
|
||||||
|
Django handles three distinct parts of the work involved in forms:
|
||||||
|
- preparing and restructuring data to make it ready for rendering
|
||||||
|
- creating HTML forms for the data
|
||||||
|
- receiving and processing submitted forms and data from the client
|
||||||
|
It is possible to write code that does all of this manually, but Django can take care of it all for you.
|
||||||
|
|
||||||
|
READ https://docs.djangoproject.com/en/5.1/topics/forms/ and thoroughly digest it, also:
|
||||||
|
https://pythontimes.com/django-forms-deep-dive-advanced-techniques-for-form-handling/
|
||||||
|
https://docs.djangoproject.com/en/5.1/ref/forms/models/
|
||||||
|
https://stackoverflow.com/questions/53035151/django-formset-factory-vs-modelformset-factory-vs-inlineformset-factory
|
||||||
|
https://micropyramid.com/blog/understanding-djangos-model-formsets-in-detail-and-their-advanced-usage
|
||||||
|
https://www.geeksforgeeks.org/django-modelformsets/
|
||||||
|
https://www.codeunderscored.com/model-formsets-in-django/
|
||||||
|
https://django-formset.fly.dev/styling/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
todo = """
|
todo = """
|
||||||
|
Loading…
Reference in New Issue
Block a user