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.

Files for django-scrapy-douban, version 1.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django_scrapy_douban-1.1.2-py3-none-any.whl (27.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-scrapy-douban-1.1.2.tar.gz (20.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page