2022-02-12 21:21:03 +00:00
|
|
|
# Django CoreProtect
|
|
|
|
|
|
|
|
## Settings
|
|
|
|
|
|
|
|
```python
|
|
|
|
INSTALLED_APPS = [
|
|
|
|
'django_coreprotect',
|
|
|
|
]
|
|
|
|
|
|
|
|
DATABASE_ROUTERS = [
|
|
|
|
'django_coreprotect.router.CoreProtectRouter'
|
|
|
|
]
|
|
|
|
DATABASES = {
|
|
|
|
'django_coreprotect': {
|
|
|
|
'ENGINE': 'django.db.backends.mysql',
|
|
|
|
'NAME': '...',
|
|
|
|
'USER': '...',
|
|
|
|
'PASSWORD': '...',
|
|
|
|
'HOST': '127.0.0.1',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
[MIT](LICENSE)
|