Skip to main content

A simple Django app to conduct Web-based message.

Project description

  1. Add “message” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'bee_django_message.apps.BeeDjangoMessageConfig',
    )
    
  2. Include the crm URLconf in your project urls.py like this:

    from django.conf.urls import include, url
    ...
    url(r'^message/', include('bee_django_message.urls', namespace='bee_django_message')),
    

3.settings.py like this:

MESSAGE_USER_TABLE = None  # 用户表
MESSAGE_USER_NAME_FIELD = 'first_name'  # 用户表的姓名字段名
  1. Run python manage.py makemigrations,`python manage.py migrate` to create the crm models.
  2. Start the development server and visit http://127.0.0.1:8000/admin/ to create a message (you’ll need the Admin app enabled).
  3. Visit http://127.0.0.1:8000/message/ to participate in the message.

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 bee-django-report, version 0.0.41
Filename, size File type Python version Upload date Hashes
Filename, size bee-django-report-0.0.41.tar.gz (1.5 MB) 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 Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page