Mehrdad Moradizadeh
a5794c50e7
Add docs & changelog for form builder FormMixin & EmailFormMixin
2022-08-31 23:12:27 +10:00
Thibaud Colas
eac5e0bc2c
Finish re-implementing form styles based on design feedback & code review
...
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Dolidodzik
b131b4813e
replace latin abbreviations with english phrases & updated docs guidelines
...
- added sub-section to language part of general_guidelines.md
- fixes #8860
2022-07-20 16:11:38 +10:00
SilvestriStefano
f535a0cc43
Documentation - migrate reference/** files to markdown content
...
- relates to #8383
2022-06-30 09:57:26 +10:00
LB Johnston
e140c41a89
documentation - markdown formatting
...
- apply general fixes to existing markdown documentation
- various cases of rst syntax still used
- update some links to be the new format
- clean up line breaks (prettier)
2022-06-25 22:44:42 +10:00
LB Johnston
fd5218220e
form builder - allow clean_name generation to be overridden
...
- adds a new class method to AbstractFormField `get_field_clean_name`
- resolves #6903
2022-06-02 08:07:24 +10:00
Jake Howard
59f901fb82
Use JSONField
to store form submissions
2022-04-13 23:40:56 +10:00
LB Johnston
5f4942f9ad
documentation - fix broken docs references
...
- remove 2.16 reference to setting that no longer exists
2022-04-07 12:52:03 +01:00
Matt Westcott
c7774ba0be
Move wagtail.contrib.forms.edit_handlers to wagtail.contrib.forms.panels
2022-03-25 10:44:25 -04:00
Matt Westcott
b189ab8382
Move wagtail.admin.edit_handlers to wagtail.admin.panels
2022-03-25 10:44:25 -04:00
Karl Hobley
75cc7da38a
Move wagtail.core to wagtail
2022-03-17 17:19:59 +00:00
LB Johnston
7c3ddb3bfc
documentation - adopt MyST syntax for form builder section
...
- the original conversion to markdown happened around the same time as the MyST conversion
- this meant that the syntax was not in sync
- also run prettier over markdown for consistent formatting & whitespace
- see #8007
2022-03-16 20:51:43 +10:00
LB (Ben Johnston)
e3b6e79a8e
Documentation - migrate form builder docs to markdown ( #8007 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-03-10 08:43:49 +00:00
Matt Westcott
31139e8b24
Remove references to StreamFieldPanel and ChooserPanels from docs
2022-03-02 15:55:25 +00:00
Nick Smith
1d03c36421
Change some word choices in the docs
...
This replaces several US English dialectical uses of _regular_ with
British English equivalents _normal_ or _standard_. This is the result
of a search of the docs for the string 'regular', rather than due to any
US English seen in the user interface.
This search also found one use of _regularly_ where _often_ was closer
to the intended meaning, a change which is less about dialect than about
word choice.
2021-07-13 10:51:46 +01:00
fabienheureux
6d01ced56b
Fix usage of html syntax instead of html+django ( #7138 )
2021-05-05 11:08:40 +01:00
Matthias Rohmer
9a1fc6d243
Add missing import to example code snippet ( #6638 )
...
Adding this makes the code snippet ready to use via copy and paste.
2021-01-15 21:10:55 +00:00
Haydn Greatnews
165c5c0ce5
Add date & datetime formatting to AbstractEmailForm + split out render_email method
...
* Rewrite AbstractEmailForm render to use cleaned_data
* Add date time formatting to AbstractEmailForm's render method according to Django settings SHORT_DATE_FORMAT and
SHORT_DATETIME_FORMAT
* Previously it was iterating over `form` which left no place to remove
data from the submission without removing the field from the form (which
is inadvisable, as discussed on #4313 )
* Preserve order of fields in form emails using cleaned data
* Add a test for consistent date rendering in email forms
* update form customisation examples and add note about date / time formatting in email form usage (docs)
* resolves #3733
* resolves #4313
2020-04-26 20:25:48 +10:00
Matt Westcott
227221f7fb
Update docs with new locations of wagtail.admin.utils definitions
2019-08-19 18:58:56 +02:00
Sergey Fedoseev
47465197a9
Use intersphinx for Django references when possible. ( #4896 )
2018-11-14 11:48:32 +00:00
Matt Westcott
6454e500ab
Fix module path (wagtailforms.models should be wagtail.contrib.forms.models)
2018-09-21 10:53:51 +01:00
Victor Miti
c38b172793
updated Django Docs Links to point to *docs.djangoproject.com/en/stable/*
2018-05-18 14:43:42 +01:00
Matt Westcott
cde31260d8
add documentation for custom send_mail method
2018-02-26 19:06:18 +00:00
Loic Teixeira
f6bcfbf31e
Update paths in documentation
2018-02-23 11:53:31 +00:00
Mads Jensen
b30c722728
Used Python 3 super() syntax also in documentation. ( #4246 )
...
This disregards the release notes for earlier releases and only deals
with current documentation.
2018-02-07 10:11:27 +00:00
LB
3eac584c7c
Make FormBuilder more easy to extend
2018-01-10 19:04:42 +10:00
Johan Arensman
815cb6e405
Use class based views instead of function views
...
Changes `index`, `delete_submissions` and `list_submissions`.
Adjusted view tests to properly test the new class based structure.
remove get_field_ordering from FormPage model - now on view
2018-01-08 16:27:09 +10:00
LB
70eb2b6ae3
add on_delete argument to ParentalKey & ForeignKey
2017-12-15 10:33:09 +00:00
LB
bc0923b356
Add note that form_submission is passed to landing page context
2017-11-28 22:01:37 +08:00
LB
afee487d52
Documentation example for render_landing_page
2017-11-28 22:01:18 +08:00
Karl Hobley
f29ce6c1f9
Renamed wagtail.wagtailforms to wagtail.contrib.forms
...
Conflicts:
docs/reference/contrib/forms/customisation.rst
docs/reference/contrib/forms/index.rst
wagtail/contrib/forms/tests/test_forms.py
wagtail/contrib/forms/tests/test_models.py
wagtail/contrib/forms/tests/test_views.py
wagtail/contrib/forms/views.py
wagtail/contrib/forms/wagtail_hooks.py
wagtail/tests/settings.py
wagtail/tests/testapp/models.py
2017-11-26 22:43:47 +00:00
Karl Hobley
062d05189b
Rename wagtail.wagtailadmin to wagtail.admin
...
Conflicts:
docs/advanced_topics/customisation/admin_templates.rst
docs/advanced_topics/customisation/page_editing_interface.rst
docs/advanced_topics/i18n/duplicate_tree.rst
docs/advanced_topics/jinja2.rst
docs/advanced_topics/settings.rst
docs/getting_started/integrating_into_django.rst
docs/getting_started/tutorial.rst
docs/reference/hooks.rst
docs/reference/pages/panels.rst
docs/topics/pages.rst
docs/topics/streamfield.rst
wagtail/admin/blocks.py
wagtail/admin/checks.py
wagtail/admin/edit_handlers.py
wagtail/admin/forms.py
wagtail/admin/rich_text.py
wagtail/admin/search.py
wagtail/admin/site_summary.py
wagtail/admin/templatetags/wagtailadmin_tags.py
wagtail/admin/tests/test_admin_search.py
wagtail/admin/tests/test_buttons_hooks.py
wagtail/admin/tests/test_compare.py
wagtail/admin/tests/test_edit_handlers.py
wagtail/admin/tests/test_page_chooser.py
wagtail/admin/tests/test_pages_views.py
wagtail/admin/tests/test_rich_text.py
wagtail/admin/tests/test_widgets.py
wagtail/admin/tests/tests.py
wagtail/admin/urls/__init__.py
wagtail/admin/views/account.py
wagtail/admin/views/chooser.py
wagtail/admin/views/collection_privacy.py
wagtail/admin/views/collections.py
wagtail/admin/views/home.py
wagtail/admin/views/page_privacy.py
wagtail/admin/viewsets/model.py
wagtail/admin/wagtail_hooks.py
wagtail/admin/widgets.py
wagtail/contrib/settings/registry.py
wagtail/contrib/wagtailsearchpromotions/wagtail_hooks.py
wagtail/contrib/wagtailstyleguide/wagtail_hooks.py
wagtail/project_template/project_name/settings/base.py
wagtail/project_template/project_name/urls.py
wagtail/tests/non_root_urls.py
wagtail/tests/settings.py
wagtail/tests/snippets/models.py
wagtail/tests/testapp/models.py
wagtail/tests/testapp/wagtail_hooks.py
wagtail/tests/urls.py
wagtail/wagtaildocs/models.py
wagtail/wagtaildocs/views/chooser.py
wagtail/wagtaildocs/wagtail_hooks.py
wagtail/wagtailembeds/wagtail_hooks.py
wagtail/wagtailforms/models.py
wagtail/wagtailforms/tests/test_views.py
wagtail/wagtailforms/views.py
wagtail/wagtailforms/wagtail_hooks.py
wagtail/wagtailimages/models.py
wagtail/wagtailimages/views/chooser.py
wagtail/wagtailimages/wagtail_hooks.py
wagtail/wagtailredirects/forms.py
wagtail/wagtailredirects/wagtail_hooks.py
wagtail/wagtailsites/forms.py
wagtail/wagtailsites/views.py
wagtail/wagtailsites/wagtail_hooks.py
wagtail/wagtailsnippets/tests.py
wagtail/wagtailsnippets/wagtail_hooks.py
wagtail/wagtailusers/forms.py
wagtail/wagtailusers/views/groups.py
wagtail/wagtailusers/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
4300e19da2
Rename wagtail.wagtailcore to wagtail.core
2017-11-26 22:43:47 +00:00
Mikalai Radchuk
e25d2fc025
Fix a typo in a docstring
2017-01-25 21:34:25 +03:00
Mikalai Radchuk
8cabddfda0
Fix grammar mistakes
2017-01-25 21:34:25 +03:00
Mikalai Radchuk
7f10938b57
Add docs about wagtailforms customisation
...
Fixes #2945
2017-01-25 21:34:25 +03:00