before change Ticket Desc to TextArea

This commit is contained in:
mohammad javad fesahat committed 2024-07-25 09:06:30 +03:30
1 parent f7dbd02a6c
commit ef18434b86
55 files changed
+1026 -59

No files matched your search

+1 -1
View File
@@ -11,6 +11,6 @@ import os
from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'crmApi.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
application = get_asgi_application()
+14 -2
View File
@@ -19,8 +19,6 @@ BASE_DIR = Path(__file__).resolve().parent.parent
MEDIA_URL = '/media/'
MEDIA_ROOT = BASE_DIR.parent /'media'
print(MEDIA_ROOT)
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
@@ -33,8 +31,22 @@ DEBUG = True
ALLOWED_HOSTS = ['*']
CORS_ALLOWED_ORIGINS = [
"http://192.168.138.94:3000",
"http://192.168.138.94:3001",
"http://localhost:3001",
"http://localhost:3002",
"http://localhost:3000",
"https://loolegostar.liara.run",
"https://loolegostar-crm.liara.run",
]
CORS_ALLOW_METHODS = [
"DELETE",
"GET",
"OPTIONS",
"PATCH",
"POST",
"PUT",
]
AUTH_USER_MODEL = 'cuser.CUser'
+11
View File
@@ -1 +1,12 @@
from .base import *
DEBUG = False
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'crm-api',
'USER': 'root',
'PASSWORD': '1yI0Iw2Fpjm2BXhEnwUKVdDg',
'HOST': 'loolegostar-db',
'PORT': '5432'
}
}
+1
View File
@@ -23,6 +23,7 @@ urlpatterns = [
path('admin/', admin.site.urls),
path('auth/', include('apps.jwt_auth.urls')),
path('cuser/', include('apps.cuser.urls')),
path('report/', include('apps.report.urls')),
path('customer/', include('apps.customer.urls')),
path('shop/', include('apps.shop.urls')),
path('ticket/', include('apps.ticket.urls')),
+1 -1
View File
@@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'crmApi.settings')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings')
application = get_wsgi_application()