How can I get the reverse url for a Django Flatpages template

后端 未结 10 1261
情深已故
情深已故 2021-01-31 10:33

How can I get the reverse url for a Django Flatpages template

10条回答
  •  半阙折子戏
    2021-01-31 10:51

    I thought the advantage of Flatpages was you didn't have to create any view stubs or url confs? It's a bit pointless otherwise... if you're creating views and urls you may as well save the flatpage content as template html instead.

    try this instead: https://github.com/0sn/nameremoved/wiki/flatpages

提交回复
热议问题