asked 2012-07-04 17:02:39 -0500theactiveactor
I created a new skin called
myskin and set ASKBOT_EXTRA_SKINS_DIR accordingly. Overwriting default templates seems to work.
I want to create a custom home page, with a template called "home.html", located in this new skin, which inherits from "one_column_body.html" (defined in common).
However, in my custom app (installed along with askbot), when I tried to invoke render_to_response() on "home.html", I get this error: "TemplateDoesNotExist at /"
That's because creating a template does not automatically create an url or the function that would respond to the url.
If your page is static you could change configuration for url
/ in the
askbot/urls.py and create a simple view that renders your template and returns a response with the rendered contents.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.create your Q&A site
Asked: 2012-07-04 17:02:39 -0500
Seen: 42 times
Last updated: Jul 04 '12