Vladimir Knobel
a0d6dbb5f4
Update primer.rst ( #5068 )
...
path to overriding template doesn't match model name
2019-02-13 15:16:44 +00:00
DanAtShenTech
dbb7ec77b3
Fix index_view_class in primer.rst
...
Fix the "index_view_class=" reference. Small grammar fixes.
2019-02-08 17:32:57 +00:00
DanAtShenTech
f1e3e2e379
Update primer.rst ( #5061 )
...
Small wording clarifications.
2019-02-08 17:26:26 +00:00
DanAtShenTech
c9be245b0f
Update primer.rst ( #5062 )
...
Small grammar fixes
2019-02-08 17:02:30 +00:00
Matt Westcott
d731ea6c9f
Add missing null=True and imports to modeladmin example code
2019-01-10 10:59:05 +00:00
Alex Gleason
e5f9c122ab
Use better examples in ModelAdmin docs, add info about FieldPanels
2018-11-30 13:11:53 +00:00
Sergey Fedoseev
8f8faf3c60
Fixed some formatting in 'Customising IndexView' doc. ( #4877 )
...
* Fixed some formatting in 'Customising IndexView' doc.
* Make coverage omit docs/conf.py.
2018-10-30 12:29:11 +00:00
Sergey Fedoseev
29c8ad6637
Fix reference in ModelAdmin.ordering docs.
2018-10-30 12:23:17 +00:00
Jorge Barata
8161d7c14c
Fix get_permission_helper_class documentation typo
2018-10-16 11:29:05 +01:00
DanAtShenTech
53881ebd0b
Small wording, spelling, grammar edits ( #4543 )
2018-05-18 14:59:06 +01:00
DanAtShenTech
f58e85fa0f
Fix wording
2018-05-18 14:55:29 +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
Andy Babic
d0670da61b
Fix minor typo in modeladmin docs ( #4509 )
...
add_to_setings_menu -> add_to_settings_menu
2018-05-02 18:11:01 +03:00
DanAtShenTech
950e77d2aa
Wording change requested by Matthew Westcott
2018-04-11 13:22:45 +01:00
DanAtShenTech
2f43c10e6c
Wording change to have this feature appear in search results
...
Searching the docs for the phrases "add django model to wagtail admin" and "add model to wagtail admin" (without the quotes) did not even yield this crucial page as one of the results. The proposed wording puts the main idea of being able to show/edit ANY model via the Wagtail admin at the top of the document and includes wording to, hopefully, have this page appear at the top for anyone searching for how to implement this functionality.
2018-04-11 13:22:44 +01:00
Matt Westcott
af7cdb4354
another typo fix
2018-04-06 16:19:49 +01:00
DanAtShenTech
a179d0c331
Fix typos
...
Conflicts:
docs/reference/contrib/modeladmin/primer.rst
2018-04-06 16:19:32 +01:00
Karl Hobley
f608c67eb1
Fix capitalisation of names
2018-04-05 12:13:05 +01:00
Karl Hobley
bf3e994505
Fix capitalisation of QuerySet
2018-04-05 12:13:05 +01:00
Karl Hobley
a9b4b09152
Fix spelling mistakes in documentation
2018-04-05 12:13:05 +01:00
LB (Ben Johnston)
39d5672c9c
Fix modeladmin documentation typo ( #4251 )
...
Fix incorrect reference to a method name from the previous example.
2018-02-08 10:53:36 +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
Karl Hobley
bf0f3e02ba
Rename wagtail.wagtailimages to wagtail.images
...
Conflicts:
docs/advanced_topics/api/v2/configuration.rst
docs/advanced_topics/jinja2.rst
docs/advanced_topics/settings.rst
docs/getting_started/integrating_into_django.rst
docs/getting_started/tutorial.rst
docs/topics/pages.rst
docs/topics/streamfield.rst
gulpfile.js/config.js
tox.ini
wagtail/admin/tests/test_compare.py
wagtail/admin/tests/test_edit_handlers.py
wagtail/api/v2/signal_handlers.py
wagtail/contrib/wagtailstyleguide/views.py
wagtail/core/tests/test_streamfield.py
wagtail/documents/tests/test_models.py
wagtail/images/models.py
wagtail/images/permissions.py
wagtail/images/tests/test_admin_views.py
wagtail/images/tests/test_image_operations.py
wagtail/images/tests/test_models.py
wagtail/images/tests/test_signal_handlers.py
wagtail/images/views/chooser.py
wagtail/images/views/images.py
wagtail/images/views/multiple.py
wagtail/images/wagtail_hooks.py
wagtail/images/widgets.py
wagtail/project_template/project_name/settings/base.py
wagtail/tests/demosite/models.py
wagtail/tests/non_root_urls.py
wagtail/tests/settings.py
wagtail/tests/testapp/migrations/0001_initial.py
wagtail/tests/testapp/migrations/0008_inlinestreampage_inlinestreampagesection.py
wagtail/tests/testapp/migrations/0009_defaultstreampage.py
wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
78b1372cd4
Rename wagtail.wagtaildocs to wagtail.documents
...
Conflicts:
docs/advanced_topics/i18n/index.rst
docs/advanced_topics/settings.rst
docs/getting_started/integrating_into_django.rst
gulpfile.js/config.js
wagtail/admin/tests/test_collections_views.py
wagtail/api/v2/signal_handlers.py
wagtail/contrib/wagtailstyleguide/views.py
wagtail/core/tests/test_collection_permission_policies.py
wagtail/documents/permissions.py
wagtail/documents/tests/test_admin_views.py
wagtail/documents/tests/test_collection_privacy.py
wagtail/documents/tests/test_models.py
wagtail/documents/views/chooser.py
wagtail/documents/views/documents.py
wagtail/documents/views/serve.py
wagtail/documents/wagtail_hooks.py
wagtail/documents/widgets.py
wagtail/project_template/project_name/urls.py
wagtail/tests/demosite/models.py
wagtail/tests/non_root_urls.py
wagtail/tests/settings.py
wagtail/tests/testapp/models.py
wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Matt Westcott
5f382d8784
Remove Python 2 references from docs
2017-10-13 12:24:42 +01:00
Andy Babic
37bbbb9dba
Improved code separation in `contrib.modeladmin` ( #3467 )
...
* Split `helpers.py` into separate `url.py`, `permission.py` and `button.py`, dedicated to those separate concerns and update the docs accordingly
* Move `ThumbnailMixin` out to `mixins.py` and update documentation accordingly
* Ad #NOQA to import lines to hush pep errors
* Alphabetise helper import order
* - Delete `helpers/helpers.py`
- wagtal -> wagtail in docs
2017-03-28 10:34:03 +01:00
Andy Babic
3348cd5c89
Reduce modeladmin’s dependency on wagtail.wagtailimages and wagtail.wagtaildocs
...
- Remove imports at the top of options.py and views.py that result in ImportError when those apps aren’t installed
- Alter ThumbnailMixin and InspectView to use the `wagtail.wagtailimages.shortcuts.get_rendition_or_not_found()` method to render images, which handles missing image source files gracefully, and reduces code duplication.
- Simplify `get_field_display_value()` by not limiting image and document rendering to ForeignKey fields. It should work consistently for property methods or other attributes too.
2017-03-03 15:33:17 +00:00
Matheus Bratfisch
ca16e9187f
Add exclude_fields to ModelAdmin and ModelFormView, tests and doc
2017-02-22 11:41:44 +00:00
Tim Heap
6ba34636cb
Fix whitespace errors in docs
...
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Andy Babic
23eced1fcd
`Added support for 'exclude_from_explorer' attribute on ModelAdmin class
2016-11-23 16:51:08 +00:00
Andy Babic
78f67f8fdb
* Gives the `result_row_display` control over the `<tr>` element for each row in `IndexView` by shifting the `<tr>` out of `result_list.html` and into `result_row.html`
...
* `result_row_display` adds a `data-object_pk` attribute to each row, to make items easier to identify with JS
* Adds `get_extra_attrs_for_row()` method to `ModelAdmin`, to give developers a way of adding further attributes to the `<tr>` element
2016-10-21 17:20:54 +01:00
Andy Babic
0c1b67bc16
Add documentation to help with customisation of `contrib.modeladmin`
2016-09-28 20:52:19 +01:00