Changes between Initial Version and Version 1 of Ticket #35106


Ignore:
Timestamp:
Jan 11, 2024, 6:30:28 PM (10 months ago)
Author:
Tim Graham
Comment:

Since these instructions haven't changed for 10+ years, I'm guessing you made a mistake. If you debug the issue and find the instructions are at fault, feel free to reopen with an explanation.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35106

    • Property Resolutionworksforme
    • Property Status newclosed
  • Ticket #35106 – Description

    initial v1  
    11Step 3 : says to either add an entry to URLconf **or**   add FlatpageFallbackMiddleware to MIDDLEWARE setting
    22
    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 
     3I 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.
    64
    75
    86Add an entry in your URLconf. For example:
    9 
     7{{{#!python
    108urlpatterns = [
    119    path("pages/", include("django.contrib.flatpages.urls")),
    1210]
     11}}}
    1312or:
    1413
    15 Add 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware' to your MIDDLEWARE setting.
     14Add `'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware'` to your `MIDDLEWARE` setting.
Back to Top