Add “crm” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'crm.apps.CrmConfig', )Include the crm URLconf in your project urls.py like this:
from django.conf.urls import include, url ... url(r'^crm/', include('crm.urls', namespace='crm')),
3.settings.py like this:
USER_TABLE="" #用户表,如果用django自带,为空或None。如果自定义,则为app_label.ModelName
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 cc (you’ll need the Admin app enabled).
Visit http://127.0.0.1:8000/cc/ to participate in the cc.
Metadata
Release files for bee-django-exam 0.1.24
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-exam-0.1.24.tar.gz | 430.7 kB | Details |
Release files / bee-django-exam-0.1.24.tar.gz
| Download URL | bee-django-exam-0.1.24.tar.gz |
|---|---|
| Size | 430.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4976f4afe05c7d1343d8bcff1ccfc55e914aaf20220592930c69267f974d805
|
|
BLAKE2b-256 checksum How to use checksums |
4793bb204de17f06e7c503073ad47780f7f356af9c78d243be461315165976b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|