Skip to main content

A simple Django app to collect and display movie's short comments from

Project description

douban is a django app to collect movie's short comments in

Quick start

1. Add "douban" to your INSTALLED_APPS setting like this::


2. Set database configuration in your INSTALLED_APPS setting like this::

'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': '', # database name
'USER': '', # username
'PASSWORD': '', # password
'HOST': '',
'PORT': '3306', # default listen port
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
# the default charset used by django to connect db is 'utf-8'
# change to 'utf8mb4' is recommended, otherwise some data like emoji faces cannot save
'charset': 'utf8mb4',

3. Include the polls URLconf in your project like this::

from django.urls import include
from django.conf.urls import url

url(r'^douban/', include('douban.urls'))

4. Run `python3 makemigrations douban` and `python3 migrate` to create the douban models.

5. Visit to participate it.

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_scrapy_douban-1.1.2-py3-none-any.whl (27.4 kB) Copy SHA256 hash SHA256 Wheel py3
django-scrapy-douban-1.1.2.tar.gz (20.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page