Skip to main content

Django commenting and object rating module with buildin google translation

Project description

Multi-Language-Commenting

A commenting system for a multi language purpose. It takes use of the Google Services to detect and translate comments.

Quickstart

Install with

pip install django-mlcommeting

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    'django_mlcommenting',
)

Add Multi-Language-Commenting 's URL patterns:

.. code-block:: python

from django_mlcommenting import urls as django_mlcommenting_urls
from django.conf.urls import url, include


urlpatterns = [
    url(r'^', include(django_mlcommenting_urls)),
]

Requirements

    {% load staticfiles %}

    <!-- main css -->
    <link rel="stylesheet" type="text/css" href="
        {% static 'django_mlcommenting/css/django_mlcommenting.css' %}
    ">

    <!-- Material Icons -->
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
    rel="stylesheet">

    <!-- JQuery -->
    <script src="https://code.jquery.com/jquery-3.3.1.min.js"
    integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
    crossorigin="anonymous"></script>

    <!-- Body bottom -->
    <script src="{% static 'django_mlcommenting/js/django_mlcommenting.js' %}"></script>

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate

License

MIT

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-mlcommenting, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_mlcommenting-0.1.1-py3-none-any.whl (9.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-mlcommenting-0.1.1.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page