Is it possible to enter {{ variable }} into a django flatpage and if so, how?
Thanks!
Is it possible to enter {{ variable }} into a django flatpage and if so, how?
Thanks!
Never tried this. The documentation says that Flatpage templates are passed a single context variable, flatpage, which is the flatpage object (emphasis mine). Based on this I'd venture a guess that this is not possible. There might be workarounds (such as writing your own wrapper over the views) but I haven't see them in use.