Git Product home page Git Product logo

django-koica's Introduction

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 <head>
      {% block title %}{% endblock %} in <head><title>
      <div class="container">{% block content %}{% endblock %}</div> in <body>
    

Note: this application is compatible with 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

django-koica's People

Contributors

synw avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.