django-flatpages
django flatpages works with DEBUG=True, doesn't work with DEBUG=False
I can see that django loo开发者_StackOverflow社区ks for 500.html when DEBUG is False.What could be the problem?When debug is set to False django renders the 500.html template instead of the debug stac[详细]
2023-04-04 06:50 分类:问答Login required for django Flatpages
Is there an easy way to put login required decorator to all my Flatpages? Do I need to m开发者_开发问答odify my url conf?[详细]
2023-03-21 14:48 分类:问答Do i need to add URLs for flat pages in url.py in django
I have enabled flat pages in django and created page with url /pages/about so i want to know that do i need to create some url in url.py or not[详细]
2023-03-17 04:26 分类:问答How to use Django's flatpages with multiple sites and the same url?
I have 5 sites, each on their own domain, running under one django project. Currently all the sites have the same contact page, as provided by flatpages under the url /contact/. However it would be fa[详细]
2023-02-16 19:47 分类:问答Is that possible to cache django flatpages?
Is that possible to cache django flatpages ? When I look at the code i开发者_运维问答t seems it is not done...Yes, just cache your site as normal and make sure that FetchFromCacheMiddleware is before[详细]
2023-02-14 23:32 分类:问答Content of Django flatpages not stored
I have added the flatpages 开发者_JAVA技巧package and tried to add a flatpage in the admin interface. The title and URL are added, but not the content of the page. The content of a flatpage is edited[详细]
2023-02-14 16:20 分类:问答Extend flatpages for a specific application
I have a portfolio application that lists projects and their detail pages. Every project generally has the same information (gallery, about etc. ), but sometimes the user might want to add extra infor[详细]
2023-01-21 14:24 分类:问答Flatpages equivalent for ASP.Net MVC
Django has the Flatpages app, which lets site admins change content on specific pages without changing code. Flatpage content i stored in the database, sort of like in a CMS. Flatpa开发者_StackOverflo[详细]
2023-01-16 22:32 分类:问答Reversible, named URLs for Django flatpages (or multilingual-ng)?
Is there a way to have reversible, named URLs for Django flatpages (or multilingual-ng, which is flatpages + t开发者_如何学Pythonranslations)?[详细]
2023-01-16 20:11 分类:问答Django Flatpages Variables
Is it possible to enter {{ variable }} into a dja开发者_运维知识库ngo flatpage and if so, how?Never tried this. The documentation says that Flatpage templates are passed a single context variable, fla[详细]
2023-01-12 16:33 分类:问答