osqa

How to set up osqa at webfaction

隐身守侯 提交于 2020-01-03 03:11:27
问题 requirements.txt file: django>=1.1 mysql-python python-openid psycopg2 html5lib markdown git+git://github.com/dcramer/django-sphinx.git South first, virtualenv ~/webapps/ --distribute source ~/webapps//bin/activate export PATH=/usr/pgsql-9.1/bin/:$PATH (this is to avoid the pg_config not found error http://community.webfaction.com/questions/736/installing-psycopg2) then pip-2.7 install -r requirements.txt And remember don't do pip install which install into 2.4; need to invoke pip-2.7 install

OSQA translation issue: strings not present in django.po

你离开我真会死。 提交于 2019-12-23 03:32:19
问题 Trying to create a translation for OSQA Fist I copied the FR locale to RU, updated the settings. Fine, Most things are working but now everything in the django.po file has been translated but still a few lines show up in English and I I cannot find them.. For example the string "Most recently updated questions" in the upper sidebar content right underneath the number of questions. The string is just not present in the django.po PS: I installed OSQA on webfaction using the wiki script. Any

How can I deploy OSQA to heroku

这一生的挚爱 提交于 2019-12-13 18:36:12
问题 I have a problem when I deploy OSQA to heroku. Firstly, I clone OSQA source code from https://github.com/dzone/osqa And I do some steps like the tutorial in https://github.com/joshfinnie/OSQA-Heroku Finally, when I access to my website, I get the error message such as ImproperlyConfigured at / The included urlconf urls doesn't have any patterns in it And the stack trace is as follow /app/forum/views/readers.py in index paginator_context.base_path = reverse('questions') I don't know what wrong

Configuring django settings to work with 1.4.1. Loading template error

假装没事ソ 提交于 2019-12-04 16:26:54
问题 Here is the error I got: ImproperlyConfigured: Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'" Here is my loader template code: if DEBUG: TEMPLATE_LOADERS = [ 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ] else: TEMPLATE_LOADERS = [ ('django.template.loaders.cached.Loader',( 'django.template.loaders.filesystem.load_template_source',

Configuring django settings to work with 1.4.1. Loading template error

北战南征 提交于 2019-12-03 10:26:56
Here is the error I got: ImproperlyConfigured: Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'" Here is my loader template code: if DEBUG: TEMPLATE_LOADERS = [ 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ] else: TEMPLATE_LOADERS = [ ('django.template.loaders.cached.Loader',( 'django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', 'forum.modules.template_loader.module

Installing OSQA on windows (local system)

久未见 提交于 2019-12-03 02:51:10
问题 I want to install OSQA on a local Windows system. I've downloaded bitnami-djangostack-1.1.1-2-windows-installer.exe, which has django, python, mysql and apache built in. I've run a django example given on the django website and it's working fine. But I'm confused how to install OSAQ. I've downloaded the source code from the OSQA site and read the installation instructions (it requires django 1.1.1), but I can't make it work. 回答1: Download http://svn.osqa.net/svnroot/osqa/trunk to a folder

Installing OSQA on windows (local system)

a 夏天 提交于 2019-12-02 16:24:59
I want to install OSQA on a local Windows system. I've downloaded bitnami-djangostack-1.1.1-2-windows-installer.exe, which has django, python, mysql and apache built in. I've run a django example given on the django website and it's working fine. But I'm confused how to install OSAQ. I've downloaded the source code from the OSQA site and read the installation instructions (it requires django 1.1.1), but I can't make it work. YOU Download http://svn.osqa.net/svnroot/osqa/trunk to a folder {OSQA_ROOT} eg, c:\osqa Rename {OSQA_ROOT}\settings_local.py.dist to {OSQA_ROOT}\settings_local.py set