Skip to main content

A simple Django app to conduct Web-based referral.

Project description

=====
message
=====

Quick start
-----------

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' # 用户表的姓名字段名

3. Run `python manage.py makemigrations`,`python manage.py migrate` to create the crm models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
to create a message (you'll need the Admin app enabled).

5. 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.

Source Distribution

bee-django-referral-0.1.18.tar.gz (428.2 kB view details)

Uploaded Source

File details

Details for the file bee-django-referral-0.1.18.tar.gz.

File metadata

File hashes

Hashes for bee-django-referral-0.1.18.tar.gz
Algorithm Hash digest
SHA256 83eb95ae7c4d790774ec091e7b30eaf11f0670b4416c1b8152a28169e37555af
MD5 a992fb6bd74b5f9ac7e0a105ac9666c4
BLAKE2b-256 26b6098683087d76499e5a3a206a729544361f9de9c69e1943977198b36b784a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page