#35106: Flatpages App - Installation instructions
-----------------------------------------+------------------------
               Reporter:  erewh0         |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  Documentation  |        Version:  4.2
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 Step 3 : says to either add an entry to URLconf **or**   add
 FlatpageFallbackMiddleware to MIDDLEWARE setting

 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




 Add an entry in your URLconf. For example:

 urlpatterns = [
     path("pages/", include("django.contrib.flatpages.urls")),
 ]
 or:

 Add 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware' to
 your MIDDLEWARE setting.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/35106>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018cfae06b05-1464d3b5-c4aa-471f-8937-194c54c0411c-000000%40eu-central-1.amazonses.com.

Reply via email to