mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-14 17:45:46 +00:00
notification app, api for device registration and fcm token
This commit is contained in:
@ -54,6 +54,7 @@ INSTALLED_APPS = [
|
||||
'corsheaders',
|
||||
'django.contrib.postgres',
|
||||
'rest_framework',
|
||||
'fcm_django',
|
||||
# Add your custom apps here.
|
||||
'django_ses',
|
||||
'account',
|
||||
@ -208,6 +209,18 @@ CORS_ALLOW_HEADERS = (
|
||||
'x-requested-with',
|
||||
)
|
||||
|
||||
CORS_EXPOSE_HEADERS = (
|
||||
'Access-Control-Allow-Origin: *',
|
||||
)
|
||||
|
||||
# fcm django settings
|
||||
FCM_DJANGO_SETTINGS = {
|
||||
"APP_VERBOSE_NAME": "ZOD_Bank",
|
||||
"ONE_DEVICE_PER_USER": False,
|
||||
"DELETE_INACTIVE_DEVICES": True,
|
||||
"UPDATE_ON_DUPLICATE_REG_ID": True,
|
||||
}
|
||||
|
||||
"""Static files (CSS, JavaScript, Images)
|
||||
https://docs.djangoproject.com/en/3.0/howto/static-files/"""
|
||||
|
||||
|
Reference in New Issue
Block a user