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-coin, version 0.1.39
Filename, size & hash File type Python version Upload date
bee-django-coin-0.1.39.tar.gz (466.2 kB) View hashes 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