An open API service indexing awesome lists of open source software.

https://github.com/synw/django-koica

Simple Q&A application for Django 1.8 - UNMAINTAINED
https://github.com/synw/django-koica

Last synced: 2 months ago
JSON representation

Simple Q&A application for Django 1.8 - UNMAINTAINED

Awesome Lists containing this project

README

        

Django Koica
==============

Simple Q&A application with bootstrap templates [ warning: this app is only available for french language at the time]

Dependencies
--------------

- django 1.8
- django-pygments
- jquery
- jquery ui
- bootstrap

Install
--------------

- Clone the repository
- Get the dependencies
- Add 'koica', and 'django_pygments', to INSTALLED_APPS
- Add this to urls.py:

from django.conf import settings

koica_base_url = getattr(settings, 'KOICA_BASE_URL_SLUG', 'questions')

urlpatterns = patterns('',
#...
url(r'^'+koica_base_url+'/', include('koica.urls')),
)

- Collect static files
- Run migrations
- In your base template ("base.html") these blocks are required:

{% block extra_header %}{% endblock %} in
{% block title %}{% endblock %} in

{% block content %}{% endblock %}
in

Note: this application is compatible with [django-xadmin](https://github.com/sshwsfc/django-xadmin)

Settings
--------------

To choose an url for your app add this setting (if not set default is '/questions/'):

KOICA_BASE_URL_SLUG = 'forum'

Todo
--------------

- [ ] Translate in english (not internationalized yet)
- [ ] Options to embed js and css dependencies
- [ ] Option to use Pygments or not
- [ ] Tests
- [ ] Make a release and package it in pip