Ask Your Question
2

askbot as part of a larger website

asked 2012-12-04 19:48:56 -0600

jwhitomre gravatar image

updated 2012-12-05 06:53:11 -0600

todofixthis gravatar image

I'm testing the water on a website which uses Django but to which I wanted to add a forum. As I've only been testing the water and don't have much content it seemed easier to setup an askbot project and add my simple templates and views to my askbot project. That seems difficult as Askbot's settings.py states that templates aren't used, and you have to use the skins system. That at first sight means that all templates are centralised in one location. I was going to be working on a number of apps and keeping them logically separate would seem like a tried and tested paradigm.

Askbot seems geared to a single purpose website. I'm already using the Django user authentication system to gain access to various website features. If I have two separate domains then I have duplicated logins one to a django site with views, templates and apps and one solely for the askbot forum.

Is this really how it is or have I missed something. I'd appreciate any pointers.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-12-04 21:51:54 -0600

Evgeny gravatar image

Should not be a problem unless your project has clashing template names with askbot. In your project you can configure a number of template loaders, and you should still be able to use other templating systems.

In fact askbot cooperates well with the django admin site which uses standard django templates.

edit flag offensive delete link more

Comments

Hmmm that might well be the case but when I try to use my original templates in the project I'm getting an error in django:/usr/lib/python2.7/site-packages/django/template/loader_tags.py in render, line 116 'Template' object has no attribute 'nodelist'

jwhitomre gravatar imagejwhitomre ( 2012-12-05 05:08:42 -0600 )edit

Hmmm that might well be the case but when I try to use my original templates in the project I'm getting an error in django:

jwhitomre gravatar imagejwhitomre ( 2012-12-05 05:08:44 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-12-04 19:48:56 -0600

Seen: 375 times

Last updated: Dec 05 '12