coderedcorp / wagtail-cache

A simple page cache for Wagtail based on the Django cache middleware.
Other
87 stars 29 forks source link

wagtail_urls? #15

Open qyb opened 5 years ago

qyb commented 5 years ago

https://docs.coderedcorp.com/wagtail-cache/stable/getting_started/install.html#caching-wagtail-pages-only:

... url(r'', include(wagtail_urls)),

But in the newest version, it seems that "re_path(r'', include(codered_urls))," replace the older define?

vsalvino commented 5 years ago

Good catch, feel free to make a pull request updating the documentation. For reference, that specific code snippet should match the default urls.py file generated by wagtail start.