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.
Release files for bee-django-track 0.0.10
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-track-0.0.10.tar.gz | 419.9 kB | Details |
Release files / bee-django-track-0.0.10.tar.gz
| Download URL | bee-django-track-0.0.10.tar.gz |
|---|---|
| Size | 419.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56dcfa192e1666ce535a3e3d33beccc667866fae08206768cdede0e7a97054c1
|
|
BLAKE2b-256 checksum How to use checksums |
f857416903822eb504a53386435dfa62b8c2ce5cc8a4f2835cd26146d0988733
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|