First time here? Check out the FAQ!
2

askbot as part of a larger website

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.

jwhitomre's avatar
21
jwhitomre
asked 2012-12-04 19:48:56 -0500
todofixthis's avatar
1.3k
todofixthis
updated 2012-12-05 06:53:11 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

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.

Evgeny's avatar
13.2k
Evgeny
answered 2012-12-04 21:51:54 -0500
edit flag offensive 0 remove flag delete link

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's avatar jwhitomre (2012-12-05 05:08:42 -0500) 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's avatar jwhitomre (2012-12-05 05:08:44 -0500) edit
add a comment see more comments