Matt Westcott
b13641e936
Support custom document models with required fields
...
Same approach as 4023a90d6e
for images - define an UploadedDocument model to hold the uploaded file up to the point where the required metadata has been supplied.
2021-01-15 20:05:08 +00:00
WinterComes
06fb0764e0
Move get_document_model to __init__ & add get_document_model_string
...
Avoids issues where models are not yet loaded and document model is needed.
- apply isort
- fix minor typos
- fixes #5614
2019-11-07 07:47:12 +10:00
Sergey Fedoseev
47465197a9
Use intersphinx for Django references when possible. ( #4896 )
2018-11-14 11:48:32 +00:00
Victor Miti
c38b172793
updated Django Docs Links to point to *docs.djangoproject.com/en/stable/*
2018-05-18 14:43:42 +01: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
665d06c8ce
Remove docs for setting up post_delete signals on custom document models
...
This is no longer required as of #3541
2017-09-13 21:36:55 +01:00
Emily Horsman
423c31ddf6
Adds docs for custom document models and get_document_model
...
This documentation will need to be updated if/when #3539 is fixed,
similar to the custom image model documentation that exists already.
2017-08-24 10:22:52 -07:00