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


Download files

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

Source Distribution

django-mlcommenting-0.1.1.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

django_mlcommenting-0.1.1-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page