Changes between Initial Version and Version 1 of Ticket #35106
- Timestamp:
- Jan 11, 2024, 6:30:28 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35106
- Property Resolution → worksforme
- Property Status new → closed
-
Ticket #35106 – Description
initial v1 1 1 Step 3 : says to either add an entry to URLconf **or** add FlatpageFallbackMiddleware to MIDDLEWARE setting 2 2 3 I tried implementing using URLconf without success, kept the URL conf and added MIDDLEWARE setting - no change to url path and Flat page rendered .... it seems that either MIDDLWARE setting is required or urlpattern setup instructuons aren't correct / complete 4 5 3 I tried implementing using URLconf without success, kept the URL conf and added MIDDLEWARE setting - no change to url path and Flat page rendered .... it seems that either MIDDLWARE setting is required or urlpattern setup instructuons aren't correct / complete. 6 4 7 5 8 6 Add an entry in your URLconf. For example: 9 7 {{{#!python 10 8 urlpatterns = [ 11 9 path("pages/", include("django.contrib.flatpages.urls")), 12 10 ] 11 }}} 13 12 or: 14 13 15 Add 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware' to your MIDDLEWAREsetting.14 Add `'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware'` to your `MIDDLEWARE` setting.