Karl Hobley
54d8357f96
Rename wagtail.wagtailembeds to wagtail.embeds
...
Conflicts:
gulpfile.js/config.js
wagtail/embeds/blocks.py
wagtail/embeds/tests.py
wagtail/embeds/views/chooser.py
wagtail/embeds/wagtail_hooks.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
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
Matt Westcott
56a68c3ee8
Remove more Django 1.8 references from docs
2017-10-25 16:15:02 +01:00
Matt Westcott
c80bbfcc5f
Eliminate references to wagtaildemo from the docs
...
bakerydemo is now our preferred demo site and the one which will be updated for Wagtail 2.x / Django 2.x.
2017-10-11 16:58:30 +01:00
Karl Hobley
4a1e27dbd4
Remove Python 2 from CI and docs
2017-10-11 16:40:10 +01:00
Matt Westcott
0629b6a866
Say "as a child of Homepage" rather than "under Homepage", to avoid ambiguity
...
Thanks to @rifuso for the suggestion!
2017-10-10 11:48:03 +01:00
Matt Westcott
ef7ef8de13
Blog posts are ordered most recently published first, not most recently modified
...
Fixes #3909 - thanks to @gkahn for the report.
2017-10-06 14:06:57 +01:00
Samir Shah
62b8caedd5
Remove SessionAuthenticationMiddleware from project template and docs.
...
The project template assumes Django 1.11, where SessionAuthenticationMiddleware is redundant (see https://docs.djangoproject.com/en/1.11/releases/1.10/#features-removed-in-1-10 ).
Also update the documentation to consistently refer to MIDDLEWARE instead of MIDDLEWARE_CLASSES.
2017-10-04 16:14:34 +01:00
Matt Westcott
2c0177234e
Add 'The Zen of Wagtail' document
2017-09-27 12:20:34 +01:00
Matt Westcott
6bc6480cd2
Fix deprecated import of modelcluster.tags in tutorial
2017-06-19 12:23:30 +01:00
Matt Westcott
26eb481cf6
Update docs to mention Django 1.11 / Python 3.6 support
2017-04-20 10:57:22 +01:00
Matt Westcott
b3e723eea3
Release note for #3305
2017-02-03 21:24:57 +00:00
Matt Westcott
37c7b696ef
Add 'Categories' section to tutorial
...
This demonstrates the use of snippets and many-to-many relations.
2017-02-03 21:24:54 +00:00
Matt Westcott
e18c1d99c8
Update tutorial wording to clarify that templates are not created automatically ( #3290 )
...
Based on feedback at http://stackoverflow.com/questions/41751034/template-file-not-created-after-adding-page-class-to-models-py
2017-01-25 19:57:44 +00:00
Matt Westcott
cbb31c80e1
Remove redundant filter() in tutorial example. Fixes #3280
...
Thanks to @gogobook for the report!
2017-01-19 17:39:28 +00:00
Matt Westcott
6f834c9a9b
Update links to github.com/torchbox to point to github.com/wagtail
2016-12-15 11:49:49 +00:00
Mihail Russu
4f5ffe98bc
Fix the inconsistent use of blogpages
...
`page.get_children` was changed earlier to `blogpages` in order to show the blog posts ordered and hide the unpublished ones
2016-12-13 10:07:11 +00:00
Matt Westcott
f54498b3b0
Clarify '# ...' comments when omitting code in tutorial snippets
...
See https://groups.google.com/d/msg/wagtail/NFFqKY98jiY/XZjmk3-mBAAJ
2016-12-01 13:43:19 +00:00
Matt Westcott
3fd5bb1820
Add image gallery / InlinePanel section to tutorial
2016-11-30 16:38:20 +00:00
Tim Heap
254e675634
Use .. code-block:: console for all shell commands
...
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/ >. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00
Tim Heap
f742d4a476
Use .. code-block:: for all python, html blocks
2016-11-28 13:41:34 +00:00
Matt Westcott
011f2099eb
Remove categories section, add better example of MultiFieldPanel, minor copyediting
2016-11-09 14:35:58 +00:00
Scot Hacker
756d5ec0dd
Move slugurl example/explanation
...
- Also misc cleanup
2016-11-09 10:42:47 +00:00
Scot Hacker
3634c2b289
Add a Categories system to Getting Started tutorial
2016-11-09 10:42:46 +00:00
Scot Hacker
8c5b62ccfc
Intro tutorial additions and improvements
...
- Addresses all issues raised in PR review
- Adds more info to "Navigating parents/children"
- Adds a new dedicated section on overriding context
2016-11-09 10:42:45 +00:00
Scot Hacker
32f97ff43a
Update Getting Started tutorial to include posts automatically, plus tagging
...
- Resolves #3096
2016-11-09 10:42:44 +00:00
Elwin Buisman
fd8f4b22fb
Bumped supported Django version to 1.10
...
Bumped supported Django version to 1.10 according to requirements in setup.py
2016-08-25 10:09:08 +01:00
Tom Dyson
703c9984c6
Make /admin a link in the Getting Started tutorial
2016-07-20 09:41:03 +01:00
Matt Westcott
b39ff4a134
add note about Wagtail <=1.4 syntax for search_fields
2016-05-02 18:42:21 +01:00
Robert Rollins
11793f88c5
Changed indentation on all code samples to 4 spaces.
...
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Tim Heap
6bd168580e
Change Indexed.search_fields to be a listish thing
...
Indexed.search_fields used to be a tuple. This is incorrect, and it
should have been a list. Changing it to be a list now would be a
backwards incompatible change, as people do
search_fields = Page.search_fields + (
SearchField('body')
)
Adding a tuple to the end of a list causes an error, so this would
cause all old code that used tuples to throw an error. This is not
great.
A new ThisShouldBeAList class, which subclasses list, has been added.
It additionally allows tuples to be added to it, as in the above
behaviour, but will raise a deprecation warning if someone does this.
Old code that uses tuples will continue to work, but raise a deprecation
warning.
See #2310
2016-03-24 21:05:09 +00:00
Loïc Teixeira
33aad3957f
Fix internal links with anchors
...
Generating links with `link text <./path/to/doc#anchor>`__ does not work for html.
It produces a link to `./path/to/doc#anchor` instead of `./path/to/doc.html#anchor`.
It would be tempting to add `.html` before `#` but would likely cause some more issues
when generating the documentation as pdf or epub.
References on the other hand will work regardless of the output format.
2016-03-06 21:05:05 +00:00
Karl Hobley
be82fa975d
Removed django-compressor
2016-02-03 16:16:11 +00:00
Karl Hobley
95ff74feeb
Moved advanced image topics into advanced topics
2016-01-27 11:27:16 +00:00
Matt Westcott
aea3ce67a0
Document setting up MEDIA_ROOT in the Django integration docs
...
An out-of-the-box Django project is not configured to serve user-uploaded files from MEDIA_ROOT; this needs to be added manually as per https://docs.djangoproject.com/en/1.9/howto/static-files/#serving-files-uploaded-by-a-user-during-development . Fixes #2100
2016-01-12 15:40:35 +00:00
Matt Westcott
04fdd5f352
Remove Django 1.7 support from documentation, requirements and CI definitions
2016-01-05 17:38:29 +00:00
Matt Westcott
19f370c20a
Add pointers to the new integrating-with-Django docs
2015-11-10 21:45:21 +00:00
Matt Westcott
96e9a67b75
Add 'integrating into Django' docs
2015-11-10 21:30:10 +00:00
John Heasly
d87d737f52
Need to flip order of class creation
...
Need to flip order of creating `BlogIndexRelatedLink` and `BlogIndexPage`, otherwise `BlogIndexRelatedLink` references `BlogIndexPage` before it's been created and you get:
```bash
ERRORS:
blog.BlogIndexRelatedLink.page: (fields.E300) Field defines a relation with model 'BlogIndexPage', which is either not installed, or is abstract.
```
2015-10-14 17:29:19 -07:00
Matt Westcott
30d5b62eed
Fix broken link to topics/pages
2015-10-14 17:28:49 +01:00
Karl Hobley
6eae465e64
Renamed "self" template variable to "page" in docs
2015-10-13 09:52:16 +01:00
Josh Barr
53773424ff
added clarification about template tags to tutorial
2015-10-05 22:01:03 +13:00
Matt Westcott
16020af213
Loudly highlight the fact that libjpeg and zlib are required
2015-09-22 22:54:47 +01:00
Benedikt Breinbauer
ea77a0f7b9
Fix typo templage > template
2015-08-03 15:35:32 +02:00
Matt Westcott
3c8bcbd3be
de-capitalise 'Body field'
2015-07-07 16:12:43 +01:00
Matt Westcott
fbb153fbe4
Code fixes and clarifications for tutorial - fixes #1473
2015-07-07 16:12:37 +01:00
ryneeverett
bfe6fb45cc
Add basic blog template to tutorial.
...
Seems like an oversight since they soon tell you to "adjust" it.
2015-06-21 18:39:47 -04:00
Matt Westcott
4a84560a95
Add requirements.txt to project template.
...
While the project template is intended to be as generic as possible, and not everyone will want to use requirements.txt (some would prefer to use setup.py to define requirements, for example), we need some way to formally indicate that the project template is specific to Django 1.8.
2015-06-17 17:00:29 +01:00
Matt Westcott
6b3ddde533
Use correct template tags for {{ self.intro }}
...
Fixes #1404
2015-06-15 18:42:34 +01:00
Dan Braghis
d830e07eca
Replace missed slugify example
2015-06-02 16:06:03 +01:00
Dan Braghis
8d3b79f8fc
Further tweaks and cleanup
2015-06-02 16:03:57 +01:00
Dan Braghis
8c0acb9f6c
Tweaks based on feedback
2015-06-01 16:23:13 +01:00
Dan Braghis
39ca18263a
Add the Wagtail tutorial to docs
2015-06-01 15:30:07 +01:00
Karl Hobley
1ba7e645fd
Renamed howto to advanced topics
2015-05-28 12:58:50 +01:00
Dave Cranwell
bd45a12efd
Simplified getting started section
2015-05-28 10:13:05 +01:00
Karl Hobley
23969890cb
Merge remote-tracking branch 'takeflight/refactor/remove-libsass'
2015-05-19 17:25:52 +01:00
Dave Cranwell
d507ce9ea1
wording change
2015-05-18 09:46:38 +01:00
Dave Cranwell
66a901c48c
removed duplicated/out-of-date information about getting started using the demo site. this is now only in the actual wagtaildemo repo
2015-05-18 09:46:38 +01:00
Dave Cranwell
bf6607de54
moved styleguide to own page. renamed trying wagtail to demo site
2015-05-18 09:46:38 +01:00
Tim Heap
ddebafa119
Remove libsass dependency, precompile CSS for distribution
...
Depending on libsass for all Wagtail installations was causing issues
with various operating systems, dramatically increasing installation
times, and preventing front end development adopting modern practices.
libsass has been removed as a dependency. Sass files are compiled before
release as a dependency of the `sdist` setup command. Sass compilation
is done through `gulp`. People wishing to hack on the frontend assets
should now install wagtail locally, install the node dependencies, and
run `gulp`:
$ pip install -e path/to/wagtail
$ cd path/to/wagtail
$ npm install
$ npm start
All the templates and JS files have been updated to reference the new
compiled CSS files instead of the Sass files.
Precompiled CSS for jquery-ui and similar have been moved out of the
`scss/` directory to the `css/` directory.
2015-05-01 08:53:04 +10:00
Karl Hobley
e145e8ebcf
Spelling corrections
2015-04-19 10:53:34 +01:00
Matt Westcott
40d514964d
Update docs to reflect the fact that django-libsass / Pillow are not being installed separately
2015-03-24 13:56:16 +00:00
Karl Hobley
b2b3801371
Fixed capitalisation of Elasticsearch
2015-03-22 12:08:22 +00:00
Karl Hobley
3d314b80ae
Installation docs wording tweaks
2015-03-03 10:00:44 +00:00
Dan Braghis
352281a1e0
Separate dependencies in two subsections
2015-02-23 11:13:37 +00:00
Dan Braghis
423dcb28b0
Replace dependency list with link to setup.py
...
And separate dependencies into 'barebones' and 'admin ui'
2015-02-23 11:11:50 +00:00
Dan Braghis
69836e5970
Minor docs cleanup
2015-02-22 11:29:24 +00:00
Dan Braghis
318ba87117
Add dependencies subsection with notes on libsass and Pillow
2015-02-22 11:27:12 +00:00
Karl Hobley
e6da637256
Changed ports to 8000
2015-02-16 10:28:39 +00:00
Karl Hobley
f52203ec39
Added wagtaildemo section back
2015-02-16 10:27:17 +00:00
Karl Hobley
88753e4370
Installation docs
2015-02-16 10:27:17 +00:00
Karl Hobley
495c834ff0
Added "Trying wagtail" page
2015-02-16 10:27:17 +00:00
Karl Hobley
3cdedf12f2
Docs updates
2015-02-16 10:27:17 +00:00
Karl Hobley
5d6aa0c6ca
Started restructuring getting started docs
2015-02-16 10:27:17 +00:00
Karl Hobley
0dd1613287
Project template Vagrantfile now listens on port 8000
2015-02-10 10:02:39 +00:00
Matt Westcott
23ae84426f
Update non-Vagrant instructions to include 'createsuperuser', now that there's no syncdb step to do that
2015-01-19 13:11:31 +00:00
Deric Crago
7602cf820b
ubuntu.sh & debian.sh missing from https://wagtail.io/
...
ubuntu.sh & debian.sh missing from https://wagtail.io/
switched to:
https://raw.githubusercontent.com/torchbox/wagtail/master/scripts/install/ubuntu.sh
https://raw.githubusercontent.com/torchbox/wagtail/master/scripts/install/debian.sh
2014-10-13 11:05:01 -04:00
Karl Hobley
31b8a14b62
Docs update for project template django 1.7 support
2014-09-18 10:57:10 +01:00
Tom Dyson
22b32d767e
Update installation docs
...
wagtail start command needs pip install requirements.txt in 0.6
2014-09-17 11:17:02 +01:00
Matt Westcott
45a20a6f14
Additions to the 'getting started' documentation so that we're not under-selling the demo site as a way to get started
2014-09-15 18:06:09 +01:00
Matt Westcott
229944c118
actually add creating_your_project.rst this time...
2014-09-11 16:18:45 +01:00
Matt Westcott
5c24a92598
Incorporate the 'creating your project' docs from #512
2014-09-11 16:13:43 +01:00
Matt Westcott
fa6cf7bcb9
Move getting_started page to an 'installation' page within a Getting Started section
2014-09-11 16:01:22 +01:00