Add “message” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'bee_django_message.apps.BeeDjangoMessageConfig', )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' # 用户表的姓名字段名
Run python manage.py makemigrations,`python manage.py migrate` to create the crm models.
Start the development server and visit http://127.0.0.1:8000/admin/ to create a message (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/message/ to participate in the message.
Metadata
Release files for bee-django-report 0.0.41
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bee-django-report-0.0.41.tar.gz | 1.5 MB | Details |
Release files / bee-django-report-0.0.41.tar.gz
| Download URL | bee-django-report-0.0.41.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7684fc02269905b39bd90dd809974c37309b0d6b6f8772c7a06d7f216cb84f1e
|
|
BLAKE2b-256 checksum How to use checksums |
7cea947894818586a87d7921f2aff7c2562bceea0e77695cea3157c6816d6d57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|